code: func (c *Callbacks) OnCDemoConsoleCmd(fn func(*dota.CDemoConsoleCmd) error) {
  	c.onCDemoConsoleCmd = append(c.onCDemoConsoleCmd, fn)
  }
docs: // OnCDemoConsoleCmd registers a callback EDemoCommands_DEM_ConsoleCmd