Pol  Revision:4b29d2b
objmethods.h File Reference

Go to the source code of this file.

Classes

struct  Pol::Bscript::ObjMethod
 

Namespaces

 Pol
 
 Pol::Bscript
 

Enumerations

enum  Pol::Bscript::MethodID {
  Pol::Bscript::MTH_ISA, Pol::Bscript::MTH_SET_MEMBER, Pol::Bscript::MTH_GET_MEMBER, Pol::Bscript::MTH_SETPOISONED,
  Pol::Bscript::MTH_SETPARALYZED, Pol::Bscript::MTH_SETCRIMINAL, Pol::Bscript::MTH_SETLIGHTLEVEL, Pol::Bscript::MTH_SQUELCH,
  Pol::Bscript::MTH_ENABLE, Pol::Bscript::MTH_DISABLE, Pol::Bscript::MTH_ENABLED, Pol::Bscript::MTH_SETCMDLEVEL,
  Pol::Bscript::MTH_SPENDGOLD, Pol::Bscript::MTH_SETMURDERER, Pol::Bscript::MTH_REMOVEREPORTABLE, Pol::Bscript::MTH_GETGOTTENITEM,
  Pol::Bscript::MTH_CLEARGOTTENITEM, Pol::Bscript::MTH_SETWARMODE, Pol::Bscript::MTH_SETMASTER, Pol::Bscript::MTH_MOVE_OFFLINE_MOBILES,
  Pol::Bscript::MTH_SETCUSTOM, Pol::Bscript::MTH_GETPINS, Pol::Bscript::MTH_INSERTPIN, Pol::Bscript::MTH_APPENDPIN,
  Pol::Bscript::MTH_ERASEPIN, Pol::Bscript::MTH_OPEN, Pol::Bscript::MTH_CLOSE, Pol::Bscript::MTH_TOGGLE,
  Pol::Bscript::MTH_BAN, Pol::Bscript::MTH_UNBAN, Pol::Bscript::MTH_SETPASSWORD, Pol::Bscript::MTH_CHECKPASSWORD,
  Pol::Bscript::MTH_SETNAME, Pol::Bscript::MTH_GETCHARACTER, Pol::Bscript::MTH_DELETECHARACTER, Pol::Bscript::MTH_GETPROP,
  Pol::Bscript::MTH_SETPROP, Pol::Bscript::MTH_ERASEPROP, Pol::Bscript::MTH_PROPNAMES, Pol::Bscript::MTH_ISMEMBER,
  Pol::Bscript::MTH_ISALLYGUILD, Pol::Bscript::MTH_ISENEMYGUILD, Pol::Bscript::MTH_ADDMEMBER, Pol::Bscript::MTH_ADDALLYGUILD,
  Pol::Bscript::MTH_ADDENEMYGUILD, Pol::Bscript::MTH_REMOVEMEMBER, Pol::Bscript::MTH_REMOVEALLYGUILD, Pol::Bscript::MTH_REMOVEENEMYGUILD,
  Pol::Bscript::MTH_SIZE, Pol::Bscript::MTH_ERASE, Pol::Bscript::MTH_INSERT, Pol::Bscript::MTH_SHRINK,
  Pol::Bscript::MTH_APPEND, Pol::Bscript::MTH_REVERSE, Pol::Bscript::MTH_SORT, Pol::Bscript::MTH_EXISTS,
  Pol::Bscript::MTH_KEYS, Pol::Bscript::MTH_SENDPACKET, Pol::Bscript::MTH_SENDAREAPACKET, Pol::Bscript::MTH_GETINT8,
  Pol::Bscript::MTH_GETINT16, Pol::Bscript::MTH_GETINT32, Pol::Bscript::MTH_SETINT8, Pol::Bscript::MTH_SETINT16,
  Pol::Bscript::MTH_SETINT32, Pol::Bscript::MTH_GETSTRING, Pol::Bscript::MTH_GETUNICODESTRING, Pol::Bscript::MTH_SETSTRING,
  Pol::Bscript::MTH_SETUNICODESTRING, Pol::Bscript::MTH_GETSIZE, Pol::Bscript::MTH_SETSIZE, Pol::Bscript::MTH_CREATEELEMENT,
  Pol::Bscript::MTH_FINDELEMENT, Pol::Bscript::MTH_DELETEELEMENT, Pol::Bscript::MTH_SENDEVENT, Pol::Bscript::MTH_KILL,
  Pol::Bscript::MTH_LOADSYMBOLS, Pol::Bscript::MTH_SET_UO_EXPANSION, Pol::Bscript::MTH_CLEAR_EVENT_QUEUE, Pol::Bscript::MTH_ADD_COMPONENT,
  Pol::Bscript::MTH_ERASE_COMPONENT, Pol::Bscript::MTH_DELETE, Pol::Bscript::MTH_SPLIT, Pol::Bscript::MTH_MOVE_CHAR,
  Pol::Bscript::MTH_GETINT16FLIPPED, Pol::Bscript::MTH_GETINT32FLIPPED, Pol::Bscript::MTH_SETINT16FLIPPED, Pol::Bscript::MTH_SETINT32FLIPPED,
  Pol::Bscript::MTH_GETCORPSE, Pol::Bscript::MTH_SETDEFAULTCMDLEVEL, Pol::Bscript::MTH_PRIVILEGES, Pol::Bscript::MTH_GETUNICODESTRINGFLIPPED,
  Pol::Bscript::MTH_SETUNICODESTRINGFLIPPED, Pol::Bscript::MTH_ADD_CHARACTER, Pol::Bscript::MTH_SET_SWINGTIMER, Pol::Bscript::MTH_ATTACK_ONCE,
  Pol::Bscript::MTH_SETFACING, Pol::Bscript::MTH_COMPAREVERSION, Pol::Bscript::MTH_SETLEADER, Pol::Bscript::MTH_ADDCANDIDATE,
  Pol::Bscript::MTH_REMOVECANDIDATE, Pol::Bscript::MTH_RANDOMENTRY, Pol::Bscript::MTH_SEEK, Pol::Bscript::MTH_PEEK,
  Pol::Bscript::MTH_TELL, Pol::Bscript::MTH_FLUSH, Pol::Bscript::MTH_GETSINT8, Pol::Bscript::MTH_GETSINT16,
  Pol::Bscript::MTH_GETSINT32, Pol::Bscript::MTH_SETSINT8, Pol::Bscript::MTH_SETSINT16, Pol::Bscript::MTH_SETSINT32,
  Pol::Bscript::MTH_SETAGGRESSORTO, Pol::Bscript::MTH_SETLAWFULLYDAMAGEDTO, Pol::Bscript::MTH_CLEARAGGRESSORTO, Pol::Bscript::MTH_CLEARLAWFULLYDAMAGEDTO,
  Pol::Bscript::MTH_HASSPELL, Pol::Bscript::MTH_SPELLS, Pol::Bscript::MTH_REMOVESPELL, Pol::Bscript::MTH_ADDSPELL,
  Pol::Bscript::MTH_DEAF, Pol::Bscript::MTH_SETSEASON, Pol::Bscript::MTH_NEXTSIBLING, Pol::Bscript::MTH_FIRSTCHILD,
  Pol::Bscript::MTH_SAVEXML, Pol::Bscript::MTH_APPENDNODE, Pol::Bscript::MTH_SETDECLARATION, Pol::Bscript::MTH_SETATTRIBUTE,
  Pol::Bscript::MTH_REMOVEATTRIBUTE, Pol::Bscript::MTH_REMOVENODE, Pol::Bscript::MTH_APPENDTEXT, Pol::Bscript::MTH_XMLTOSTRING,
  Pol::Bscript::MTH_APPENDXMLCOMMENT, Pol::Bscript::MTH_ADD_HOUSE_PART, Pol::Bscript::MTH_ERASE_HOUSE_PART, Pol::Bscript::MTH_ACCEPT_COMMIT,
  Pol::Bscript::MTH_SPLITSTACK_AT, Pol::Bscript::MTH_SPLITSTACK_INTO, Pol::Bscript::MTH_CANCEL_EDITING, Pol::Bscript::MTH_CLONENODE,
  Pol::Bscript::MTH_HAS_EXISTING_STACK, Pol::Bscript::MTH_LENGTH, Pol::Bscript::MTH_JOIN, Pol::Bscript::MTH_FIND,
  Pol::Bscript::MTH_UPPER, Pol::Bscript::MTH_LOWER, Pol::Bscript::MTH_FORMAT, Pol::Bscript::MTH_DISABLE_SKILLS_FOR,
  Pol::Bscript::MTH_CYCLE, Pol::Bscript::MTH_ADD_BUFF, Pol::Bscript::MTH_DEL_BUFF, Pol::Bscript::MTH_CLEAR_BUFFS,
  Pol::Bscript::MTH_CALL
}
 

