Crossfire Server, Trunk
|
Data Fields | |
char * | extra |
command_function_extra | func_extra |
command_function | func_std |
command_registration | registration |
float | time |
uint8_t | type |
Represents one command.
Definition at line 33 of file commands.cpp.
char* registered_command::extra |
Extra argument, if not NULL then func_extra is used, else func_std.
Definition at line 37 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 36 of file commands.cpp.
Referenced by command_execute(), and do_register().
command_function registered_command::func_std |
Command function.
Definition at line 35 of file commands.cpp.
Referenced by command_execute(), and do_register().
command_registration registered_command::registration |
Identifier for unregistration.
Definition at line 34 of file commands.cpp.
Referenced by do_register().
float registered_command::time |
How long it takes to execute this command.
Definition at line 38 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 39 of file commands.cpp.
Referenced by do_register().