![]() |
Crossfire Server, Trunk
1.75.0
|
Represents one command. More...
Collaboration diagram for registered_command:Data Fields | |
| char * | extra |
| Extra argument, if not NULL then func_extra is used, else func_std. More... | |
| command_function_extra | func_extra |
| Command function if extra argument. More... | |
| command_function | func_std |
| Command function. More... | |
| command_registration | registration |
| Identifier for unregistration. More... | |
| float | time |
| How long it takes to execute this command. More... | |
| uint8_t | type |
| Command type, one of COMMAND_TYPE_xxx. More... | |
Represents one command.
Definition at line 32 of file commands.cpp.
| char* registered_command::extra |
Extra argument, if not NULL then func_extra is used, else func_std.
Definition at line 36 of file commands.cpp.
Referenced by command_execute(), and do_register().
| command_function_extra registered_command::func_extra |
Command function if extra argument.
Definition at line 35 of file commands.cpp.
Referenced by command_execute(), and do_register().
| command_function registered_command::func_std |
Command function.
Definition at line 34 of file commands.cpp.
Referenced by command_execute(), and do_register().
| command_registration registered_command::registration |
Identifier for unregistration.
Definition at line 33 of file commands.cpp.
Referenced by do_register().
| float registered_command::time |
How long it takes to execute this command.
Definition at line 37 of file commands.cpp.
Referenced by command_execute(), and do_register().
| uint8_t registered_command::type |
Command type, one of COMMAND_TYPE_xxx.
Definition at line 38 of file commands.cpp.
Referenced by do_register().