TrinityCore
Loading...
Searching...
No Matches
shadow_labyrinth.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 SHADOW_LABYRINTH_H_
19#define SHADOW_LABYRINTH_H_
20
21#include "CreatureAIImpl.h"
22#include "ObjectGuid.h"
23
24#define SLScriptName "instance_shadow_labyrinth"
25#define DataHeader "SL"
26
28
30{
31 // Encounter States/Boss GUIDs
36
37 // Additional Data
39};
40
48
50{
51 GO_REFECTORY_DOOR = 183296, // door opened when blackheart the inciter dies
52 GO_SCREAMING_HALL_DOOR = 183295 // door opened when grandmaster vorpil dies
53};
54
60
61template <class AI, class T>
62inline AI* GetShadowLabyrinthAI(T* obj)
63{
64 return GetInstanceAI<AI>(obj, SLScriptName);
65}
66
67#define RegisterShadowLabyrinthCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetShadowLabyrinthAI)
68
69#endif // SHADOW_LABYRINTH_H_
uint32_t uint32
Definition Define.h:133
AI * GetShadowLabyrinthAI(T *obj)
SLGameObjectIds
@ GO_REFECTORY_DOOR
@ GO_SCREAMING_HALL_DOOR
uint32 const EncounterCount
#define SLScriptName
SLCreatureIds
@ NPC_GRANDMASTER_VORPIL
@ NPC_FEL_OVERSEER
@ NPC_AMBASSADOR_HELLMAW
@ NPC_BLACKHEART
@ ACTION_AMBASSADOR_HELLMAW_BANISH
@ ACTION_AMBASSADOR_HELLMAW_INTRO
SLDataTypes
@ DATA_MURMUR
@ DATA_AMBASSADOR_HELLMAW
@ DATA_GRANDMASTER_VORPIL
@ DATA_FEL_OVERSEER
@ DATA_BLACKHEART_THE_INCITER