TrinityCore
Loading...
Searching...
No Matches
kings_rest.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_KINGS_REST_H_
19#define DEF_KINGS_REST_H_
20
21#include "CreatureAIImpl.h"
22
23#define DataHeader "KingsRest"
24#define KingsRestScriptName "instance_kings_rest"
25
27
45
56
63
69
70template <class AI, class T>
71inline AI* GetKingsRestAI(T* obj)
72{
73 return GetInstanceAI<AI>(obj, KingsRestScriptName);
74}
75
76#define RegisterKingsRestCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetKingsRestAI)
77
78#endif
uint32_t uint32
Definition Define.h:154
KingsRestCreatureIds
Definition kings_rest.h:47
@ BOSS_ZANAZAL_THE_WISE
Definition kings_rest.h:51
@ BOSS_GOLDEN_SERPENT
Definition kings_rest.h:49
@ BOSS_MCHIMBA_THE_EMBALMER
Definition kings_rest.h:53
@ BOSS_AKAALI_THE_CONQUEROR
Definition kings_rest.h:50
@ BOSS_KULA_THE_BUTCHER
Definition kings_rest.h:52
@ BOSS_KING_DAZAR
Definition kings_rest.h:54
#define KingsRestScriptName
Definition kings_rest.h:24
uint32 const EncounterCount
Definition kings_rest.h:26
KingsRestSpawnGroups
Definition kings_rest.h:65
@ SPAWN_GROUP_PRE_FIRST_BOSS
Definition kings_rest.h:66
@ SPAWN_GROUP_SERPENT_BOSS
Definition kings_rest.h:67
KingsRestGameObjectIds
Definition kings_rest.h:58
@ GO_KINGS_REST_LIQUID_GOLD_POOL
Definition kings_rest.h:61
@ GO_KINGS_REST_ENTRYWAY_DOOR
Definition kings_rest.h:59
@ GO_KINGS_REST_SERPENT_POST_DOOR
Definition kings_rest.h:60
KingsRestDataTypes
Definition kings_rest.h:29
@ DATA_COUNCIL_OF_TRIBES
Definition kings_rest.h:33
@ DATA_KULA_THE_BUTCHER
Definition kings_rest.h:39
@ DATA_GOLDEN_SERPENT
Definition kings_rest.h:31
@ DATA_KINGS_REST_INTRO_DOOR
Definition kings_rest.h:42
@ DATA_ZANAZAL_THE_WISE
Definition kings_rest.h:38
@ DATA_KINGS_REST_LIQUID_POOL
Definition kings_rest.h:43
@ DATA_MCHIMBA_THE_EMBALMER
Definition kings_rest.h:32
@ DATA_KING_DAZAR
Definition kings_rest.h:34
@ DATA_AKAALI_THE_CONQUEROR
Definition kings_rest.h:37
AI * GetKingsRestAI(T *obj)
Definition kings_rest.h:71