Crossfire Server, Trunk
commands.h
Go to the documentation of this file.
1 
6 #ifndef COMMANDS_H
7 #define COMMANDS_H
8 
17 typedef void (*command_function)(object *op, const char *params);
18 
29 typedef void (*command_function_extra)(object *op, const char *params, const char *extra);
30 
32 typedef uint64_t command_registration;
33 
35 #define COMMAND_TYPE_NORMAL 0
36 
37 #define COMMAND_TYPE_COMMUNICATION 1
38 
39 #define COMMAND_TYPE_WIZARD 2
40 
42 extern int cmd_shutdown_time;
43 
44 #endif /* COMMANDS_H */
manor.params
params
Definition: manor.py:295
give.op
op
Definition: give.py:33
command_function_extra
void(* command_function_extra)(object *op, const char *params, const char *extra)
Definition: commands.h:29
command_registration
uint64_t command_registration
Definition: commands.h:32
command_function
void(* command_function)(object *op, const char *params)
Definition: commands.h:17
cmd_shutdown_time
int cmd_shutdown_time
Definition: c_wiz.c:43