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 | 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 &) |
|
inline |
References DataHeader, and InstanceScript::SetHeaders().
|
inline |
References Map::GetCreature(), InstanceScript::instance, Unit::IsAlive(), Unit::IsInCombat(), TIMER_TOMB_RESET, TombBossGUIDs, TombEventCounter, and tombResetTimer.
Referenced by Update().
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
References arenaBossToSpawn, arenaMobsToSpawn, BarAleCount, DATA_ARENA_BOSS, DATA_ARENA_MOBS, DATA_TIME_RING_FAIL, encounter, IN_PROGRESS, SPECIAL, timeRingFail, TYPE_BAR, TYPE_IRON_HALL, TYPE_LYCEUM, TYPE_RING_OF_LAW, TYPE_TOMB_OF_SEVEN, and TYPE_VAULT.
Referenced by Update().
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References CorenGUID, DATA_ARENA1, DATA_ARENA2, DATA_ARENA3, DATA_ARENA4, DATA_COREN, DATA_EMPEROR, DATA_GO_BAR_DOOR, DATA_GO_BAR_KEG, DATA_GO_BAR_KEG_TRAP, DATA_GO_CHALICE, DATA_GOLEM_DOOR_N, DATA_GOLEM_DOOR_S, DATA_MAGMUS, DATA_MOIRA, DATA_PHALANX, DATA_SF_BRAZIER_N, DATA_SF_BRAZIER_S, DATA_THRONE_DOOR, EmperorGUID, ObjectGuid::Empty, GoArena1GUID, GoArena2GUID, GoArena3GUID, GoArena4GUID, GoBarDoorGUID, GoBarKegGUID, GoBarKegTrapGUID, GoGolemNGUID, GoGolemSGUID, GoSFNGUID, GoSFSGUID, GoSpectralChaliceGUID, GoThroneGUID, MagmusGUID, MoiraGUID, and PhalanxGUID.
Referenced by SetData().
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References str_data.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References arenaBossToSpawn, arenaMobsToSpawn, ArenaSpectators, BarAleCount, encounter, GhostKillCount, IronhandCounter, OpenedCoofers, TIMER_TOMB_START, TombEventCounter, tombResetTimer, TombTimer, and urand().
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References encounter, GhostKillCount, IN_PROGRESS, MAX_ENCOUNTER, NOT_STARTED, OUT_LOAD_INST_DATA, OUT_LOAD_INST_DATA_COMPLETE, and OUT_LOAD_INST_DATA_FAIL.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References ArenaSpectators, ArgelmachAdds, ArgelmachGUID, CenterOfRingOfLaw, CorenGUID, DISTANCE_EMPEROR_ROOM, DONE, EmperorGUID, EmperorSenatorsVector, EmperorSpawnPos, encounter, FACTION_NEUTRAL, WorldObject::GetDistance2d(), Object::GetEntry(), Object::GetGUID(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), GoThroneGUID, InstanceScript::HandleGameObject(), IronhandCounter, IronhandGUID, Unit::IsAlive(), MagmusGUID, MoiraGUID, NPC_ANGERREL, NPC_ARENA_SPECTATOR, NPC_COREN_DIREBREW, NPC_DOOMFORGE_ARCANASMITH, NPC_DOOMREL, NPC_DOPEREL, NPC_EMPEROR, NPC_GLOOMREL, NPC_GOLEM_LORD_ARGELMACH, NPC_HATEREL, NPC_IRONHAND_GUARDIAN, NPC_MAGMUS, NPC_MOIRA, NPC_PHALANX, NPC_RAGEREAVER_GOLEM, NPC_SEETHREL, NPC_SHADOWFORCE_CITIZEN, NPC_SHADOWFORGE_PEASANT, NPC_SHADOWFORGE_SENATOR, NPC_VILEREL, NPC_WEAPON_TECHNICIAN, NPC_WRATH_HAMMER_CONSTRUCT, PhalanxGUID, RADIUS_RING_OF_LAW, REACT_DEFENSIVE, Unit::SetFaction(), Creature::SetReactState(), TombBossGUIDs, and TYPE_RING_OF_LAW.
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References ObjectGuid::Empty, Object::GetEntry(), Object::GetGUID(), GhostKillCount, GO_ARENA1, GO_ARENA2, GO_ARENA3, GO_ARENA4, GO_BAR_DOOR, GO_BAR_KEG_SHOT, GO_BAR_KEG_TRAP, GO_CHEST_SEVEN, GO_GOLEM_ROOM_N, GO_GOLEM_ROOM_S, GO_LYCEUM, GO_SF_N, GO_SF_S, GO_SHADOW_DUMMY, GO_SHADOW_GIANT_DOOR, GO_SHADOW_LOCK, GO_SHADOW_MECHANISM, GO_SPECTRAL_CHALICE, GO_THRONE_ROOM, GO_TOMB_ENTER, GO_TOMB_EXIT, GoArena1GUID, GoArena2GUID, GoArena3GUID, GoArena4GUID, GoBarDoorGUID, GoBarKegGUID, GoBarKegTrapGUID, GoChestGUID, GoGolemNGUID, GoGolemSGUID, GoLyceumGUID, GoSFNGUID, GoSFSGUID, GoShadowDummyGUID, GoShadowGiantGUID, GoShadowLockGUID, GoShadowMechGUID, GoSpectralChaliceGUID, GoThroneGUID, GoTombEnterGUID, GoTombExitGUID, and InstanceScript::HandleGameObject().
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References ReplaceMoiraIfSaved().
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
References ArgelmachAdds, DONE, EmperorGUID, EmperorSenatorsVector, Map::GetCreature(), Object::GetEntry(), Object::GetGUID(), GhostKillCount, InstanceScript::instance, NPC_ANGERREL, NPC_DOOMFORGE_ARCANASMITH, NPC_DOOMREL, NPC_DOPEREL, NPC_GLOOMREL, NPC_HATEREL, NPC_MAGMUS, NPC_RAGEREAVER_GOLEM, NPC_SEETHREL, NPC_SHADOWFORGE_SENATOR, NPC_VILEREL, NPC_WEAPON_TECHNICIAN, NPC_WRATH_HAMMER_CONSTRUCT, SetData(), TYPE_IRON_HALL, and TYPE_TOMB_OF_SEVEN.
|
inline |
References MapRefMgr::begin(), MapRefMgr::end(), Map::GetCreature(), Object::GetGUID(), Map::GetPlayers(), InstanceScript::instance, LinkedListHead::IsEmpty(), MoiraGUID, NPC_MOIRA, NPC_PRIESTESS, PriestessGUID, PRINCESS_QUEST_ALLIANCE, PRINCESS_QUEST_HORDE, QUEST_STATUS_REWARDED, TempSummon::RemoveFromWorld(), and Map::SummonCreature().
Referenced by OnPlayerEnter(), and SetData().
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
References ArenaSpectators, ArgelmachAdds, ArgelmachGUID, BarAleCount, DATA_GOLEM_DOOR_N, DATA_GOLEM_DOOR_S, DATA_GOLEM_LORD_ARGELMACH_ADDS, DATA_GOLEM_LORD_ARGELMACH_INIT, DATA_OPEN_COFFER_DOORS, DATA_THRONE_DOOR, DAY, DONE, InstanceScript::DoRespawnGameObject(), EMOTE_ONESHOT_SHOUT, encounter, FACTION_NEUTRAL, FAIL, Map::GetCreature(), GameTime::GetGameTime(), GetGuidData(), GhostKillCount, GoChestGUID, GoTombEnterGUID, GoTombExitGUID, GrimstonePositon, InstanceScript::HandleGameObject(), IN_PROGRESS, InstanceScript::instance, IronhandGUID, LOG_DEBUG, MagmusGUID, NOT_STARTED, NPC_GRIMSTONE, NPC_RAGEREAVER_GOLEM, NPC_WATCHMAN_DOOMGRIP, NPC_WRATH_HAMMER_CONSTRUCT, OpenedCoofers, OUT_SAVE_INST_DATA, OUT_SAVE_INST_DATA_COMPLETE, REACT_DEFENSIVE, REACT_PASSIVE, TempSummon::RemoveFromWorld(), ReplaceMoiraIfSaved(), InstanceScript::SaveToDB(), SetData(), SPECIAL, SPELL_STONED, str_data, Map::SummonCreature(), TEMPSUMMON_MANUAL_DESPAWN, TempSummonGrimstone, timeRingFail, TYPE_BAR, TYPE_IRON_HALL, TYPE_LYCEUM, TYPE_RING_OF_LAW, TYPE_TOMB_OF_SEVEN, and TYPE_VAULT.
Referenced by OnUnitDeath(), SetData(), and TombOfSevenReset().
|
inline |
References FACTION_DARK_IRON_DWARVES, Map::GetCreature(), GhostKillCount, InstanceScript::instance, WorldObject::SelectNearestPlayer(), TIMER_TOMB_RESET, TombBossGUIDs, TombEventCounter, and tombResetTimer.
Referenced by Update().
|
inline |
References FACTION_FRIENDLY, Map::GetCreature(), GhostKillCount, GoTombEnterGUID, GoTombExitGUID, InstanceScript::HandleGameObject(), InstanceScript::instance, NOT_STARTED, SetData(), TIMER_TOMB_START, TombBossGUIDs, TombEventCounter, TombTimer, and TYPE_TOMB_OF_SEVEN.
Referenced by Update().
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
References CheckTombReset(), GetData(), GhostKillCount, IN_PROGRESS, TIMER_TOMBOFTHESEVEN, TombOfSevenEvent(), TombOfSevenReset(), TombTimer, and TYPE_TOMB_OF_SEVEN.
uint8 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::arenaBossToSpawn |
Referenced by GetData(), and Initialize().
uint8 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::arenaMobsToSpawn |
Referenced by GetData(), and Initialize().
std::vector<ObjectGuid> instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::ArenaSpectators |
Referenced by Initialize(), OnCreatureCreate(), and SetData().
GuidList instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::ArgelmachAdds |
Referenced by OnCreatureCreate(), OnUnitDeath(), and SetData().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::ArgelmachGUID |
Referenced by OnCreatureCreate(), and SetData().
uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::BarAleCount |
Referenced by GetData(), Initialize(), and SetData().
Position instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::CenterOfRingOfLaw = Position(595.289, -186.56) |
Referenced by OnCreatureCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::CorenGUID |
Referenced by GetGuidData(), and OnCreatureCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::EmperorGUID |
Referenced by GetGuidData(), OnCreatureCreate(), and OnUnitDeath().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::EmperorSenators[5] |
std::vector<ObjectGuid> instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::EmperorSenatorsVector |
Referenced by OnCreatureCreate(), and OnUnitDeath().
Position instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::EmperorSpawnPos = Position(1380.52, -831, 115) |
Referenced by OnCreatureCreate().
uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::encounter[MAX_ENCOUNTER] |
Referenced by GetData(), Initialize(), Load(), OnCreatureCreate(), and SetData().
uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GhostKillCount |
Referenced by Initialize(), Load(), OnGameObjectCreate(), OnUnitDeath(), SetData(), TombOfSevenEvent(), TombOfSevenReset(), and Update().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena1GUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena2GUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena3GUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena4GUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoBarDoorGUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoBarKegGUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoBarKegTrapGUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoChestGUID |
Referenced by OnGameObjectCreate(), and SetData().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoGolemNGUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoGolemSGUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoLyceumGUID |
Referenced by OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoSFNGUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoSFSGUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowDummyGUID |
Referenced by OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowGiantGUID |
Referenced by OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowLockGUID |
Referenced by OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowMechGUID |
Referenced by OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoSpectralChaliceGUID |
Referenced by GetGuidData(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoThroneGUID |
Referenced by GetGuidData(), OnCreatureCreate(), and OnGameObjectCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoTombEnterGUID |
Referenced by OnGameObjectCreate(), SetData(), and TombOfSevenReset().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoTombExitGUID |
Referenced by OnGameObjectCreate(), SetData(), and TombOfSevenReset().
Position instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GrimstonePositon = Position(625.559f, -205.618f, -52.735f, 2.609f) |
Referenced by SetData().
uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::IronhandCounter |
Referenced by Initialize(), and OnCreatureCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::IronhandGUID[6] |
Referenced by OnCreatureCreate(), and SetData().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::MagmusGUID |
Referenced by GetGuidData(), OnCreatureCreate(), and SetData().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::MoiraGUID |
Referenced by GetGuidData(), OnCreatureCreate(), and ReplaceMoiraIfSaved().
uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::OpenedCoofers |
Referenced by Initialize(), and SetData().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::PhalanxGUID |
Referenced by GetGuidData(), and OnCreatureCreate().
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::PriestessGUID |
Referenced by ReplaceMoiraIfSaved().
std::string instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::str_data |
Referenced by GetSaveData(), and SetData().
TempSummon* instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TempSummonGrimstone = nullptr |
Referenced by SetData().
time_t instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::timeRingFail = 0 |
ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombBossGUIDs[7] |
Referenced by CheckTombReset(), OnCreatureCreate(), TombOfSevenEvent(), and TombOfSevenReset().
uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombEventCounter |
Referenced by CheckTombReset(), Initialize(), TombOfSevenEvent(), and TombOfSevenReset().
uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::tombResetTimer |
Referenced by CheckTombReset(), Initialize(), and TombOfSevenEvent().
uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombTimer |
Referenced by Initialize(), TombOfSevenReset(), and Update().