AzerothCore 3.3.5a
OpenSource WoW Emulator
|
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 | 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 &) |
|
inline |
References DataHeader, and InstanceScript::SetHeaders().
|
inline |
References bFinished5Waves, chosenComposition, InstanceScript::DoUpdateWorldState(), Map::GetCreature(), GO_FrontDoorGUID, InstanceScript::HandleGameObject(), InstanceScript::instance, NextWaveTimer, NPC_FalricGUID, NPC_MarwynGUID, NPC_TrashGUID, NUM_OF_TRASH, reqKillCount, TrashActive, UNIT_FLAG_NOT_SELECTABLE, urand(), WaveNumber, WORLD_STATE_HOR_COUNTER, and WORLD_STATE_HOR_WAVE_COUNT.
|
inline |
References chosenComposition, InstanceScript::DoUpdateWorldState(), Map::GetCreature(), GO_FrontDoorGUID, InstanceScript::HandleGameObject(), InstanceScript::instance, NextWaveTimer, NPC_FalricGUID, NPC_MarwynGUID, NPC_TrashGUID, NUM_OF_TRASH, reqKillCount, ResumeFirstEventStep, ResumeFirstEventTimer, TrashActive, TrashCounter, UNIT_FLAG_NOT_SELECTABLE, WaveNumber, WORLD_STATE_HOR_COUNTER, and WORLD_STATE_HOR_WAVE_COUNT.
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
References BatteredHiltStatus, DATA_BATTERED_HILT, DATA_FALRIC, DATA_FROSTSWORN_GENERAL, DATA_INTRO, DATA_LICH_KING, DATA_LK_INTRO, DATA_MARWYN, DATA_WAVE_NUMBER, EncounterMask, and WaveNumber.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References DATA_FALRIC, DATA_MARWYN, ObjectGuid::Empty, GO_ARTHAS_DOOR, GO_ArthasDoorGUID, GO_FRONT_DOOR, GO_FrontDoorGUID, GO_FROSTMOURNE, GO_FrostmourneGUID, NPC_DARK_RANGER_LORALEN, NPC_FalricGUID, NPC_GuardGUID, NPC_ICE_WALL_TARGET, NPC_IceWallTargetGUID, NPC_LeaderGUID, NPC_LICH_KING_BOSS, NPC_LICH_KING_EVENT, NPC_LichKingGUID, NPC_LichKingIntroGUID, NPC_MarwynGUID, NPC_SYLVANAS_PART2, NPC_UTHER, and NPC_UtherGUID.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References BatteredHiltStatus, bFinished5Waves, CheckPlayersTimer, chosenComposition, EncounterMask, IsDuringLKFight, NextWaveTimer, outroStep, outroTimer, reqKillCount, ResumeFirstEventStep, ResumeFirstEventTimer, T1, TEAM_NEUTRAL, TeamIdInInstance, TrashActive, TrashCounter, and WaveNumber.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References Map::HavePlayers(), InstanceScript::instance, IsDuringLKFight, and WaveNumber.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References Unit::AddAura(), Unit::AddUnitMovementFlag(), MapRefMgr::begin(), Unit::CastSpell(), DATA_FROSTSWORN_GENERAL, DATA_LICH_KING, DATA_LK_INTRO, DATA_MARWYN, EMOTE_ONESHOT_ATTACK1H, EMOTE_ONESHOT_ATTACK2HTIGHT, EncounterMask, MapRefMgr::end(), Object::GetEntry(), Object::GetGUID(), Unit::GetMaxHealth(), Map::GetPlayers(), Position::GetPositionX(), InstanceScript::instance, Unit::IsAlive(), LinkedListHead::IsEmpty(), LeaderEscapePos, Map::LoadGrid(), MOVE_RUN, MOVEMENTFLAG_WALKING, NPC_ALTAR_BUNNY, NPC_AltarBunnyGUID, NPC_ARCHMAGE_KORELN, NPC_DARK_RANGER_LORALEN, NPC_FALRIC, NPC_FalricGUID, NPC_FROSTSWORN_GENERAL, NPC_FrostswornGeneralGUID, NPC_GuardGUID, NPC_HIGH_CAPTAIN_JUSTIN_BARLETT, NPC_ICE_WALL_TARGET, NPC_IceWallTargetGUID, NPC_JAINA_PART1, NPC_JAINA_PART2, NPC_LeaderGUID, NPC_LeaderIntroGUID, NPC_LICH_KING_BOSS, NPC_LICH_KING_EVENT, NPC_LichKingGUID, NPC_LichKingIntroGUID, NPC_MARWYN, NPC_MarwynGUID, NPC_QUEL_DELAR, NPC_QuelDelarGUID, NPC_ShipCaptainGUID, NPC_SKY_REAVER_KORM_BLACKSKAR, NPC_SPIRITUAL_REFLECTION, NPC_SpiritualReflectionGUID, NPC_SYLVANAS_PART1, NPC_SYLVANAS_PART2, NPC_TrashGUID, NPC_UTHER, NPC_UtherGUID, NPC_WAVE_FOOTMAN, NPC_WAVE_MAGE, NPC_WAVE_MERCENARY, NPC_WAVE_PRIEST, NPC_WAVE_RIFLEMAN, NUM_OF_TRASH, PATH_WP_COUNT, PathWaypoints, REACT_PASSIVE, Unit::RemoveNpcFlag(), Unit::RemoveUnitMovementFlag(), Creature::Respawn(), Unit::SetHealth(), Unit::SetNpcFlag(), Creature::SetReactState(), Unit::SetSheath(), Unit::SetSpeed(), Unit::SetUInt32Value(), Unit::SetVisible(), Creature::SetWalk(), SHEATH_STATE_MELEE, SPELL_JAINA_ICE_BARRIER, SPELL_JAINA_ICE_PRISON, SPELL_SOUL_REAPER, SPELL_SYLVANAS_CLOAK_OF_DARKNESS, SPELL_SYLVANAS_DARK_BINDING, Unit::StopMovingOnCurrentPos(), TEAM_ALLIANCE, TEAM_NEUTRAL, TeamIdInInstance, TrashCounter, UNIT_NPC_EMOTESTATE, UNIT_NPC_FLAG_GOSSIP, UNIT_NPC_FLAG_QUESTGIVER, Creature::UpdateEntry(), and Unit::UpdatePosition().
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References DATA_INTRO, DATA_MARWYN, ObjectGuid::Empty, EncounterMask, Object::GetEntry(), Object::GetGUID(), GO_ARTHAS_DOOR, GO_ArthasDoorGUID, GO_CAVE_IN, GO_CaveInGUID, GO_DOOR_AFTER_THRONE, GO_DOOR_BEFORE_THRONE, GO_DoorAfterThroneGUID, GO_DoorBeforeThroneGUID, GO_FRONT_DOOR, GO_FrontDoorGUID, GO_FROSTMOURNE, GO_FROSTMOURNE_ALTAR, GO_FrostmourneAltarGUID, GO_FrostmourneGUID, GO_ICE_WALL, GO_IceWallGUID, InstanceScript::HandleGameObject(), and GameObject::SetPhaseMask().
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
References Map::GetCreature(), Object::GetEntry(), InstanceScript::instance, NextWaveTimer, NPC_QUEL_DELAR, NPC_UtherGUID, NPC_WAVE_FOOTMAN, NPC_WAVE_MAGE, NPC_WAVE_MERCENARY, NPC_WAVE_PRIEST, NPC_WAVE_RIFLEMAN, reqKillCount, UNIT_STAND_STATE_STAND, and WaveNumber.
|
inline |
References allowedCompositions, bFinished5Waves, chosenComposition, Map::GetCreature(), InstanceScript::instance, Unit::Kill(), NPC_TrashGUID, NUM_OF_TRASH, SPELL_WELL_OF_SOULS_VISUAL, TrashActive, urand(), and WaveNumber.
Referenced by SetData().
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References BatteredHiltStatus, BHSF_FINISHED, BHSF_NONE, DATA_BATTERED_HILT, and EncounterMask.
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
References ACHIEV_RETREATING_TIMED_EVENT, ACHIEVEMENT_TIMED_TYPE_EVENT, ACTION_DELETE_ICE_WALL, ACTION_SHOW_TRASH, ACTION_SPIRITUAL_REFLECTIONS_ACTIVATE, ACTION_SPIRITUAL_REFLECTIONS_COPY, ACTION_SPIRITUAL_REFLECTIONS_HIDE, ACTION_START_INTRO, ACTION_START_LK_FIGHT, ACTION_STOP_LK_FIGHT, AddWave1(), BASE_ATTACK, BatteredHiltStatus, MapRefMgr::begin(), BHSF_FINISHED, BHSF_STARTED, BHSF_THROWN, ObjectGuid::Clear(), DATA_BATTERED_HILT, DATA_FALRIC, DATA_FROSTSWORN_GENERAL, DATA_INTRO, DATA_LICH_KING, DATA_LK_INTRO, DATA_MARWYN, DONE, InstanceScript::DoStartTimedAchievement(), InstanceScript::DoStopTimedAchievement(), InstanceScript::DoUpdateWorldState(), DoWipe1(), EMOTE_ONESHOT_EMERGE, EMOTE_ONESHOT_NONE, EncounterMask, MapRefMgr::end(), Map::GetCreature(), Object::GetEntry(), Map::GetPlayers(), Position::GetPositionX(), Position::GetPositionY(), GO_ArthasDoorGUID, GO_FrontDoorGUID, GO_IceWallGUID, InstanceScript::HandleGameObject(), InstanceScript::instance, IsDuringLKFight, LeaderEscapePos, Map::LoadGrid(), MOVE_RUN, MOVEMENTFLAG_WALKING, NextWaveTimer, NOT_STARTED, NPC_AltarBunnyGUID, NPC_FrostswornGeneralGUID, NPC_JAINA_PART2, NPC_LeaderGUID, NPC_LichKingGUID, NPC_QuelDelarGUID, NPC_SpiritualReflectionGUID, NPC_UtherGUID, OFF_ATTACK, outroStep, outroTimer, PathWaypoints, RandomizeCompositionsAndShow(), RANGED_ATTACK, REACT_AGGRESSIVE, InstanceScript::SaveToDB(), Object::SetUInt32Value(), SPELL_HOR_CLONE, SPELL_HOR_CLONE_NAME, SPELL_HOR_START_QUEST_ALLY, SPELL_HOR_START_QUEST_HORDE, SPELL_JAINA_ICE_PRISON, SPELL_SYLVANAS_DARK_BINDING, TEAM_ALLIANCE, TeamIdInInstance, UNIT_NPC_EMOTESTATE, UNIT_NPC_FLAG_GOSSIP, UNIT_NPC_FLAG_QUESTGIVER, UNIT_VIRTUAL_ITEM_SLOT_ID, WaveNumber, and WORLD_STATE_HOR_COUNTER.
Referenced by Update().
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References ACTION_SHOW_TRASH, AddWave1(), MapRefMgr::begin(), CenterPos, CheckPlayersTimer, DATA_INTRO, DATA_MARWYN, DoWipe1(), EMOTE_MARWYN_INTRO_SPIRIT, EMOTE_ONESHOT_CUSTOM_SPELL_02, EMOTE_ONESHOT_NONE, EMOTE_ONESHOT_READY1H, MotionTransport::EnableMovement(), EncounterMask, MapRefMgr::end(), FalricMovePos, Map::GetCreature(), Position::GetOrientation(), Map::GetPlayers(), Map::GetPlayersCountExceptGMs(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), GO_CaveInGUID, GO_FLAG_INTERACT_COND, GO_FLAG_NOT_SELECTABLE, GO_ORGRIMS_HAMMER, GO_STAIRS_ALLIANCE, GO_STAIRS_HORDE, GO_THE_SKYBREAKER, InstanceScript::HandleGameObject(), Map::HavePlayers(), InstanceScript::instance, Map::IsHeroic(), MarwynMovePos, MAX_DIST_FROM_CENTER_IN_COMBAT, MAX_DIST_FROM_CENTER_TO_START, MOVEMENTFLAG_WALKING, NextWaveTimer, NPC_FalricGUID, NPC_LeaderGUID, NPC_LichKingGUID, NPC_MarwynGUID, NPC_ShipCaptainGUID, NPC_TrashGUID, NPC_WRATH_OF_THE_LICH_KING_CREDIT, NUM_OF_TRASH, outroStep, outroTimer, PATH_WP_COUNT, PathWaypoints, InstanceMap::PermBindAllPlayers(), ResumeFirstEventStep, ResumeFirstEventTimer, SAY_FALRIC_INTRO_2, SAY_FIRE_ALLY, SAY_FIRE_HORDE, SAY_JAINA_FINAL_1, SAY_JAINA_FINAL_2, SAY_MARWYN_WIPE_AFTER_FALRIC, SAY_ONBOARD_ALLY, SAY_ONBOARD_HORDE, SAY_SYLVANA_FINAL, WorldObject::setActive(), SetData(), SPELL_ACHIEVEMENT_CHECK, SPELL_GUNSHIP_CANNON_FIRE_PERIODIC, SPELL_HARVEST_SOUL, SPELL_SHADOWMOURNE_VISUAL, StairsPos, sTransportMgr, WorldObject::SummonGameObject(), T1, TEAM_ALLIANCE, TeamIdInInstance, Map::ToInstanceMap(), UNIT_NPC_EMOTESTATE, UNIT_NPC_FLAG_GOSSIP, UNIT_NPC_FLAG_QUESTGIVER, WalkCaveInPos, and WaveNumber.
|
inlineoverridevirtual |
uint32 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::BatteredHiltStatus |
Referenced by GetData(), Initialize(), ReadSaveDataMore(), and SetData().
bool instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::bFinished5Waves |
Referenced by AddWave1(), Initialize(), and RandomizeCompositionsAndShow().
uint16 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::CheckPlayersTimer |
Referenced by Initialize(), and Update().
uint32 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::chosenComposition[8][5] |
Referenced by AddWave1(), DoWipe1(), Initialize(), and RandomizeCompositionsAndShow().
uint32 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::EncounterMask |
Referenced by GetData(), Initialize(), OnCreatureCreate(), OnGameObjectCreate(), ReadSaveDataMore(), SetData(), Update(), and WriteSaveDataMore().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GO_ArthasDoorGUID |
Referenced by GetGuidData(), OnGameObjectCreate(), and SetData().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GO_CaveInGUID |
Referenced by OnGameObjectCreate(), and Update().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GO_DoorAfterThroneGUID |
Referenced by OnGameObjectCreate().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GO_DoorBeforeThroneGUID |
Referenced by OnGameObjectCreate().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GO_FrontDoorGUID |
Referenced by AddWave1(), DoWipe1(), GetGuidData(), OnGameObjectCreate(), and SetData().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GO_FrostmourneAltarGUID |
Referenced by OnGameObjectCreate().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GO_FrostmourneGUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GO_IceWallGUID |
Referenced by OnGameObjectCreate(), and SetData().
bool instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::IsDuringLKFight |
Referenced by Initialize(), IsEncounterInProgress(), and SetData().
uint32 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NextWaveTimer |
Referenced by AddWave1(), DoWipe1(), Initialize(), OnUnitDeath(), SetData(), and Update().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_AltarBunnyGUID |
Referenced by OnCreatureCreate(), and SetData().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_FalricGUID |
Referenced by AddWave1(), DoWipe1(), GetGuidData(), OnCreatureCreate(), and Update().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_FrostswornGeneralGUID |
Referenced by OnCreatureCreate(), and SetData().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_GuardGUID |
Referenced by GetGuidData(), and OnCreatureCreate().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_IceWallTargetGUID[4] |
Referenced by GetGuidData(), and OnCreatureCreate().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_LeaderGUID |
Referenced by GetGuidData(), OnCreatureCreate(), SetData(), and Update().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_LeaderIntroGUID |
Referenced by OnCreatureCreate().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_LichKingGUID |
Referenced by GetGuidData(), OnCreatureCreate(), SetData(), and Update().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_LichKingIntroGUID |
Referenced by GetGuidData(), and OnCreatureCreate().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_MarwynGUID |
Referenced by AddWave1(), DoWipe1(), GetGuidData(), OnCreatureCreate(), and Update().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_QuelDelarGUID |
Referenced by OnCreatureCreate(), and SetData().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_ShipCaptainGUID |
Referenced by OnCreatureCreate(), and Update().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_SpiritualReflectionGUID[5] |
Referenced by OnCreatureCreate(), and SetData().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_TrashGUID[NUM_OF_TRASH] |
Referenced by AddWave1(), DoWipe1(), OnCreatureCreate(), RandomizeCompositionsAndShow(), and Update().
ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::NPC_UtherGUID |
Referenced by GetGuidData(), OnCreatureCreate(), OnUnitDeath(), and SetData().
uint8 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::outroStep |
Referenced by Initialize(), SetData(), and Update().
uint32 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::outroTimer |
Referenced by Initialize(), SetData(), and Update().
uint8 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::reqKillCount |
Referenced by AddWave1(), DoWipe1(), Initialize(), and OnUnitDeath().
uint8 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::ResumeFirstEventStep |
Referenced by DoWipe1(), Initialize(), and Update().
uint16 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::ResumeFirstEventTimer |
Referenced by DoWipe1(), Initialize(), and Update().
MotionTransport* instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::T1 |
Referenced by Initialize(), and Update().
TeamId instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::TeamIdInInstance |
Referenced by Initialize(), OnCreatureCreate(), SetData(), and Update().
bool instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::TrashActive[NUM_OF_TRASH] |
Referenced by AddWave1(), DoWipe1(), Initialize(), and RandomizeCompositionsAndShow().
uint8 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::TrashCounter |
Referenced by DoWipe1(), Initialize(), and OnCreatureCreate().
uint8 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::WaveNumber |
Referenced by AddWave1(), DoWipe1(), GetData(), Initialize(), IsEncounterInProgress(), OnUnitDeath(), RandomizeCompositionsAndShow(), SetData(), and Update().