TrinityCore
deadmines.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 _Deadmines_h__
19
#define _Deadmines_h__
20
21
#include "
CreatureAIImpl.h
"
22
23
constexpr
char
const
*
DMScriptName
=
"instance_deadmines"
;
24
constexpr
char
const
*
DataHeader
=
"DM"
;
25
26
constexpr
uint32
const
EncounterCount
= 6;
27
28
enum
DMDataTypes
29
{
30
// Encounters
31
BOSS_GLUBTOK
= 0,
32
BOSS_HELIX_GEARBREAKER
= 1,
33
BOSS_FOE_REAPER_5000
= 2,
34
BOSS_ADMIRAL_RIPSNARL
= 3,
35
BOSS_CAPTAIN_COOKIE
= 4,
36
BOSS_VANESSA_VANCLEEF
= 5
37
};
38
39
enum
DMCreatureIds
40
{
41
// Bosses
42
NPC_GLUBTOK
= 47162,
43
NPC_HELIX_GEARBREAKER
= 47296,
44
NPC_FOE_REAPER_5000
= 43778,
45
NPC_ADMIRAL_RIPSNARL
= 47626,
46
NPC_CAPTAIN_COOKIE
= 47739,
47
NPC_VANESSA_VAN_CLEEF
= 49541
48
};
49
50
enum
DMGameObjectIds
51
{
52
GO_FACTORY_DOOR
= 13965,
53
GO_IRON_CLAD_DOOR
= 16397,
54
GO_DEFIAS_CANNON
= 16398,
55
GO_DOOR_LEVER
= 101833,
56
GO_MAST_ROOM_DOOR
= 16400,
57
GO_HEAVY_DOOR
= 17153,
58
GO_FOUNDRY_DOOR
= 16399
59
};
60
61
template
<
class
AI,
class
T>
62
inline
AI*
GetDeadminesAI
(T* obj)
63
{
64
return
GetInstanceAI<AI>(obj,
DMScriptName
);
65
}
66
67
#endif
// _Deadmines_h__
CreatureAIImpl.h
uint32
uint32_t uint32
Definition:
Define.h:142
DMCreatureIds
DMCreatureIds
Definition:
deadmines.h:40
NPC_ADMIRAL_RIPSNARL
@ NPC_ADMIRAL_RIPSNARL
Definition:
deadmines.h:45
NPC_HELIX_GEARBREAKER
@ NPC_HELIX_GEARBREAKER
Definition:
deadmines.h:43
NPC_FOE_REAPER_5000
@ NPC_FOE_REAPER_5000
Definition:
deadmines.h:44
NPC_VANESSA_VAN_CLEEF
@ NPC_VANESSA_VAN_CLEEF
Definition:
deadmines.h:47
NPC_GLUBTOK
@ NPC_GLUBTOK
Definition:
deadmines.h:42
NPC_CAPTAIN_COOKIE
@ NPC_CAPTAIN_COOKIE
Definition:
deadmines.h:46
GetDeadminesAI
AI * GetDeadminesAI(T *obj)
Definition:
deadmines.h:62
DataHeader
constexpr char const * DataHeader
Definition:
deadmines.h:24
DMGameObjectIds
DMGameObjectIds
Definition:
deadmines.h:51
GO_FOUNDRY_DOOR
@ GO_FOUNDRY_DOOR
Definition:
deadmines.h:58
GO_DOOR_LEVER
@ GO_DOOR_LEVER
Definition:
deadmines.h:55
GO_IRON_CLAD_DOOR
@ GO_IRON_CLAD_DOOR
Definition:
deadmines.h:53
GO_FACTORY_DOOR
@ GO_FACTORY_DOOR
Definition:
deadmines.h:52
GO_DEFIAS_CANNON
@ GO_DEFIAS_CANNON
Definition:
deadmines.h:54
GO_HEAVY_DOOR
@ GO_HEAVY_DOOR
Definition:
deadmines.h:57
GO_MAST_ROOM_DOOR
@ GO_MAST_ROOM_DOOR
Definition:
deadmines.h:56
EncounterCount
constexpr uint32 const EncounterCount
Definition:
deadmines.h:26
DMScriptName
constexpr char const * DMScriptName
Definition:
deadmines.h:23
DMDataTypes
DMDataTypes
Definition:
deadmines.h:29
BOSS_CAPTAIN_COOKIE
@ BOSS_CAPTAIN_COOKIE
Definition:
deadmines.h:35
BOSS_FOE_REAPER_5000
@ BOSS_FOE_REAPER_5000
Definition:
deadmines.h:33
BOSS_ADMIRAL_RIPSNARL
@ BOSS_ADMIRAL_RIPSNARL
Definition:
deadmines.h:34
BOSS_VANESSA_VANCLEEF
@ BOSS_VANESSA_VANCLEEF
Definition:
deadmines.h:36
BOSS_HELIX_GEARBREAKER
@ BOSS_HELIX_GEARBREAKER
Definition:
deadmines.h:32
BOSS_GLUBTOK
@ BOSS_GLUBTOK
Definition:
deadmines.h:31
server
scripts
EasternKingdoms
Deadmines
deadmines.h
Generated on Thu Mar 14 2024 23:39:26 for TrinityCore by
1.9.4