From a2b2c0dcb91bc905fa6df6dd9f17dd5976afe3af Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 13 Mar 2009 20:34:36 -0600 Subject: *Add missing script functions. Without these the program can be compiled but cannot run. --HG-- branch : trunk --- src/bindings/scripts/ScriptMgr.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/bindings/scripts/ScriptMgr.h') diff --git a/src/bindings/scripts/ScriptMgr.h b/src/bindings/scripts/ScriptMgr.h index 5f9ab9b8ae1..75474cfa2b8 100644 --- a/src/bindings/scripts/ScriptMgr.h +++ b/src/bindings/scripts/ScriptMgr.h @@ -34,7 +34,8 @@ struct Script pGossipHello(NULL), pQuestAccept(NULL), pGossipSelect(NULL), pGossipSelectWithCode(NULL), pQuestSelect(NULL), pQuestComplete(NULL), pNPCDialogStatus(NULL), pGODialogStatus(NULL), pChooseReward(NULL), pItemHello(NULL), pGOHello(NULL), pAreaTrigger(NULL), pItemQuestAccept(NULL), pGOQuestAccept(NULL), - pGOChooseReward(NULL),pReceiveEmote(NULL),pItemUse(NULL), GetAI(NULL), GetInstanceData(NULL) + pGOChooseReward(NULL), pReceiveEmote(NULL), pItemUse(NULL), pEffectDummyGameObj(NULL), pEffectDummyCreature(NULL), + pEffectDummyItem(NULL), GetAI(NULL) {} std::string Name; @@ -57,6 +58,9 @@ struct Script bool (*pGOChooseReward )(Player*, GameObject*, Quest const*, uint32 ); bool (*pReceiveEmote )(Player*, Creature*, uint32 ); bool (*pItemUse )(Player*, Item*, SpellCastTargets const& ); + bool (*pEffectDummyGameObj )(Unit*, uint32, uint32, GameObject* ); + bool (*pEffectDummyCreature )(Unit*, uint32, uint32, Creature* ); + bool (*pEffectDummyItem )(Unit*, uint32, uint32, Item* ); CreatureAI* (*GetAI)(Creature*); InstanceData* (*GetInstanceData)(Map*); -- cgit v1.2.3