![]() |
TrinityCore
|
Inheritance diagram for instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript:Private Member Functions | |
| uint32 | MissingPlagueCrates () const |
| void | SpawnInfiniteCorruptor () |
| void | SetSpawnGroupState (COSInstanceEntries group, bool state, bool force) |
Private Attributes | |
| EventMap | events |
| PersistentInstanceScriptValue< COSProgressStates > | _currentState |
| std::unordered_map< uint32, uint32 > | _currentWorldStates |
| PersistentInstanceScriptValue< 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_view dataHeaders) |
| void | SetBossNumber (uint32 number) |
| void | LoadBossBoundaries (BossBoundaryData const &data) |
| void | LoadDoorData (std::span< DoorData const > data) |
| void | LoadObjectData (std::span< ObjectData const > creatureData, std::span< ObjectData const > gameObjectData) |
| void | LoadDungeonEncounterData (std::span< DungeonEncounterData const > encounters) |
| void | LoadMinionData (std::span< MinionData const > data) |
| 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 | _SkipCheckRequiredBosses (Player const *player=nullptr) const |
Definition at line 272 of file instance_culling_of_stratholme.cpp.
|
inline |
Definition at line 274 of file instance_culling_of_stratholme.cpp.
References _currentWorldStates, _plagueCrates, DataHeader, doorData, EncounterCount, encounters, InstanceScript::LoadDoorData(), InstanceScript::LoadDungeonEncounterData(), 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 289 of file instance_culling_of_stratholme.cpp.
References _currentState, _infiniteGuardianTimeout, EVENT_GUARDIAN_TICK, events, GameTime::GetGameTime(), GetStableStateFor(), MINUTE, EventMap::ScheduleEvent(), SetInstanceProgress(), and TC_LOG_DEBUG.
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 435 of file instance_culling_of_stratholme.cpp.
References _currentState, and DATA_INSTANCE_PROGRESS.
|
inline |
Definition at line 630 of file instance_culling_of_stratholme.cpp.
References _arthasGUID, _currentState, Map::GetCreature(), InstanceScript::instance, and SetInstanceProgress().
Referenced by SetGuidData().
|
inlineprivate |
Definition at line 753 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 579 of file instance_culling_of_stratholme.cpp.
References _arthasGUID, _chromieGUID, _corruptorGUID, _crierGUID, _genericBunnyGUID, _guardianGUID, _plagueCrates, Object::GetEntry(), BaseEntity::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 616 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 363 of file instance_culling_of_stratholme.cpp.
References _currentState, _waveCount, _waveSpawns, InstanceScript::DoUpdateWorldState(), EVENT_SCOURGE_WAVE, events, BaseEntity::GetGUID(), NUM_SCOURGE_WAVES, EventMap::ScheduleEvent(), SetInstanceProgress(), WAVE_MARKER_MAX, WAVE_MARKER_MIN, WAVE_MEATHOOK, WAVES_DONE, and WAVES_IN_PROGRESS.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
Definition at line 442 of file instance_culling_of_stratholme.cpp.
References EventMap::CancelEvent(), DATA_INFINITE_CORRUPTOR, DONE, InstanceScript::DoUpdateWorldState(), EVENT_GUARDIAN_TICK, events, InstanceScript::SetBossState(), WORLDSTATE_TIME_GUARDIAN, and WORLDSTATE_TIME_GUARDIAN_SHOW.
Referenced by Update().
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 304 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, InstanceScript::DoUpdateWorldState(), 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(), 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 391 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, RefManager< ReferenceType >::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, RefManager< ReferenceType >::end(), GAUNTLET_COMPLETE, GAUNTLET_IN_PROGRESS, GAUNTLET_PENDING, GAUNTLET_TRANSITION, GetArthasSnapbackFor(), Map::GetCreature(), Map::GetPlayers(), Position::GetPosition(), InitiateArthasEvent(), InstanceScript::instance, MALGANIS_IN_PROGRESS, PURGE_PENDING, PURGE_STARTING, SetInstanceProgress(), TOWN_HALL, TOWN_HALL_COMPLETE, TOWN_HALL_PENDING, and UTHER_TALK.
|
inline |
Definition at line 639 of file instance_culling_of_stratholme.cpp.
References _arthasGUID, _currentSpawnLoc, _currentState, _genericBunnyGUID, _passageGUID, _waveCount, _waveSpawns, ACTION_PROGRESS_UPDATE, Creature::AI(), CRATES_DONE, CRATES_IN_PROGRESS, TypeListContainer< UnderlyingContainer, Types >::Data, DEAD, Map::DeleteRespawnTimes(), Creature::DespawnOrUnsummon(), UnitAI::DoAction(), InstanceScript::DoUpdateWorldState(), EVENT_CRIER_CALL_TO_GATES, EVENT_RESPAWN_ARTHAS, EVENT_SCOURGE_WAVE, events, GAUNTLET_COMPLETE, GAUNTLET_TRANSITION, Map::GetCreature(), Map::GetGameObject(), Map::GetObjectsStore(), GO_STATE_ACTIVE, GO_STATE_READY, InstanceScript::instance, JUST_STARTED, NUM_PLAGUE_CRATES, NUM_SCOURGE_WAVES, EventMap::RescheduleEvent(), EventMap::Reset(), EventMap::ScheduleEvent(), SetSpawnGroupState(), 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 AfterDataLoad(), InitiateArthasEvent(), OnUnitDeath(), SetData(), and SetGuidData().
|
inlineprivate |
Definition at line 775 of file instance_culling_of_stratholme.cpp.
References InstanceScript::instance, Map::SetSpawnGroupInactive(), Map::SpawnGroupDespawn(), and Map::SpawnGroupSpawn().
Referenced by SetInstanceProgress().
|
inlineprivate |
Definition at line 763 of file instance_culling_of_stratholme.cpp.
References _infiniteGuardianTimeout, CorruptorPos, CorruptorRiftPos, DATA_INFINITE_CORRUPTOR, DONE, EVENT_GUARDIAN_TICK, events, FAIL, InstanceScript::GetBossState(), GameTime::GetGameTime(), GuardianPos, InstanceScript::instance, Map::IsHeroic(), 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 457 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, InstanceScript::DoUpdateWorldState(), 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(), HeroicWaves, InstanceScript::instance, Map::IsHeroic(), Unit::Kill(), MAX_SPAWNS_PER_WAVE, MINUTE, NPC_ARTHAS, NPC_DEVOURING_GHOUL, NPC_MEATHOOK, NPC_SALRAMM, EventMap::Repeat(), EventMap::RescheduleEvent(), SetBossState(), 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.
|
private |
Definition at line 797 of file instance_culling_of_stratholme.cpp.
Referenced by InitiateArthasEvent(), OnCreatureCreate(), SetData(), SetGuidData(), and SetInstanceProgress().
|
private |
Definition at line 791 of file instance_culling_of_stratholme.cpp.
Referenced by OnCreatureCreate(), and Update().
|
private |
Definition at line 792 of file instance_culling_of_stratholme.cpp.
Referenced by OnCreatureCreate(), and Update().
|
private |
Definition at line 798 of file instance_culling_of_stratholme.cpp.
Referenced by OnCreatureCreate(), and Update().
|
private |
Definition at line 802 of file instance_culling_of_stratholme.cpp.
Referenced by SetInstanceProgress(), and Update().
|
private |
Definition at line 786 of file instance_culling_of_stratholme.cpp.
Referenced by AfterDataLoad(), GetData(), InitiateArthasEvent(), OnGameObjectCreate(), OnUnitDeath(), SetData(), SetGuidData(), SetInstanceProgress(), and Update().
|
private |
Definition at line 787 of file instance_culling_of_stratholme.cpp.
Referenced by instance_culling_of_stratholme_InstanceMapScript().
|
private |
Definition at line 794 of file instance_culling_of_stratholme.cpp.
Referenced by OnCreatureCreate(), and SetInstanceProgress().
|
private |
Definition at line 793 of file instance_culling_of_stratholme.cpp.
Referenced by OnCreatureCreate(), and Update().
|
private |
Definition at line 788 of file instance_culling_of_stratholme.cpp.
Referenced by AfterDataLoad(), SpawnInfiniteCorruptor(), and Update().
|
private |
Definition at line 806 of file instance_culling_of_stratholme.cpp.
Referenced by OnGameObjectCreate(), and SetInstanceProgress().
|
private |
Definition at line 795 of file instance_culling_of_stratholme.cpp.
Referenced by instance_culling_of_stratholme_InstanceMapScript(), MissingPlagueCrates(), and OnCreatureCreate().
|
private |
Definition at line 801 of file instance_culling_of_stratholme.cpp.
Referenced by OnUnitDeath(), SetInstanceProgress(), and Update().
|
private |
Definition at line 803 of file instance_culling_of_stratholme.cpp.
Referenced by OnUnitDeath(), SetInstanceProgress(), and Update().
|
private |
Definition at line 785 of file instance_culling_of_stratholme.cpp.
Referenced by AfterDataLoad(), OnUnitDeath(), SetBossState(), SetInstanceProgress(), SpawnInfiniteCorruptor(), and Update().