TrinityCore
sunken_temple.h
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef DEF_SUNKEN_TEMPLE_H
19#define DEF_SUNKEN_TEMPLE_H
20
21#include "CreatureAIImpl.h"
22
23#define STScriptName "instance_sunken_temple"
24#define DataHeader "ST"
25
27{
35
37};
38
40{
44 NPC_WEAVER = 5720,
46 NPC_HAZZAS = 5722,
48};
49
51{
52 EVENT_STATE = 1
53};
54
55template <class AI, class T>
56inline AI* GetSunkenTempleAI(T* obj)
57{
58 return GetInstanceAI<AI>(obj, STScriptName);
59}
60
61#endif
#define STScriptName
Definition: sunken_temple.h:23
STCreatureIds
Definition: sunken_temple.h:40
@ NPC_DREAMSCYTHE
Definition: sunken_temple.h:43
@ NPC_JAMMALAN_THE_PROPHET
Definition: sunken_temple.h:42
@ NPC_SHADE_OF_ERANIKUS
Definition: sunken_temple.h:47
@ NPC_AVATAR_OF_HAKKAR
Definition: sunken_temple.h:41
@ NPC_HAZZAS
Definition: sunken_temple.h:46
@ NPC_MORPHAZ
Definition: sunken_temple.h:45
@ NPC_WEAVER
Definition: sunken_temple.h:44
AI * GetSunkenTempleAI(T *obj)
Definition: sunken_temple.h:56
STEvents
Definition: sunken_temple.h:51
@ EVENT_STATE
Definition: sunken_temple.h:52
STBossIds
Definition: sunken_temple.h:27
@ BOSS_MORPHAZ
Definition: sunken_temple.h:32
@ BOSS_JAMMALAN_THE_PROPHET
Definition: sunken_temple.h:29
@ BOSS_HAZZAS
Definition: sunken_temple.h:33
@ BOSS_WEAVER
Definition: sunken_temple.h:31
@ BOSS_DREAMSCYTHE
Definition: sunken_temple.h:30
@ BOSS_AVATAR_OF_HAKKAR
Definition: sunken_temple.h:28
@ MAX_ENCOUNTER
Definition: sunken_temple.h:36
@ BOSS_SHADE_OF_ERANIKUS
Definition: sunken_temple.h:34