diff options
author | raczman <none@none> | 2009-03-30 16:57:17 +0200 |
---|---|---|
committer | raczman <none@none> | 2009-03-30 16:57:17 +0200 |
commit | 3f985645dbb8136986eeaf4c8cac6ba87c6e4b82 (patch) | |
tree | 84f7bde584f7473e573b93638423501f441152de /src/game/ScriptCalls.h | |
parent | 9d02feed4f2cdd41c5ec300e6582af8abe3b5fcd (diff) |
Added GO gossip menu support. Kudos and cookies to arrai.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ScriptCalls.h')
-rw-r--r-- | src/game/ScriptCalls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/ScriptCalls.h b/src/game/ScriptCalls.h index b66f23563de..83a6572e0e1 100644 --- a/src/game/ScriptCalls.h +++ b/src/game/ScriptCalls.h @@ -45,6 +45,8 @@ typedef bool(TRINITY_IMPORT * scriptCallGossipHello) (Player *player, Creature * typedef bool(TRINITY_IMPORT * scriptCallQuestAccept) (Player *player, Creature *_Creature, Quest const *); typedef bool(TRINITY_IMPORT * scriptCallGossipSelect)(Player *player, Creature *_Creature, uint32 sender, uint32 action); typedef bool(TRINITY_IMPORT * scriptCallGossipSelectWithCode)( Player *player, Creature *_Creature, uint32 sender, uint32 action, const char* sCode ); +typedef bool(TRINITY_IMPORT * scriptCallGOSelect)(Player *player, GameObject *_GO, uint32 sender, uint32 action); +typedef bool(TRINITY_IMPORT * scriptCallGOSelectWithCode)( Player *player, GameObject *_GO, uint32 sender, uint32 action, const char* sCode ); typedef bool(TRINITY_IMPORT * scriptCallQuestSelect)( Player *player, Creature *_Creature, Quest const* ); typedef bool(TRINITY_IMPORT * scriptCallQuestComplete)(Player *player, Creature *_Creature, Quest const*); typedef uint32(TRINITY_IMPORT * scriptCallNPCDialogStatus)( Player *player, Creature *_Creature); @@ -72,6 +74,8 @@ typedef struct scriptCallQuestAccept QuestAccept; scriptCallGossipSelect GossipSelect; scriptCallGossipSelectWithCode GossipSelectWithCode; + scriptCallGOSelect GOSelect; + scriptCallGOSelectWithCode GOSelectWithCode; scriptCallQuestSelect QuestSelect; scriptCallQuestComplete QuestComplete; scriptCallNPCDialogStatus NPCDialogStatus; |