Pol  Revision:4b29d2b
objmembers.h
Go to the documentation of this file.
1 
30 #ifndef OBJMEMBERS_H
31 #define OBJMEMBERS_H
32 namespace Pol
33 {
34 namespace Bscript
35 {
37 {
38  MBR_X, // uobject //0
39  MBR_Y, // 1
48  MBR_DIRTY, // 10
51  MBR_AMOUNT, // item
58  MBR_MOVABLE, // 20
63  MBR_NEWBIE, // 25
65  MBR_WARMODE, // character
78  MBR_AR, // 40
83  MBR_ACCT, // 45
88  MBR_GOLD, // 50
93  MBR_GUILDID, // 55
99  MBR_SCRIPT, // npc
108  MBR_LOCKED, // lockable //70
109  MBR_CORPSETYPE, // corpse
110  MBR_TILLERMAN, // boat
113  MBR_HOLD, // 75
115  MBR_COMPONENTS, // house
116  MBR_ITEMS, // multi
118  MBR_XEAST, // map //80
124  MBR_ISOPEN, // door
125  MBR_QUALITY, // equipment
128  MBR_MAXHP, // 90
129  MBR_DMG_MOD, // weapon
133  MBR_AR_BASE, // 95
135  MBR_ENABLED, // account
138  MBR_MEMBERS, // guild/party //100
141  MBR_PID, // script
153  MBR_GLOBALS, // 115
158  MBR_OPPONENT, // 120
173  MBR_MOVEMODE, // 135
193  MBR_TITHING, // 155
223  MBR_EDITING, // 185
227  // New boat stuff start
229  MBR_WHEEL, // 190
234  MBR_STORAGE, // 195
236  // New boat stuff end
240  MBR_FACETID, // 200
255  MBR_HOUSE, // 215
260  MBR_PORT, // 220
261 };
262 
263 
264 typedef struct
265 {
267  char code[30];
268  bool read_only;
269 } ObjMember;
270 
271 extern ObjMember object_members[];
272 extern int n_objmembers;
273 
274 ObjMember* getKnownObjMember( const char* token );
275 ObjMember* getObjMember( int id );
276 }
277 }
278 #endif
ObjMember * getKnownObjMember(const char *token)
Definition: parser.cpp:483
int n_objmembers
Definition: parser.cpp:482
ObjMember * getObjMember(int id)
Definition: parser.cpp:501
Definition: berror.cpp:12
ObjMember object_members[]
Definition: parser.cpp:256