TrinityCore
uldaman.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_ULDAMAN_H
19#define DEF_ULDAMAN_H
20
21#include "CreatureAIImpl.h"
22
23#define UldamanScriptName "instance_uldaman"
24#define DataHeader "UD"
25
27{
36
38};
39
41{
47};
48
50{
56};
57
59{
64 GO_KEYSTONE = 124371,
65};
66
67template <class AI, class T>
68inline AI* GetUldamanAI(T* obj)
69{
70 return GetInstanceAI<AI>(obj, UldamanScriptName);
71}
72
73#define RegisterUldamanCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetUldamanAI)
74
75#endif
UDBossIds
Definition: uldaman.h:27
@ BOSS_ANCIENT_STONE_KEEPER
Definition: uldaman.h:31
@ MAX_ENCOUNTER
Definition: uldaman.h:37
@ BOSS_OBSIDIAN_SENTINEL
Definition: uldaman.h:35
@ BOSS_GRIMLOK
Definition: uldaman.h:33
@ BOSS_REVELOSH
Definition: uldaman.h:28
@ BOSS_GALGANN_FIREHAMMER
Definition: uldaman.h:32
@ BOSS_ARCHAEDAS
Definition: uldaman.h:34
@ BOSS_THE_LOST_DWARVES
Definition: uldaman.h:29
@ BOSS_IRONAYA
Definition: uldaman.h:30
UDDataTypes
Definition: uldaman.h:41
@ DATA_ALTAR_DOORS
Definition: uldaman.h:42
@ DATA_IRONAYA_SEAL
Definition: uldaman.h:46
@ DATA_IRONAYA_DOOR
Definition: uldaman.h:43
@ DATA_MINIONS
Definition: uldaman.h:45
@ DATA_STONE_KEEPERS
Definition: uldaman.h:44
AI * GetUldamanAI(T *obj)
Definition: uldaman.h:68
#define UldamanScriptName
Definition: uldaman.h:23
UDCreatureIds
Definition: uldaman.h:50
@ NPC_ANCIENT_STONE_KEEPER
Definition: uldaman.h:52
@ NPC_OBSIDIAN_SENTINEL
Definition: uldaman.h:55
@ NPC_GALGANN_FIREHAMMER
Definition: uldaman.h:53
@ NPC_GRIMLOK
Definition: uldaman.h:54
@ NPC_REVELOSH
Definition: uldaman.h:51
UDGameObjectIds
Definition: uldaman.h:59
@ GO_ANCIENT_VAULT_DOOR
Definition: uldaman.h:62
@ GO_ARCHAEDAS_TEMPLE_DOOR
Definition: uldaman.h:60
@ GO_ALTAR_OF_THE_KEEPER_TEMPLE_DOOR
Definition: uldaman.h:61
@ GO_KEYSTONE
Definition: uldaman.h:64
@ GO_IRONAYA_SEAL_DOOR
Definition: uldaman.h:63