Functions

ObjMethod * Pol::Bscript::getKnownObjMethod (const char *token)
 
ObjMethod * Pol::Bscript::getObjMethod (int id)
 

Variables

int Pol::Bscript::n_objmethods = sizeof object_methods / sizeof object_methods[0]
 
ObjMethod Pol::Bscript::object_methods []
 

Detailed Description

History
  • 2005/05/24 Shinigami: added ObjMethod account.delete() to delete this account
  • 2005/05/25 Shinigami: added ObjMethod account.split( newacctname : string, index : 1..5 ) to create a new account and move character to it
  • 2005/05/25 Shinigami: added ObjMethod account.move_char( destacctname : string, index : 1..5 ) to move character from this account to destaccount
  • 2005/09/12 Shinigami: added ObjMethods packet.GetIntxxFlipped and packet.SetIntxxFlipped (Byte Order)
  • 2006/09/16 Shinigami: added ObjMethods packet.GetUnicodeStringFlipped and packet.SetUnicodeStringFlipped (Byte Order)
  • 2009/08/06 MuadDib: Added GetGottenBy to find who is holding the item. Returning char ref of course.
  • 2009/10/09 Turley: Added spellbook.spells() & .hasspell() methods
  • 2009/10/10 Turley: Added spellbook.addspell() & .removespell() methods
  • 2009/10/14 Turley: Added char.deaf() methods & char.deafened member

Definition in file objmethods.h.