OpenTTD Source  20241108-master-g80f628063a
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 35 of file console_internal.h.


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