![]() |
TrinityCore
|
Inheritance diagram for instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript:Private Types | |
| typedef std::unordered_map< uint32, uint32 > | WorldStateMap |
Private Member Functions | |
| uint32 | MissingPlagueCrates () const |
| void | SpawnInfiniteCorruptor () |
| void | SetWorldState (COSWorldStates state, uint32 value, bool immediate=true) |
| void | PropagateWorldStateUpdate () |
| void | SetSpawnGroupState (COSInstanceEntries group, bool state, bool force) |
Private Attributes | |
| EventMap | events |
| COSProgressStates | _currentState |
| WorldStateMap | _sentWorldStates |
| WorldStateMap | _currentWorldStates |
| time_t | _infiniteGuardianTimeout |
| ObjectGuid | _chromieGUID |
| ObjectGuid | _corruptorGUID |
| ObjectGuid | _guardianGUID |
| ObjectGuid | _genericBunnyGUID |
| std::vector< ObjectGuid > | _plagueCrates |
| ObjectGuid | _arthasGUID |
| ObjectGuid | _crierGUID |
| uint32 | _waveCount |
| uint8 | _currentSpawnLoc |
| std::unordered_set< ObjectGuid > | _waveSpawns |
| ObjectGuid | _passageGUID |
Additional Inherited Members | |
Static Public Member Functions inherited from InstanceScript | |
| static bool | ServerAllowsTwoSideGroups () |
| static char const * | GetBossStateName (uint8 state) |
Public Attributes inherited from InstanceScript | |
| InstanceMap * | instance |
Protected Member Functions inherited from InstanceScript | |
| void | SetHeaders (std::string const &dataHeaders) |
| void | SetBossNumber (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 | AddObject (Creature *obj, bool add) |
| void | AddObject (GameObject *obj, bool add) |
| void | AddObject (WorldObject *obj, uint32 type, bool add) |
| virtual void | AddDoor (GameObject *door, bool add) |
| void | AddMinion (Creature *minion, bool add) |
| virtual void | UpdateDoorState (GameObject *door) |
| void | UpdateMinionState (Creature *minion, EncounterState state) |
| void | UpdateSpawnGroups () |
| BossInfo * | GetBossInfo (uint32 id) |
| bool | ReadSaveDataHeaders (std::istringstream &data) |
| void | ReadSaveDataBossStates (std::istringstream &data) |
| void | WriteSaveDataHeaders (std::ostringstream &data) |
| void | WriteSaveDataBossStates (std::ostringstream &data) |
| bool | _SkipCheckRequiredBosses (Player const *player=nullptr) const |
Definition at line 269 of file instance_culling_of_stratholme.cpp.
|
private |
Definition at line 773 of file instance_culling_of_stratholme.cpp.
|
inline |
Definition at line 271 of file instance_culling_of_stratholme.cpp.
References _currentWorldStates, _plagueCrates, _sentWorldStates, DataHeader, doorData, EncounterCount, InstanceScript::LoadDoorData(), NUM_PLAGUE_CRATES, InstanceScript::SetBossNumber(), InstanceScript::SetHeaders(), WORLDSTATE_CRATES_REVEALED, WORLDSTATE_SHOW_CRATES, WORLDSTATE_TIME_GUARDIAN, WORLDSTATE_TIME_GUARDIAN_SHOW, and WORLDSTATE_WAVE_COUNT.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
Definition at line 282 of file instance_culling_of_stratholme.cpp.
References _sentWorldStates, and WorldPackets::WorldState::InitWorldStates::Worldstates.
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 452 of file instance_culling_of_stratholme.cpp.
References _currentState, and DATA_INSTANCE_PROGRESS.
|
inline |
Definition at line 647 of file instance_culling_of_stratholme.cpp.
References _arthasGUID, _currentState, Map::GetCreature(), InstanceScript::instance, and SetInstanceProgress().
Referenced by SetGuidData().
|
inlineprivate |
Definition at line 775 of file instance_culling_of_stratholme.cpp.
References _plagueCrates, DATA_CRATE_REVEALED, Map::GetCreature(), and InstanceScript::instance.
Referenced by SetData().
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
Definition at line 596 of file instance_culling_of_stratholme.cpp.
References _arthasGUID, _chromieGUID, _corruptorGUID, _crierGUID, _genericBunnyGUID, _guardianGUID, _plagueCrates, Object::GetEntry(), Object::GetGUID(), Position::GetPosition(), NPC_ARTHAS, NPC_CHROMIE, NPC_CRATE_HELPER, NPC_GENERIC_BUNNY, NPC_GUARDIAN_OF_TIME, NPC_INFINITE_CORRUPTOR, NPC_LORDAERON_CRIER, WorldObject::setActive(), and TC_LOG_DEBUG.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
Definition at line 633 of file instance_culling_of_stratholme.cpp.
References _currentState, _passageGUID, GAUNTLET_TRANSITION, Object::GetEntry(), GO_HIDDEN_PASSAGE, GO_STATE_ACTIVE, and GO_STATE_READY.
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 376 of file instance_culling_of_stratholme.cpp.
References _currentState, _waveCount, _waveSpawns, EVENT_SCOURGE_WAVE, events, Object::GetGUID(), NUM_SCOURGE_WAVES, PropagateWorldStateUpdate(), EventMap::ScheduleEvent(), SetInstanceProgress(), SetWorldState(), WAVE_MARKER_MAX, WAVE_MARKER_MIN, WAVE_MEATHOOK, WAVES_DONE, and WAVES_IN_PROGRESS.
|
inlineprivate |
Definition at line 805 of file instance_culling_of_stratholme.cpp.
References _currentWorldStates, _sentWorldStates, InstanceScript::DoUpdateWorldState(), and TC_LOG_DEBUG.
Referenced by OnUnitDeath(), SetInstanceProgress(), and SetWorldState().
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
Definition at line 293 of file instance_culling_of_stratholme.cpp.
References _infiniteGuardianTimeout, EVENT_GUARDIAN_TICK, events, GameTime::GetGameTime(), GetStableStateFor(), JUST_STARTED, MINUTE, EventMap::ScheduleEvent(), SetInstanceProgress(), and TC_LOG_DEBUG.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
Definition at line 459 of file instance_culling_of_stratholme.cpp.
References EventMap::CancelEvent(), DATA_INFINITE_CORRUPTOR, DONE, EVENT_GUARDIAN_TICK, events, InstanceScript::SetBossState(), SetWorldState(), WORLDSTATE_TIME_GUARDIAN, and WORLDSTATE_TIME_GUARDIAN_SHOW.
Referenced by Update().
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 317 of file instance_culling_of_stratholme.cpp.
References _arthasGUID, _currentState, COMPLETE, CRATES_DONE, CRATES_IN_PROGRESS, DATA_ARTHAS_DIED, DATA_CRATE_REVEALED, DATA_CRATES_START, DATA_GAUNTLET_DONE, DATA_GAUNTLET_REACHED, DATA_GM_OVERRIDE, DATA_MALGANIS_DONE, DATA_REACH_TOWN_HALL, DATA_SKIP_TO_PURGE, DATA_START_WAVES, DATA_TOWN_HALL_DONE, DATA_UTHER_FINISHED, ObjectGuid::Empty, GAUNTLET_COMPLETE, GAUNTLET_IN_PROGRESS, GAUNTLET_PENDING, GAUNTLET_TRANSITION, GetStableStateFor(), JUST_STARTED, MALGANIS_IN_PROGRESS, MissingPlagueCrates(), NUM_PLAGUE_CRATES, PURGE_PENDING, PURGE_STARTING, SetInstanceProgress(), SetWorldState(), TOWN_HALL, TOWN_HALL_COMPLETE, TOWN_HALL_PENDING, UTHER_TALK, WAVES_DONE, WAVES_IN_PROGRESS, and WORLDSTATE_CRATES_REVEALED.
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 405 of file instance_culling_of_stratholme.cpp.
References _arthasGUID, _currentState, ACTION_START_RP_EVENT2, ACTION_START_RP_EVENT3, ACTION_START_RP_EVENT4_1, ACTION_START_RP_EVENT4_2, ACTION_START_RP_EVENT5, MapRefManager::begin(), CRATES_DONE, DATA_GM_RECALL, DATA_START_GAUNTLET, DATA_START_MALGANIS, DATA_START_PURGE, DATA_START_TOWN_HALL, DATA_TO_GAUNTLET, DATA_UTHER_START, MapRefManager::end(), GAUNTLET_COMPLETE, GAUNTLET_IN_PROGRESS, GAUNTLET_PENDING, GAUNTLET_TRANSITION, GetArthasSnapbackFor(), Map::GetCreature(), Map::GetPlayers(), Position::GetPosition(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), InitiateArthasEvent(), InstanceScript::instance, M_PI, MALGANIS_IN_PROGRESS, PURGE_PENDING, PURGE_STARTING, rand_norm(), SetInstanceProgress(), TOWN_HALL, TOWN_HALL_COMPLETE, TOWN_HALL_PENDING, and UTHER_TALK.
|
inline |
Definition at line 656 of file instance_culling_of_stratholme.cpp.
References _arthasGUID, _currentSpawnLoc, _currentState, ContainerUnorderedMap< OBJECT, KEY_TYPE >::_element, _genericBunnyGUID, _passageGUID, _waveCount, _waveSpawns, ACTION_PROGRESS_UPDATE, Creature::AI(), CRATES_DONE, CRATES_IN_PROGRESS, DEAD, Map::DeleteRespawnTimes(), Creature::DespawnOrUnsummon(), UnitAI::DoAction(), EVENT_CRIER_CALL_TO_GATES, EVENT_RESPAWN_ARTHAS, EVENT_SCOURGE_WAVE, events, GAUNTLET_COMPLETE, GAUNTLET_TRANSITION, Map::GetCreature(), TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::GetElements(), Map::GetGameObject(), Map::GetObjectsStore(), GO_STATE_ACTIVE, GO_STATE_READY, InstanceScript::instance, JUST_STARTED, NUM_PLAGUE_CRATES, NUM_SCOURGE_WAVES, PropagateWorldStateUpdate(), EventMap::RescheduleEvent(), EventMap::Reset(), InstanceScript::SaveToDB(), EventMap::ScheduleEvent(), SetSpawnGroupState(), SetWorldState(), SPAWNGRP_CHROMIE_MID, SPAWNGRP_CRATE_HELPERS, SPAWNGRP_GAUNTLET_TRASH, SPAWNGRP_RESIDENTS, SPAWNGRP_UNDEAD_TRASH, SpawnInfiniteCorruptor(), SPELL_CRATES_KILL_CREDIT, TC_LOG_DEBUG, TRIGGERED_FULL_MASK, WAVES_DONE, WAVES_IN_PROGRESS, WORLDSTATE_CRATES_REVEALED, WORLDSTATE_SHOW_CRATES, and WORLDSTATE_WAVE_COUNT.
Referenced by InitiateArthasEvent(), OnUnitDeath(), ReadSaveDataMore(), SetData(), and SetGuidData().
|
inlineprivate |
Definition at line 820 of file instance_culling_of_stratholme.cpp.
References InstanceScript::instance, Map::SetSpawnGroupInactive(), Map::SpawnGroupDespawn(), and Map::SpawnGroupSpawn().
Referenced by SetInstanceProgress().
|
inlineprivate |
Definition at line 797 of file instance_culling_of_stratholme.cpp.
References _currentWorldStates, PropagateWorldStateUpdate(), and TC_LOG_DEBUG.
Referenced by OnUnitDeath(), SetBossState(), SetData(), SetInstanceProgress(), and Update().
|
inlineprivate |
Definition at line 785 of file instance_culling_of_stratholme.cpp.
References _infiniteGuardianTimeout, CorruptorPos, CorruptorRiftPos, DATA_INFINITE_CORRUPTOR, DONE, DUNGEON_DIFFICULTY_HEROIC, EVENT_GUARDIAN_TICK, events, FAIL, InstanceScript::GetBossState(), GameTime::GetGameTime(), Map::GetSpawnMode(), GuardianPos, InstanceScript::instance, MINUTE, NPC_GUARDIAN_OF_TIME, NPC_INFINITE_CORRUPTOR, NPC_TIME_RIFT, EventMap::ScheduleEvent(), and Map::SummonCreature().
Referenced by SetInstanceProgress().
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
Definition at line 474 of file instance_culling_of_stratholme.cpp.
References _chromieGUID, _corruptorGUID, _crierGUID, _currentSpawnLoc, _currentState, _guardianGUID, _infiniteGuardianTimeout, _waveCount, _waveSpawns, ACTION_CORRUPTOR_LEAVE, EventMap::CancelEvent(), CHROMIE_WHISPER_GUARDIAN_1, CHROMIE_WHISPER_GUARDIAN_2, CHROMIE_WHISPER_GUARDIAN_3, CRATES_DONE, CRIER_SAY_CALL_TO_GATES, DATA_INFINITE_CORRUPTOR, DUNGEON_DIFFICULTY_HEROIC, EVENT_CRIER_ANNOUNCE_WAVE, EVENT_CRIER_CALL_TO_GATES, EVENT_GUARDIAN_TICK, EVENT_RESPAWN_ARTHAS, EVENT_SCOURGE_WAVE, events, EventMap::ExecuteEvent(), FAIL, GetArthasSnapbackFor(), Map::GetCreature(), GameTime::GetGameTime(), Map::GetSpawnMode(), HeroicWaves, InstanceScript::instance, Unit::Kill(), MAX_SPAWNS_PER_WAVE, MINUTE, NPC_ARTHAS, NPC_DEVOURING_GHOUL, NPC_MEATHOOK, NPC_SALRAMM, EventMap::Repeat(), EventMap::RescheduleEvent(), SetBossState(), SetWorldState(), WaveLocation::SpawnPoints, Map::SummonCreature(), TC_LOG_DEBUG, EventMap::Update(), urand(), WAVE_LOC_MAX, WAVE_LOC_MIN, WAVE_MARKER_MAX, WAVE_MARKER_MIN, WAVE_MEATHOOK, WAVE_SALRAMM, WaveLocations, WAVES_IN_PROGRESS, WaveLocation::WorldState, WORLDSTATE_TIME_GUARDIAN, WORLDSTATE_TIME_GUARDIAN_SHOW, and WORLDSTATE_WAVE_COUNT.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
Definition at line 288 of file instance_culling_of_stratholme.cpp.
References _currentState, and _infiniteGuardianTimeout.
|
private |
Definition at line 843 of file instance_culling_of_stratholme.cpp.
Referenced by InitiateArthasEvent(), OnCreatureCreate(), SetData(), SetGuidData(), and SetInstanceProgress().
|
private |
Definition at line 837 of file instance_culling_of_stratholme.cpp.
Referenced by OnCreatureCreate(), and Update().
|
private |
Definition at line 838 of file instance_culling_of_stratholme.cpp.
Referenced by OnCreatureCreate(), and Update().
|
private |
Definition at line 844 of file instance_culling_of_stratholme.cpp.
Referenced by OnCreatureCreate(), and Update().
|
private |
Definition at line 848 of file instance_culling_of_stratholme.cpp.
Referenced by SetInstanceProgress(), and Update().
|
private |
Definition at line 831 of file instance_culling_of_stratholme.cpp.
Referenced by GetData(), InitiateArthasEvent(), OnGameObjectCreate(), OnUnitDeath(), SetData(), SetGuidData(), SetInstanceProgress(), Update(), and WriteSaveDataMore().
|
private |
Definition at line 833 of file instance_culling_of_stratholme.cpp.
Referenced by instance_culling_of_stratholme_InstanceMapScript(), PropagateWorldStateUpdate(), and SetWorldState().
|
private |
Definition at line 840 of file instance_culling_of_stratholme.cpp.
Referenced by OnCreatureCreate(), and SetInstanceProgress().
|
private |
Definition at line 839 of file instance_culling_of_stratholme.cpp.
Referenced by OnCreatureCreate(), and Update().
|
private |
Definition at line 834 of file instance_culling_of_stratholme.cpp.
Referenced by ReadSaveDataMore(), SpawnInfiniteCorruptor(), Update(), and WriteSaveDataMore().
|
private |
Definition at line 852 of file instance_culling_of_stratholme.cpp.
Referenced by OnGameObjectCreate(), and SetInstanceProgress().
|
private |
Definition at line 841 of file instance_culling_of_stratholme.cpp.
Referenced by instance_culling_of_stratholme_InstanceMapScript(), MissingPlagueCrates(), and OnCreatureCreate().
|
private |
Definition at line 832 of file instance_culling_of_stratholme.cpp.
Referenced by FillInitialWorldStates(), instance_culling_of_stratholme_InstanceMapScript(), and PropagateWorldStateUpdate().
|
private |
Definition at line 847 of file instance_culling_of_stratholme.cpp.
Referenced by OnUnitDeath(), SetInstanceProgress(), and Update().
|
private |
Definition at line 849 of file instance_culling_of_stratholme.cpp.
Referenced by OnUnitDeath(), SetInstanceProgress(), and Update().
|
private |
Definition at line 830 of file instance_culling_of_stratholme.cpp.
Referenced by OnUnitDeath(), ReadSaveDataMore(), SetBossState(), SetInstanceProgress(), SpawnInfiniteCorruptor(), and Update().