Add GAMEOBJECT_EVENT_ON_USE.

This commit is contained in:
Patman64
2015-01-15 00:08:48 -05:00
parent 54c82280cd
commit 5492a68e7b
3 changed files with 13 additions and 0 deletions

View File

@@ -339,6 +339,7 @@ public:
/* GameObject */
bool OnDummyEffect(Unit* pCaster, uint32 spellId, SpellEffIndex effIndex, GameObject* pTarget);
bool OnGameObjectUse(Player* pPlayer, GameObject* pGameObject);
bool OnGossipHello(Player* pPlayer, GameObject* pGameObject);
bool OnGossipSelect(Player* pPlayer, GameObject* pGameObject, uint32 sender, uint32 action);
bool OnGossipSelectCode(Player* pPlayer, GameObject* pGameObject, uint32 sender, uint32 action, const char* code);