AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript Struct Reference
Inheritance diagram for instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript:
InstanceScript ZoneScript

Public Member Functions

 instance_halls_of_stone_InstanceMapScript (Map *map)
 
void Initialize () override
 
bool IsEncounterInProgress () const override
 
void OnGameObjectCreate (GameObject *go) override
 
void OnCreatureCreate (Creature *creature) override
 
ObjectGuid GetGuidData (uint32 id) const override
 
uint32 GetData (uint32 id) const override
 
bool CheckAchievementCriteriaMeet (uint32 criteria_id, Player const *, Unit const *, uint32) override
 
void SetData (uint32 type, uint32 data) override
 
void ReadSaveDataMore (std::istringstream &data) override
 
void WriteSaveDataMore (std::ostringstream &data) override
 
- Public Member Functions inherited from InstanceScript
 InstanceScript (Map *map)
 
 ~InstanceScript () override
 
virtual void Initialize ()
 
virtual void Load (char const *data)
 
virtual void CreatureLooted (Creature *, LootType)
 
virtual std::string GetSaveData ()
 
void SaveToDB ()
 
virtual void Update (uint32)
 
virtual bool IsEncounterInProgress () const
 
void OnCreatureCreate (Creature *creature) override
 
void OnCreatureRemove (Creature *creature) override
 
void OnGameObjectCreate (GameObject *go) override
 
void OnGameObjectRemove (GameObject *go) override
 
ObjectGuid GetObjectGuid (uint32 type) const
 
ObjectGuid GetGuidData (uint32 type) const override
 
CreatureGetCreature (uint32 type)
 
GameObjectGetGameObject (uint32 type)
 
virtual void OnPlayerEnter (Player *)
 
virtual void OnPlayerAreaUpdate (Player *, uint32, uint32)
 
virtual void OnPlayerInWaterStateUpdate (Player *, bool)
 
void HandleGameObject (ObjectGuid guid, bool open, GameObject *go=nullptr)
 
void DoUseDoorOrButton (ObjectGuid guid, uint32 withRestoreTime=0, bool useAlternativeState=false)
 
void DoRespawnGameObject (ObjectGuid guid, uint32 timeToDespawn=MINUTE)
 
void DoRespawnCreature (ObjectGuid guid, bool force=false)
 
void DoRespawnCreature (uint32 type, bool force=false)
 
void DoUpdateWorldState (uint32 worldstateId, uint32 worldstateValue)
 
void DoSendNotifyToInstance (char const *format,...)
 
void DoUpdateAchievementCriteria (AchievementCriteriaTypes type, uint32 miscValue1=0, uint32 miscValue2=0, Unit *unit=nullptr)
 
void DoStartTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry)
 
void DoStopTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry)
 
void DoRemoveAurasDueToSpellOnPlayers (uint32 spell)
 
void DoCastSpellOnPlayers (uint32 spell)
 
void DoCastSpellOnPlayer (Player *player, uint32 spell, bool includePets, bool includeControlled)
 
bool ServerAllowsTwoSideGroups ()
 
virtual bool SetBossState (uint32 id, EncounterState state)
 
EncounterState GetBossState (uint32 id) const
 
CreatureBoundary const * GetBossBoundary (uint32 id) const
 
BossInfo const * GetBossInfo (uint32 id) const
 
uint32 GetPersistentData (uint32 index) const
 
void StorePersistentData (uint32 index, uint32 data)
 
virtual bool CheckAchievementCriteriaMeet (uint32, Player const *, Unit const *=nullptr, uint32=0)
 
virtual bool CheckRequiredBosses (uint32, Player const *=nullptr) const
 
void SetCompletedEncountersMask (uint32 newMask, bool save)
 
uint32 GetCompletedEncounterMask () const
 
void SendEncounterUnit (uint32 type, Unit *unit=nullptr, uint8 param1=0, uint8 param2=0)
 
virtual void FillInitialWorldStates (WorldPacket &)
 
uint32 GetEncounterCount () const
 
void MarkAreaTriggerDone (uint32 id)
 
void ResetAreaTriggerDone (uint32 id)
 
bool IsAreaTriggerDone (uint32 id) const
 
virtual void DoAction (int32)
 
void DoForAllMinions (uint32 id, std::function< void(Creature *)> exec)
 
void StoreGameObjectState (ObjectGuid::LowType spawnId, uint8 state)
 
uint8 GetStoredGameObjectState (ObjectGuid::LowType spawnId) const
 
void LoadInstanceSavedGameobjectStateData ()
 
bool IsBossDone (uint32 bossId) const
 
bool AllBossesDone () const
 
bool AllBossesDone (std::initializer_list< uint32 > bossIds) const
 
- Public Member Functions inherited from ZoneScript
 ZoneScript ()
 
virtual ~ZoneScript ()
 
virtual uint32 GetCreatureEntry (ObjectGuid::LowType, CreatureData const *data)
 
virtual uint32 GetGameObjectEntry (ObjectGuid::LowType, uint32 entry)
 
virtual void OnCreatureCreate (Creature *)
 
virtual void OnCreatureRemove (Creature *)
 
virtual void OnGameObjectCreate (GameObject *)
 
virtual void OnGameObjectRemove (GameObject *)
 
virtual void OnUnitDeath (Unit *)
 
virtual void OnCreatureEvade (Creature *)
 
virtual ObjectGuid GetGuidData (uint32) const
 
virtual void SetGuidData (uint32, ObjectGuid)
 
virtual uint64 GetData64 (uint32) const
 
virtual void SetData64 (uint32, uint64)
 
virtual uint32 GetData (uint32) const
 
virtual void SetData (uint32, uint32)
 
virtual void ProcessEvent (WorldObject *, uint32)
 

Public Attributes

uint32 Encounter [MAX_ENCOUNTER]
 
ObjectGuid goKaddrakGUID
 
ObjectGuid goMarnakGUID
 
ObjectGuid goAbedneumGUID
 
ObjectGuid goTribunalConsoleGUID
 
ObjectGuid goSkyRoomFloorGUID
 
ObjectGuid goSjonnirConsoleGUID
 
ObjectGuid goSjonnirDoorGUID
 
ObjectGuid goLeftPipeGUID
 
ObjectGuid goRightPipeGUID
 
ObjectGuid goTribunalDoorGUID
 
ObjectGuid SjonnirGUID
 
ObjectGuid BrannGUID
 
bool brannAchievement
 
bool sjonnirAchievement
 
bool isMaidenOfGriefDead
 
bool isKrystalusDead
 
- Public Attributes inherited from InstanceScript
Mapinstance
 
TaskScheduler scheduler
 

Additional Inherited Members

- Static Public Member Functions inherited from InstanceScript
static std::string GetBossStateName (uint8 state)
 
- Protected Member Functions inherited from InstanceScript
void SetHeaders (std::string const &dataHeaders)
 
void SetBossNumber (uint32 number)
 
void SetPersistentDataCount (uint32 number)
 
void LoadBossBoundaries (BossBoundaryData const &data)
 
void LoadDoorData (DoorData const *data)
 
void LoadMinionData (MinionData const *data)
 
void LoadObjectData (ObjectData const *creatureData, ObjectData const *gameObjectData)
 
void LoadSummonData (ObjectData const *data)
 
void SetSummoner (Creature *creature)
 
void AddObject (Creature *obj, bool add=true)
 
void RemoveObject (Creature *obj)
 
void AddObject (GameObject *obj, bool add=true)
 
void RemoveObject (GameObject *obj)
 
void AddObject (WorldObject *obj, uint32 type, bool add=true)
 
void RemoveObject (WorldObject *obj, uint32 type)
 
void AddDoor (GameObject *door, bool add=true)
 
void RemoveDoor (GameObject *door)
 
void AddMinion (Creature *minion, bool add=true)
 
void RemoveMinion (Creature *minion)
 
void UpdateDoorState (GameObject *door)
 
void UpdateMinionState (Creature *minion, EncounterState state)
 
bool ReadSaveDataHeaders (std::istringstream &data)
 
void ReadSaveDataBossStates (std::istringstream &data)
 
void ReadSavePersistentData (std::istringstream &data)
 
virtual void ReadSaveDataMore (std::istringstream &)
 
void WriteSaveDataHeaders (std::ostringstream &data)
 
void WriteSaveDataBossStates (std::ostringstream &data)
 
void WritePersistentData (std::ostringstream &data)
 
virtual void WriteSaveDataMore (std::ostringstream &)
 

Detailed Description

Constructor & Destructor Documentation

◆ instance_halls_of_stone_InstanceMapScript()

instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::instance_halls_of_stone_InstanceMapScript ( Map map)
inline
35: InstanceScript(map) { Initialize(); }
Definition: InstanceScript.h:142
void Initialize() override
Definition: instance_halls_of_stone.cpp:58

References Initialize().

Member Function Documentation

◆ CheckAchievementCriteriaMeet()

bool instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::CheckAchievementCriteriaMeet ( uint32  criteria_id,
Player const *  ,
Unit const *  ,
uint32   
)
inlineoverridevirtual

Reimplemented from InstanceScript.

188 {
189 switch (criteria_id)
190 {
191 case 7590: // Brann Spankin' New (2154)
192 return brannAchievement;
193 case 7593: // Abuse the Ooze (2155)
194 return sjonnirAchievement;
195 }
196
197 return false;
198 }
bool brannAchievement
Definition: instance_halls_of_stone.cpp:53
bool sjonnirAchievement
Definition: instance_halls_of_stone.cpp:54

References brannAchievement, and sjonnirAchievement.

◆ GetData()

uint32 instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::GetData ( uint32  id) const
inlineoverridevirtual

Reimplemented from ZoneScript.

173 {
174 switch (id)
175 {
176 case BOSS_KRYSTALLUS:
179 case BOSS_SJONNIR:
181 return Encounter[id];
182 }
183
184 return 0;
185 }
Encounter
Definition: halls_of_stone.h:45
@ BOSS_KRYSTALLUS
Definition: halls_of_stone.h:46
@ BRANN_BRONZEBEARD
Definition: halls_of_stone.h:50
@ BOSS_MAIDEN_OF_GRIEF
Definition: halls_of_stone.h:47
@ BOSS_TRIBUNAL_OF_AGES
Definition: halls_of_stone.h:48
@ BOSS_SJONNIR
Definition: halls_of_stone.h:49

References BOSS_KRYSTALLUS, BOSS_MAIDEN_OF_GRIEF, BOSS_SJONNIR, BOSS_TRIBUNAL_OF_AGES, and BRANN_BRONZEBEARD.

◆ GetGuidData()

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::GetGuidData ( uint32  id) const
inlineoverridevirtual

Reimplemented from InstanceScript.

139 {
140 switch (id)
141 {
145 return goTribunalDoorGUID;
148 case GO_SJONNIR_DOOR:
149 return goSjonnirDoorGUID;
150 case GO_LEFT_PIPE:
151 return goLeftPipeGUID;
152 case GO_RIGHT_PIPE:
153 return goRightPipeGUID;
154 case GO_KADDRAK:
155 return goKaddrakGUID;
156 case GO_MARNAK:
157 return goMarnakGUID;
158 case GO_ABEDNEUM:
159 return goAbedneumGUID;
160 case GO_SKY_FLOOR:
161 return goSkyRoomFloorGUID;
162
163 case NPC_SJONNIR:
164 return SjonnirGUID;
165 case NPC_BRANN:
166 return BrannGUID;
167 }
168
169 return ObjectGuid::Empty;
170 }
@ NPC_BRANN
Definition: halls_of_stone.h:80
@ NPC_SJONNIR
Definition: halls_of_stone.h:79
@ GO_ABEDNEUM
Definition: halls_of_stone.h:64
@ GO_KADDRAK
Definition: halls_of_stone.h:62
@ GO_LEFT_PIPE
Definition: halls_of_stone.h:70
@ GO_RIGHT_PIPE
Definition: halls_of_stone.h:71
@ GO_TRIBUNAL_CONSOLE
Definition: halls_of_stone.h:60
@ GO_TRIBUNAL_ACCESS_DOOR
Definition: halls_of_stone.h:61
@ GO_SJONNIR_DOOR
Definition: halls_of_stone.h:67
@ GO_MARNAK
Definition: halls_of_stone.h:63
@ GO_SKY_FLOOR
Definition: halls_of_stone.h:65
@ GO_SJONNIR_CONSOLE
Definition: halls_of_stone.h:66
static ObjectGuid const Empty
Definition: ObjectGuid.h:120
ObjectGuid goTribunalDoorGUID
Definition: instance_halls_of_stone.cpp:48
ObjectGuid goRightPipeGUID
Definition: instance_halls_of_stone.cpp:47
ObjectGuid goLeftPipeGUID
Definition: instance_halls_of_stone.cpp:46
ObjectGuid goSjonnirDoorGUID
Definition: instance_halls_of_stone.cpp:45
ObjectGuid SjonnirGUID
Definition: instance_halls_of_stone.cpp:50
ObjectGuid goSjonnirConsoleGUID
Definition: instance_halls_of_stone.cpp:44
ObjectGuid goAbedneumGUID
Definition: instance_halls_of_stone.cpp:41
ObjectGuid goSkyRoomFloorGUID
Definition: instance_halls_of_stone.cpp:43
ObjectGuid goKaddrakGUID
Definition: instance_halls_of_stone.cpp:39
ObjectGuid goMarnakGUID
Definition: instance_halls_of_stone.cpp:40
ObjectGuid BrannGUID
Definition: instance_halls_of_stone.cpp:51
ObjectGuid goTribunalConsoleGUID
Definition: instance_halls_of_stone.cpp:42

References BrannGUID, ObjectGuid::Empty, GO_ABEDNEUM, GO_KADDRAK, GO_LEFT_PIPE, GO_MARNAK, GO_RIGHT_PIPE, GO_SJONNIR_CONSOLE, GO_SJONNIR_DOOR, GO_SKY_FLOOR, GO_TRIBUNAL_ACCESS_DOOR, GO_TRIBUNAL_CONSOLE, goAbedneumGUID, goKaddrakGUID, goLeftPipeGUID, goMarnakGUID, goRightPipeGUID, goSjonnirConsoleGUID, goSjonnirDoorGUID, goSkyRoomFloorGUID, goTribunalConsoleGUID, goTribunalDoorGUID, NPC_BRANN, NPC_SJONNIR, and SjonnirGUID.

◆ Initialize()

void instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::Initialize ( )
inlineoverridevirtual

Reimplemented from InstanceScript.

59 {
61 memset(&Encounter, 0, sizeof(Encounter));
62
63 brannAchievement = false;
64 sjonnirAchievement = false;
65 isMaidenOfGriefDead = false;
66 isKrystalusDead = false;
67 }
#define DataHeader
Definition: blackrock_depths.h:23
void SetHeaders(std::string const &dataHeaders)
Definition: InstanceScript.cpp:141
bool isKrystalusDead
Definition: instance_halls_of_stone.cpp:56
bool isMaidenOfGriefDead
Definition: instance_halls_of_stone.cpp:55

References brannAchievement, DataHeader, isKrystalusDead, isMaidenOfGriefDead, InstanceScript::SetHeaders(), and sjonnirAchievement.

Referenced by instance_halls_of_stone_InstanceMapScript().

◆ IsEncounterInProgress()

bool instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::IsEncounterInProgress ( ) const
inlineoverridevirtual

Reimplemented from InstanceScript.

70 {
71 for (uint8 i = 0; i < MAX_ENCOUNTER; ++i)
72 {
73 if (Encounter[i] == IN_PROGRESS && i != BRANN_BRONZEBEARD)
74 {
75 return true;
76 }
77 }
78 return false;
79 }
std::uint8_t uint8
Definition: Define.h:109
#define MAX_ENCOUNTER
Definition: violet_hold.h:21
@ IN_PROGRESS
Definition: InstanceScript.h:58

References BRANN_BRONZEBEARD, IN_PROGRESS, and MAX_ENCOUNTER.

◆ OnCreatureCreate()

void instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::OnCreatureCreate ( Creature creature)
inlineoverridevirtual

Reimplemented from InstanceScript.

126 {
127 switch (creature->GetEntry())
128 {
129 case NPC_SJONNIR:
130 SjonnirGUID = creature->GetGUID();
131 break;
132 case NPC_BRANN:
133 BrannGUID = creature->GetGUID();
134 break;
135 }
136 }
uint32 GetEntry() const
Definition: Object.h:115
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112

References BrannGUID, Object::GetEntry(), Object::GetGUID(), NPC_BRANN, NPC_SJONNIR, and SjonnirGUID.

◆ OnGameObjectCreate()

void instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::OnGameObjectCreate ( GameObject go)
inlineoverridevirtual

Reimplemented from InstanceScript.

82 {
83 switch (go->GetEntry())
84 {
85 case GO_KADDRAK:
86 goKaddrakGUID = go->GetGUID();
87 break;
88 case GO_ABEDNEUM:
89 goAbedneumGUID = go->GetGUID();
92 break;
93 case GO_MARNAK:
94 goMarnakGUID = go->GetGUID();
95 break;
98 break;
102 break;
103 case GO_SKY_FLOOR:
107 break;
110 break;
111 case GO_SJONNIR_DOOR:
115 break;
116 case GO_LEFT_PIPE:
117 goLeftPipeGUID = go->GetGUID();
118 break;
119 case GO_RIGHT_PIPE:
120 goRightPipeGUID = go->GetGUID();
121 break;
122 }
123 }
@ DONE
Definition: InstanceScript.h:60
@ GO_STATE_READY
Definition: GameObjectData.h:690
@ GO_STATE_ACTIVE
Definition: GameObjectData.h:689
void SetGoState(GOState state)
Definition: GameObject.cpp:2479

References BOSS_TRIBUNAL_OF_AGES, DONE, Object::GetEntry(), Object::GetGUID(), GO_ABEDNEUM, GO_KADDRAK, GO_LEFT_PIPE, GO_MARNAK, GO_RIGHT_PIPE, GO_SJONNIR_CONSOLE, GO_SJONNIR_DOOR, GO_SKY_FLOOR, GO_STATE_ACTIVE, GO_STATE_READY, GO_TRIBUNAL_ACCESS_DOOR, GO_TRIBUNAL_CONSOLE, goAbedneumGUID, goKaddrakGUID, goLeftPipeGUID, goMarnakGUID, goRightPipeGUID, goSjonnirConsoleGUID, goSjonnirDoorGUID, goSkyRoomFloorGUID, goTribunalConsoleGUID, goTribunalDoorGUID, and GameObject::SetGoState().

◆ ReadSaveDataMore()

void instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::ReadSaveDataMore ( std::istringstream &  data)
inlineoverridevirtual

Reimplemented from InstanceScript.

318 {
319 data >> Encounter[0];
320 data >> Encounter[1];
321 data >> Encounter[2];
322 data >> Encounter[3];
323 data >> Encounter[4];
324 }

◆ SetData()

void instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::SetData ( uint32  type,
uint32  data 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

201 {
202 if (type < MAX_ENCOUNTER)
203 Encounter[type] = data;
204
205 if (data == DONE)
206 {
209 }
210
213 tribunalDoor->SetGoState(GO_STATE_ACTIVE);
214
215 if (type == BOSS_TRIBUNAL_OF_AGES && data == SPECIAL)
216 {
218 pSkyRoomFloor->SetGoState(GO_STATE_READY);
219 }
220
221 if (type == BOSS_TRIBUNAL_OF_AGES && data == DONE)
222 {
226
228 bool skyRoomDown = false;
229
230 if (pAbedneum && pKaddrak && pMarnak && pSkyRoomFloor)
231 {
232 if (pAbedneum->GetGoState() != GO_STATE_ACTIVE)
233 {
234 if (pKaddrak->GetGoState() != GO_STATE_ACTIVE && pMarnak->GetGoState() != GO_STATE_ACTIVE)
235 {
236 //Abedneum first talk
237 pAbedneum->SetGoState(GO_STATE_ACTIVE);
238 }
239 else if (pMarnak->GetGoState() == GO_STATE_ACTIVE)
240 {
241 //Abedneum second talk
242 pAbedneum->SetGoState(GO_STATE_ACTIVE);
243 pMarnak->SetGoState(GO_STATE_READY);
244 pSkyRoomFloor->SetGoState(GO_STATE_READY);
245 skyRoomDown = true;
246 }
247 else
248 {
249 //Marnak talk
250 if (pKaddrak->GetGoState() == GO_STATE_ACTIVE)
251 {
252 pMarnak->SetGoState(GO_STATE_ACTIVE);
253 pKaddrak->SetGoState(GO_STATE_READY);
254 pSkyRoomFloor->SetGoState(GO_STATE_READY);
255 }
256 }
257 }
258 else
259 {
260 //Kaddrak talk
261 if (pKaddrak->GetGoState() != GO_STATE_ACTIVE)
262 {
263 pAbedneum->SetGoState(GO_STATE_READY);
264 pKaddrak->SetGoState(GO_STATE_ACTIVE);
265 pSkyRoomFloor->SetGoState(GO_STATE_READY);
266 }
267 }
268
269 if (!skyRoomDown)
270 pSkyRoomFloor->SetGoState(GO_STATE_ACTIVE);
271 }
272
273 // Make sjonnir attackable
274 if (Creature* cSjonnir = instance->GetCreature(SjonnirGUID))
275 cSjonnir->RemoveUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
276 }
277
278 if (type == BOSS_TRIBUNAL_OF_AGES && data == NOT_STARTED)
279 {
281 pAbedneum->SetGoState(GO_STATE_READY);
283 pKaddrak->SetGoState(GO_STATE_READY);
285 pMarnak->SetGoState(GO_STATE_READY);
287 pSkyRoomFloor->SetGoState(GO_STATE_READY);
288 }
289
290 if (type == BOSS_TRIBUNAL_OF_AGES && data == FAIL)
291 {
293 pAbedneum->SetGoState(GO_STATE_ACTIVE);
295 pKaddrak->SetGoState(GO_STATE_ACTIVE);
297 pMarnak->SetGoState(GO_STATE_ACTIVE);
299 pSkyRoomFloor->SetGoState(GO_STATE_READY);
300 }
301
302 if (type == DATA_BRANN_ACHIEVEMENT)
303 {
304 brannAchievement = (bool)data;
305 return;
306 }
307 if (type == DATA_SJONNIR_ACHIEVEMENT)
308 {
309 sjonnirAchievement = (bool)data;
310 return;
311 }
312
313 if (data == DONE)
314 SaveToDB();
315 }
@ DATA_SJONNIR_ACHIEVEMENT
Definition: halls_of_stone.h:55
@ DATA_BRANN_ACHIEVEMENT
Definition: halls_of_stone.h:54
@ FAIL
Definition: InstanceScript.h:59
@ SPECIAL
Definition: InstanceScript.h:61
@ NOT_STARTED
Definition: InstanceScript.h:57
@ UNIT_FLAG_NOT_SELECTABLE
Definition: UnitDefines.h:254
Definition: Creature.h:43
Definition: GameObject.h:120
GOState GetGoState() const
Definition: GameObject.h:205
Map * instance
Definition: InstanceScript.h:148
void SaveToDB()
Definition: InstanceScript.cpp:41
GameObject * GetGameObject(ObjectGuid const guid)
Definition: Map.cpp:3322
Creature * GetCreature(ObjectGuid const guid)
Definition: Map.cpp:3317

References BOSS_KRYSTALLUS, BOSS_MAIDEN_OF_GRIEF, BOSS_TRIBUNAL_OF_AGES, brannAchievement, DATA_BRANN_ACHIEVEMENT, DATA_SJONNIR_ACHIEVEMENT, DONE, FAIL, Map::GetCreature(), Map::GetGameObject(), GameObject::GetGoState(), GO_STATE_ACTIVE, GO_STATE_READY, goAbedneumGUID, goKaddrakGUID, goMarnakGUID, goSkyRoomFloorGUID, goTribunalDoorGUID, InstanceScript::instance, isKrystalusDead, isMaidenOfGriefDead, MAX_ENCOUNTER, NOT_STARTED, InstanceScript::SaveToDB(), GameObject::SetGoState(), sjonnirAchievement, SjonnirGUID, SPECIAL, and UNIT_FLAG_NOT_SELECTABLE.

◆ WriteSaveDataMore()

void instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::WriteSaveDataMore ( std::ostringstream &  data)
inlineoverridevirtual

Reimplemented from InstanceScript.

327 {
328 data << Encounter[0] << ' '
329 << Encounter[1] << ' '
330 << Encounter[2] << ' '
331 << Encounter[3] << ' '
332 << Encounter[4] << ' ';
333 }

Member Data Documentation

◆ brannAchievement

bool instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::brannAchievement

◆ BrannGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::BrannGUID

Referenced by GetGuidData(), and OnCreatureCreate().

◆ Encounter

uint32 instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::Encounter[MAX_ENCOUNTER]

◆ goAbedneumGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::goAbedneumGUID

◆ goKaddrakGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::goKaddrakGUID

◆ goLeftPipeGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::goLeftPipeGUID

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ goMarnakGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::goMarnakGUID

◆ goRightPipeGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::goRightPipeGUID

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ goSjonnirConsoleGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::goSjonnirConsoleGUID

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ goSjonnirDoorGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::goSjonnirDoorGUID

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ goSkyRoomFloorGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::goSkyRoomFloorGUID

◆ goTribunalConsoleGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::goTribunalConsoleGUID

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ goTribunalDoorGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::goTribunalDoorGUID

◆ isKrystalusDead

bool instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::isKrystalusDead

Referenced by Initialize(), and SetData().

◆ isMaidenOfGriefDead

bool instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::isMaidenOfGriefDead

Referenced by Initialize(), and SetData().

◆ sjonnirAchievement

bool instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::sjonnirAchievement

◆ SjonnirGUID

ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::SjonnirGUID