OpenTTD Source  12.0-beta2
IConsoleCmd Struct Reference

Public Member Functions

 IConsoleCmd (const std::string &name, IConsoleCmdProc *proc, IConsoleHook *hook)
 

Data Fields

std::string name
 name of command
 
IConsoleCmdProcproc
 process executed when command is typed
 
IConsoleHook * hook
 any special trigger action that needs executing
 

Detailed Description

Definition at line 36 of file console_internal.h.


The documentation for this struct was generated from the following file: