MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | // MorgenGrauen MUDlib |
| 2 | // |
| 3 | // player/command.h - Commands & Co |
| 4 | // |
| 5 | // $Id: attributes.h 6282 2007-05-09 20:55:17Z Zesstra $ |
| 6 | |
| 7 | #ifndef __PLAYER_COMMAND_H__ |
| 8 | #define __PLAYER_COMMAND_H__ |
| 9 | |
| 10 | // properties |
| 11 | #define P_DISABLE_COMMANDS "p_lib_disablecommands" |
| 12 | |
| 13 | // Indizes fuers Array von commandblock |
| 14 | #define B_OBJECT 0 |
| 15 | #define B_TIME 1 |
| 16 | #define B_VALUE 2 |
| 17 | #define B_EXCEPTIONS 3 |
| 18 | |
| 19 | #endif // __PLAYER_COMMAND_H__ |
| 20 | |
| 21 | |
| 22 | #ifdef NEED_PROTOTYPES |
| 23 | |
| 24 | #ifndef __PLAYER_COMMAND_H_PROTO__ |
| 25 | #define __PLAYER_COMMAND_H_PROTO__ |
| 26 | |
| 27 | // prototypes |
| 28 | mixed modify_command(string str); |
| 29 | int command_me(string cmd); |
| 30 | varargs string _unparsed_args(int level); |
| 31 | |
| 32 | // Set- und Query-Methoden |
| 33 | static mixed _set_p_lib_disablecommands(mixed data); |
| 34 | static mixed _query_p_lib_disablecommands(); |
| 35 | |
| 36 | #endif // __PLAYER_ATTRIBUTES_H_PROTO__ |
| 37 | |
| 38 | #endif // NEED_PROTOYPES |
| 39 | |