TrinityCore
Loading...
Searching...
No Matches
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
26uint32 constexpr EncounterCount = 8;
27
44
59
69
74
80
86
87template <class AI, class T>
88inline AI* GetUldamanAI(T* obj)
89{
90 return GetInstanceAI<AI>(obj, UldamanScriptName);
91}
92
93#define RegisterUldamanCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetUldamanAI)
94#define RegisterUldamanGameObjectAI(ai_name) RegisterGameObjectAIWithFactory(ai_name, GetUldamanAI)
95
96#endif
uint32_t uint32
Definition Define.h:154
UDActions
Definition uldaman.h:76
@ ACTION_ARCHAEDAS_AWAKEN
Definition uldaman.h:78
@ ACTION_KEEPER_ACTIVATED
Definition uldaman.h:77
UDGameEvents
Definition uldaman.h:82
@ EVENT_SUB_BOSS_AGGRO
Definition uldaman.h:83
@ EVENT_BOSS_AGGRO
Definition uldaman.h:84
UDDataTypes
Definition uldaman.h:29
@ DATA_IRONAYA_SEAL_DOOR
Definition uldaman.h:42
@ DATA_GALGANN_FIREHAMMER
Definition uldaman.h:34
@ DATA_ARCHAEDAS
Definition uldaman.h:36
@ DATA_ANCIENT_STONE_KEEPER
Definition uldaman.h:33
@ DATA_STONE_KEEPERS
Definition uldaman.h:39
@ DATA_REVELOSH
Definition uldaman.h:30
@ DATA_GRIMLOK
Definition uldaman.h:35
@ DATA_THE_LOST_DWARVES
Definition uldaman.h:31
@ DATA_IRONAYA
Definition uldaman.h:32
@ DATA_OBSIDIAN_SENTINEL
Definition uldaman.h:37
@ DATA_IRONAYA_INTRO
Definition uldaman.h:41
AI * GetUldamanAI(T *obj)
Definition uldaman.h:88
#define UldamanScriptName
Definition uldaman.h:23
UDCreatureIds
Definition uldaman.h:46
@ NPC_EARTHEN_CUSTODIAN
Definition uldaman.h:56
@ NPC_ANCIENT_STONE_KEEPER
Definition uldaman.h:48
@ NPC_OBSIDIAN_SENTINEL
Definition uldaman.h:51
@ NPC_GALGANN_FIREHAMMER
Definition uldaman.h:49
@ NPC_VAULT_WARDER
Definition uldaman.h:57
@ NPC_STONE_KEEPER
Definition uldaman.h:53
@ NPC_GRIMLOK
Definition uldaman.h:50
@ NPC_EARTHEN_GUARDIAN
Definition uldaman.h:54
@ NPC_REVELOSH
Definition uldaman.h:47
@ NPC_EARTHEN_HALLSHAPER
Definition uldaman.h:55
@ NPC_ARCHAEDAS
Definition uldaman.h:52
UDGameObjectIds
Definition uldaman.h:61
@ GO_ANCIENT_VAULT_DOOR
Definition uldaman.h:67
@ GO_TEMPLE_DOOR_ARCHAEDAS
Definition uldaman.h:66
@ GO_TEMPLE_DOOR_TO_ARCHAEDAS
Definition uldaman.h:65
@ GO_TEMPLE_DOOR_TO_KEEPERS
Definition uldaman.h:64
@ GO_KEYSTONE
Definition uldaman.h:63
@ GO_IRONAYA_SEAL_DOOR
Definition uldaman.h:62
uint32 constexpr EncounterCount
Definition uldaman.h:26
UDSpawnGroups
Definition uldaman.h:71
@ SPAWN_GROUP_IRONAYA
Definition uldaman.h:72