blob: 1a41b56f42ddb480b61cb982e19bfa15c60dbd60 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001// 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
28mixed modify_command(string str);
29int command_me(string cmd);
30varargs string _unparsed_args(int level);
31
32// Set- und Query-Methoden
33static mixed _set_p_lib_disablecommands(mixed data);
34static mixed _query_p_lib_disablecommands();
35
36#endif // __PLAYER_ATTRIBUTES_H_PROTO__
37
38#endif // NEED_PROTOYPES
39