TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
shattered_halls.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef DEF_SHATTERED_H
20 #define DEF_SHATTERED_H
21 
22 #define DataHeader "SH"
23 
25 uint32 const VictimCount = 3;
26 
28 {
32 
35 
37 
41 };
42 
44 {
47 
49 
50  // Alliance Ids
52 
56 
57  // Horde Ids
58  NPC_DRISELLA = 17294,
59 
63 };
64 
66 {
69 };
70 
72 {
75 };
76 
78 {
82 
84 };
85 
86 enum Actions
87 {
89 };
90 
91 const Position Executioner = { 152.8524f, -83.63912f, 2.021005f, 0.06981317f };
92 
94 {
95  FactionSpawnerHelper(uint32 allianceEntry, uint32 hordeEntry, const Position& pos) : _allianceNPC(allianceEntry), _hordeNPC(hordeEntry), _spawnPos(pos) { }
96 
97  inline uint32 operator()(uint32 teamID) const { return teamID == ALLIANCE ? _allianceNPC : _hordeNPC; }
98  inline Position const& GetPos() const { return _spawnPos; }
99 
100 private:
104 };
105 
107 {
108  { NPC_CAPTAIN_ALINA, NPC_CAPTAIN_BONESHATTER, { 138.8807f, -84.22707f, 1.992269f, 0.06981317f } },
109  { NPC_ALLIANCE_VICTIM_1, NPC_HORDE_VICTIM_1, { 151.2411f, -91.02930f, 2.019741f, 1.57079600f } },
110  { NPC_ALLIANCE_VICTIM_2, NPC_HORDE_VICTIM_2, { 151.0459f, -77.51981f, 2.021008f, 4.74729500f } }
111 };
112 
113 
114 #endif
Definition: shattered_halls.h:51
Definition: shattered_halls.h:40
Definition: shattered_halls.h:54
Definition: shattered_halls.h:83
Definition: shattered_halls.h:58
uint32 const EncounterCount
Definition: shattered_halls.h:24
QuestIds
Definition: stratholme.h:74
Definition: shattered_halls.h:31
uint32 const VictimCount
Definition: shattered_halls.h:25
Position const & GetPos() const
Definition: shattered_halls.h:98
InstanceSpells
Definition: halls_of_reflection.h:151
FactionSpawnerHelper(uint32 allianceEntry, uint32 hordeEntry, const Position &pos)
Definition: shattered_halls.h:95
DataTypes
Definition: baradin_hold.h:30
uint32 operator()(uint32 teamID) const
Definition: shattered_halls.h:97
Definition: shattered_halls.h:30
const FactionSpawnerHelper executionerVictims[VictimCount]
Definition: shattered_halls.h:106
Definition: shattered_halls.h:61
Definition: SharedDefines.h:1000
Actions
Definition: BattlegroundIC.h:203
Definition: shattered_halls.h:48
Definition: shattered_halls.h:68
Definition: shattered_halls.h:45
Definition: shattered_halls.h:79
Definition: shattered_halls.h:74
const uint32 _hordeNPC
Definition: shattered_halls.h:102
uint32_t uint32
Definition: Define.h:150
const Position _spawnPos
Definition: shattered_halls.h:103
Definition: shattered_halls.h:80
Definition: shattered_halls.h:46
Definition: shattered_halls.h:53
Definition: shattered_halls.h:38
Definition: shattered_halls.h:55
Definition: shattered_halls.h:60
Definition: shattered_halls.h:81
const Position Executioner
Definition: shattered_halls.h:91
Definition: shattered_halls.h:67
Definition: shattered_halls.h:29
Definition: shattered_halls.h:73
Definition: shattered_halls.h:93
Definition: shattered_halls.h:62
Definition: Position.h:27
Definition: shattered_halls.h:88
Definition: shattered_halls.h:34
Definition: shattered_halls.h:36
Definition: shattered_halls.h:33
Definition: shattered_halls.h:39
GameobjectIds
Definition: scholomance.h:43
CreatureIds
Definition: baradin_hold.h:37
const uint32 _allianceNPC
Definition: shattered_halls.h:101