OpenTTD
|
Define a command with the flags which belongs to it. More...
#include <command_type.h>
Data Fields | |
CommandProc * | proc |
The procedure to actually executing. | |
const char * | name |
A human readable name for the procedure. | |
CommandFlags | flags |
The (command) flags to that apply to this command. | |
CommandType | type |
The type of command. |
Define a command with the flags which belongs to it.
This struct connect a command handler function with the flags created with the CMD_AUTO, CMD_OFFLINE and CMD_SERVER values.
Definition at line 447 of file command_type.h.