Pol  Revision:3cfda13
objmethods.h
Go to the documentation of this file.
1 
21 #ifndef OBJMETHODS_H
22 #define OBJMETHODS_H
23 namespace Pol
24 {
25 namespace Bscript
26 {
28 {
29  MTH_ISA, // uobject //0
32  MTH_SETPOISONED, // character
39  MTH_ENABLED, // 10
47  MTH_SETMASTER, // npc
49  MTH_SETCUSTOM, // house //20
50  MTH_GETPINS, // map
54  MTH_OPEN, // door //25
57  MTH_BAN, // account
64  MTH_GETPROP, // 35
68  MTH_ISMEMBER, // guild
77  MTH_SIZE, // ARRAY
79  MTH_INSERT, // 50
84  MTH_EXISTS, // 55
86  MTH_SENDPACKET, // packet
89  MTH_GETINT16, // 60
99  MTH_SETSIZE, // 70
100  MTH_CREATEELEMENT, // datastore
103  MTH_SENDEVENT, // script
104  MTH_KILL, // 75
134  MTH_FLUSH, // 105
149  MTH_DEAF, // 120
174  MTH_LOWER, // 145
179  MTH_DEL_BUFF, // 150
182 };
183 
184 
185 typedef struct
186 {
188  char code[30];
190 } ObjMethod;
191 
192 extern ObjMethod object_methods[];
193 extern int n_objmethods;
194 
195 ObjMethod* getKnownObjMethod( const char* token );
196 ObjMethod* getObjMethod( int id );
197 }
198 }
199 #endif
ObjMethod * getKnownObjMethod(const char *token)
Definition: parser.cpp:665
ObjMethod * getObjMethod(int id)
Definition: parser.cpp:684
int n_objmethods
Definition: parser.cpp:664
Definition: berror.cpp:12
ObjMethod object_methods[]
Definition: parser.cpp:509