rendered paste bodyIndex: ScriptMgr.h
===================================================================
--- ScriptMgr.h (revision 5260)
+++ ScriptMgr.h (working copy)
@@ -23,6 +23,8 @@
#include "../../game/CreatureAI.h"
#include "../../game/Creature.h"
#include "../../game/InstanceData.h"
+#include "../../game/GameObjectAI.h"
+#include "../../game/GameObject.h"
class Player;
class Creature;
@@ -41,7 +43,7 @@
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)
+ pGOChooseReward(NULL), pReceiveEmote(NULL), pItemUse(NULL), GetAI(NULL), GetGameObjectAI(NULL)
{}
std::string Name;
@@ -66,6 +68,7 @@
bool (*pItemUse )(Player *player, Item* _Item, SpellCastTargets const& targets);
CreatureAI* (*GetAI)(Creature *_Creature);
+ GameObjectAI* (*GetGameObjectAI)(GameObject *_GameObject);
// -----------------------------------------
};