TrinityCore
shadowfang_keep.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 _Shadowfang_Keep_h__
19#define _Shadowfang_Keep_h__
20
21#include "CreatureAIImpl.h"
22
23constexpr char const* SFKScriptName = "instance_shadowfang_keep";
24constexpr char const* DataHeader = "SFK";
25
26constexpr uint32 const EncounterCount = 6;
27
29{
30 // Encounters
37
38 // Additional data
39 /*The doors within this instance are all tied to events before becoming actual doors so we have to manually manage them*/
43};
44
46{
47 // Bosses
52 NPC_LORD_GODFREY = 46964
53};
54
56{
59 GO_ARUGALS_LAIR = 18971
60};
61
62template <class AI, class T>
63inline AI* GetShadowfangKeepAI(T* obj)
64{
65 return GetInstanceAI<AI>(obj, SFKScriptName);
66}
67
68#define RegisterShadowfangKeepCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetShadowfangKeepAI)
69
70#endif // _Shadowfang_Keep_h__
uint32_t uint32
Definition: Define.h:142
SKGameObjectIds
@ GO_ARUGALS_LAIR
@ GO_COURTYARD_DOOR
@ GO_SORCERERS_DOOR
SFKDataTypes
@ BOSS_COMMANDER_SPRINGVALE
@ DATA_SORCERER_GATE
@ BOSS_APOTHECARY_HUMMEL
@ BOSS_BARON_ASHBURY
@ BOSS_LORD_WALDEN
@ BOSS_LORD_GODFREY
@ BOSS_BARON_SILVERLAINE
@ DATA_COURTYARD_DOOR
@ DATA_ARUGAL_DOOR
SFKCreatureIds
@ NPC_LORD_WALDEN
@ NPC_BARON_SILVERLAINE
@ NPC_LORD_GODFREY
@ NPC_BARON_ASHBURY
@ NPC_COMMANDER_SPRINGVALE
constexpr char const * DataHeader
constexpr char const * SFKScriptName
constexpr uint32 const EncounterCount
AI * GetShadowfangKeepAI(T *obj)