diff options
Diffstat (limited to 'src/game/CreatureEventAIMgr.h')
-rw-r--r-- | src/game/CreatureEventAIMgr.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/CreatureEventAIMgr.h b/src/game/CreatureEventAIMgr.h index 821cdb35c6a..b4672460cc6 100644 --- a/src/game/CreatureEventAIMgr.h +++ b/src/game/CreatureEventAIMgr.h @@ -15,25 +15,32 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + #ifndef MANGOS_CREATURE_EAI_MGR_H #define MANGOS_CREATURE_EAI_MGR_H + #include "Common.h" #include "CreatureEventAI.h" + class CreatureEventAIMgr { public: CreatureEventAIMgr(){}; ~CreatureEventAIMgr(){}; + void LoadCreatureEventAI_Texts(); void LoadCreatureEventAI_Summons(); void LoadCreatureEventAI_Scripts(); + CreatureEventAI_Event_Map const& GetCreatureEventAIMap() const { return m_CreatureEventAI_Event_Map; } CreatureEventAI_Summon_Map const& GetCreatureEventAISummonMap() const { return m_CreatureEventAI_Summon_Map; } CreatureEventAI_TextMap const& GetCreatureEventAITextMap() const { return m_CreatureEventAI_TextMap; } + private: CreatureEventAI_Event_Map m_CreatureEventAI_Event_Map; CreatureEventAI_Summon_Map m_CreatureEventAI_Summon_Map; CreatureEventAI_TextMap m_CreatureEventAI_TextMap; }; + #define CreatureEAI_Mgr MaNGOS::Singleton<CreatureEventAIMgr>::Instance() #endif |