Pol  Revision:cb584c9
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
183 };
184 
185 
186 typedef struct
187 {
189  char code[30];
191 } ObjMethod;
192 
193 extern ObjMethod object_methods[];
194 extern int n_objmethods;
195 
196 ObjMethod* getKnownObjMethod( const char* token );
197 ObjMethod* getObjMethod( int id );
198 }
199 }
200 #endif
ObjMethod * getKnownObjMethod(const char *token)
Definition: parser.cpp:666
ObjMethod * getObjMethod(int id)
Definition: parser.cpp:685
int n_objmethods
Definition: parser.cpp:665
Definition: berror.cpp:12
ObjMethod object_methods[]
Definition: parser.cpp:509