diff options
author | maximius <none@none> | 2009-09-23 20:19:21 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-23 20:19:21 -0700 |
commit | 906b00465ad7c41a018a6c6ea3f37b6c466d38cd (patch) | |
tree | df4aa409d11e89d85fa8d8c3e9a0c424df29f612 /src/game/WorldSession.h | |
parent | 8102372a67098e1af65888b0b411eb3b47814bf0 (diff) |
*add 11 new event hooks to the OnEvents system, by Hawthorne
--HG--
branch : trunk
Diffstat (limited to 'src/game/WorldSession.h')
-rw-r--r-- | src/game/WorldSession.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/WorldSession.h b/src/game/WorldSession.h index 0da58f55445..35426d004d0 100644 --- a/src/game/WorldSession.h +++ b/src/game/WorldSession.h @@ -736,6 +736,15 @@ class TRINITY_DLL_SPEC WorldSession void HandleEquipmentSetSave(WorldPacket& recv_data); void HandleEquipmentSetDelete(WorldPacket& recv_data); void HandleEquipmentSetUse(WorldPacket& recv_data); + void HandleOnPVPKill(Player *killed); + bool HandleOnPlayerChat(const char *text); + uint32 HandleOnGetXP(uint32 amount); + int32 HandleOnGetMoney(int32 amount); + void HandleOnAreaChange(AreaTableEntry const *pArea); + bool HandleOnItemClick(Item *pItem); + bool HandleOnItemOpen(Item *pItem); + bool HandleOnGoClick(GameObject *pGameObject); + void HandleOnCreatureKill(Creature *pCreature); private: // private trade methods void moveItems(Item* myItems[], Item* hisItems[]); |