TrinityCore
Loading...
Searching...
No Matches
the_eye.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_THE_EYE_H
19
#define DEF_THE_EYE_H
20
21
#include "
CreatureAIImpl.h
"
22
23
#define TheEyeScriptName "instance_the_eye"
24
#define DataHeader "TE"
25
26
constexpr
uint32
EncounterCount
= 4;
27
28
enum
TEDataTypes
29
{
30
// Encounter States
31
DATA_ALAR
= 0,
32
DATA_VOID_REAVER
= 1,
33
DATA_SOLARIAN
= 2,
34
DATA_KAELTHAS
= 3,
35
36
// Additional Data
37
DATA_CAPERNIAN
,
38
DATA_SANGUINAR
,
39
DATA_TELONICUS
,
40
DATA_THALADRED
,
41
42
DATA_KAEL_STATUE_LEFT
,
43
DATA_KAEL_STATUE_RIGHT
,
44
DATA_TEMPEST_BRIDGE_WINDOW
45
};
46
47
enum
TECreatureIds
48
{
49
NPC_ALAR
= 19514,
50
NPC_VOID_REAVER
= 19516,
51
NPC_SOLARIAN
= 18805,
52
NPC_KAELTHAS
= 19622,
53
NPC_SANGUINAR
= 20060,
54
NPC_CAPERNIAN
= 20062,
55
NPC_TELONICUS
= 20063,
56
NPC_THALADRED
= 20064
57
};
58
59
enum
TEGameObjectIds
60
{
61
GO_TEMPEST_BRIDDGE_WINDOW
= 184069,
62
GO_KAEL_STATUE_RIGHT
= 184596,
63
GO_KAEL_STATUE_LEFT
= 184597,
64
GO_ARCANE_DOOR_LEFT
= 184324,
65
GO_ARCANE_DOOR_RIGHT
= 184325
66
};
67
68
template
<
class
AI,
class
T>
69
inline
AI*
GetTheEyeAI
(T* obj)
70
{
71
return
GetInstanceAI<AI>(obj,
TheEyeScriptName
);
72
}
73
74
#define RegisterTheEyeCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetTheEyeAI)
75
76
#endif
CreatureAIImpl.h
uint32
uint32_t uint32
Definition
Define.h:133
TEGameObjectIds
TEGameObjectIds
Definition
the_eye.h:60
GO_TEMPEST_BRIDDGE_WINDOW
@ GO_TEMPEST_BRIDDGE_WINDOW
Definition
the_eye.h:61
GO_KAEL_STATUE_LEFT
@ GO_KAEL_STATUE_LEFT
Definition
the_eye.h:63
GO_ARCANE_DOOR_RIGHT
@ GO_ARCANE_DOOR_RIGHT
Definition
the_eye.h:65
GO_ARCANE_DOOR_LEFT
@ GO_ARCANE_DOOR_LEFT
Definition
the_eye.h:64
GO_KAEL_STATUE_RIGHT
@ GO_KAEL_STATUE_RIGHT
Definition
the_eye.h:62
TheEyeScriptName
#define TheEyeScriptName
Definition
the_eye.h:23
GetTheEyeAI
AI * GetTheEyeAI(T *obj)
Definition
the_eye.h:69
TECreatureIds
TECreatureIds
Definition
the_eye.h:48
NPC_TELONICUS
@ NPC_TELONICUS
Definition
the_eye.h:55
NPC_KAELTHAS
@ NPC_KAELTHAS
Definition
the_eye.h:52
NPC_CAPERNIAN
@ NPC_CAPERNIAN
Definition
the_eye.h:54
NPC_SOLARIAN
@ NPC_SOLARIAN
Definition
the_eye.h:51
NPC_THALADRED
@ NPC_THALADRED
Definition
the_eye.h:56
NPC_VOID_REAVER
@ NPC_VOID_REAVER
Definition
the_eye.h:50
NPC_ALAR
@ NPC_ALAR
Definition
the_eye.h:49
NPC_SANGUINAR
@ NPC_SANGUINAR
Definition
the_eye.h:53
TEDataTypes
TEDataTypes
Definition
the_eye.h:29
DATA_KAEL_STATUE_RIGHT
@ DATA_KAEL_STATUE_RIGHT
Definition
the_eye.h:43
DATA_TEMPEST_BRIDGE_WINDOW
@ DATA_TEMPEST_BRIDGE_WINDOW
Definition
the_eye.h:44
DATA_ALAR
@ DATA_ALAR
Definition
the_eye.h:31
DATA_SANGUINAR
@ DATA_SANGUINAR
Definition
the_eye.h:38
DATA_TELONICUS
@ DATA_TELONICUS
Definition
the_eye.h:39
DATA_KAELTHAS
@ DATA_KAELTHAS
Definition
the_eye.h:34
DATA_SOLARIAN
@ DATA_SOLARIAN
Definition
the_eye.h:33
DATA_KAEL_STATUE_LEFT
@ DATA_KAEL_STATUE_LEFT
Definition
the_eye.h:42
DATA_CAPERNIAN
@ DATA_CAPERNIAN
Definition
the_eye.h:37
DATA_THALADRED
@ DATA_THALADRED
Definition
the_eye.h:40
DATA_VOID_REAVER
@ DATA_VOID_REAVER
Definition
the_eye.h:32
EncounterCount
constexpr uint32 EncounterCount
Definition
the_eye.h:26
server
scripts
Outland
TempestKeep
Eye
the_eye.h
Generated on Sun May 10 2026 02:30:24 for TrinityCore by
1.9.8