|
OpenTTD Source 20251116-master-g21329071df
|
Define a command with the flags which belongs to it. More...
Data Fields | |
| std::string_view | 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 connects a command handler function with the flags created with the CommandFlag::Auto, CommandFlag::Offline and CommandFlag::Server values.
Definition at line 76 of file command.cpp.
| CommandFlags CommandInfo::flags |
The (command) flags to that apply to this command.
Definition at line 78 of file command.cpp.
| std::string_view CommandInfo::name |
A human readable name for the procedure.
Definition at line 77 of file command.cpp.
| CommandType CommandInfo::type |
The type of command.
Definition at line 79 of file command.cpp.