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 = 3;
27
37
47
57
62
68
74
75template <class AI, class T>
76inline AI* GetUldamanAI(T* obj)
77{
78 return GetInstanceAI<AI>(obj, UldamanScriptName);
79}
80
81#define RegisterUldamanCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetUldamanAI)
82#define RegisterUldamanGameObjectAI(ai_name) RegisterGameObjectAIWithFactory(ai_name, GetUldamanAI)
83
84#endif
uint32_t uint32
Definition Define.h:133
UDActions
Definition uldaman.h:64
@ ACTION_ARCHAEDAS_AWAKEN
Definition uldaman.h:66
@ ACTION_KEEPER_ACTIVATED
Definition uldaman.h:65
UDGameEvents
Definition uldaman.h:70
@ EVENT_SUB_BOSS_AGGRO
Definition uldaman.h:71
@ EVENT_BOSS_AGGRO
Definition uldaman.h:72
UDDataTypes
Definition uldaman.h:29
@ DATA_IRONAYA_SEAL_DOOR
Definition uldaman.h:35
@ DATA_ARCHAEDAS
Definition uldaman.h:32
@ DATA_STONE_KEEPERS
Definition uldaman.h:31
@ DATA_IRONAYA
Definition uldaman.h:30
@ DATA_IRONAYA_INTRO
Definition uldaman.h:34
AI * GetUldamanAI(T *obj)
Definition uldaman.h:76
#define UldamanScriptName
Definition uldaman.h:23
UDCreatureIds
Definition uldaman.h:39
@ NPC_EARTHEN_CUSTODIAN
Definition uldaman.h:44
@ NPC_VAULT_WARDER
Definition uldaman.h:45
@ NPC_STONE_KEEPER
Definition uldaman.h:41
@ NPC_EARTHEN_GUARDIAN
Definition uldaman.h:42
@ NPC_EARTHEN_HALLSHAPER
Definition uldaman.h:43
@ NPC_ARCHAEDAS
Definition uldaman.h:40
UDGameObjectIds
Definition uldaman.h:49
@ GO_ANCIENT_VAULT_DOOR
Definition uldaman.h:55
@ GO_TEMPLE_DOOR_ARCHAEDAS
Definition uldaman.h:54
@ GO_TEMPLE_DOOR_TO_ARCHAEDAS
Definition uldaman.h:53
@ GO_TEMPLE_DOOR_TO_KEEPERS
Definition uldaman.h:52
@ GO_KEYSTONE
Definition uldaman.h:51
@ GO_IRONAYA_SEAL_DOOR
Definition uldaman.h:50
uint32 constexpr EncounterCount
Definition uldaman.h:26
UDSpawnGroups
Definition uldaman.h:59
@ SPAWN_GROUP_IRONAYA
Definition uldaman.h:60