OpenTTD Source  20240919-master-gdf0233f4c2
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: