|
| 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 |
|
| 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 |
|
Creature * | GetCreature (uint32 type) |
|
GameObject * | GetGameObject (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 |
|
| 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) |
|
ObjectGuid instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::GetGuidData |
( |
uint32 |
id | ) |
const |
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
139 {
140 switch (id)
141 {
162
167 }
168
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.
void instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::SetData |
( |
uint32 |
type, |
|
|
uint32 |
data |
|
) |
| |
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
201 {
204
206 {
209 }
210
214
216 {
219 }
220
222 {
226
228 bool skyRoomDown = false;
229
230 if (pAbedneum && pKaddrak && pMarnak && pSkyRoomFloor)
231 {
233 {
235 {
236
238 }
240 {
241
245 skyRoomDown = true;
246 }
247 else
248 {
249
251 {
255 }
256 }
257 }
258 else
259 {
260
262 {
266 }
267 }
268
269 if (!skyRoomDown)
271 }
272
273
276 }
277
279 {
288 }
289
291 {
300 }
301
303 {
305 return;
306 }
308 {
310 return;
311 }
312
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.