TrinityCore
instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript Struct Reference
+ Inheritance diagram for instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript:

Public Member Functions

 instance_halls_of_reflection_InstanceMapScript (InstanceMap *map)
 
void OnPlayerEnter (Player *) override
 
void OnCreatureCreate (Creature *creature) override
 
void OnCreatureRemove (Creature *creature) override
 
uint32 GetGameObjectEntry (ObjectGuid::LowType, uint32 entry) override
 
void OnGameObjectCreate (GameObject *go) override
 
void OnGameObjectRemove (GameObject *go) override
 
bool SetBossState (uint32 type, EncounterState state) override
 
void SpawnGunship ()
 
void SpawnEscapeEvent ()
 
void SetData (uint32 type, uint32 data) override
 
void SetGuidData (uint32 type, ObjectGuid data) override
 
void OnUnitDeath (Unit *unit) override
 
void Update (uint32 diff) override
 
void ProcessEvent (WorldObject *, uint32 eventId, WorldObject *) override
 
uint32 GetData (uint32 type) const override
 
ObjectGuid GetGuidData (uint32 type) const override
 
void AfterDataLoad () override
 
- Public Member Functions inherited from InstanceScript
 InstanceScript (InstanceMap *map)
 
 InstanceScript (InstanceScript const &right)=delete
 
 InstanceScript (InstanceScript &&right)=delete
 
InstanceScriptoperator= (InstanceScript const &right)=delete
 
InstanceScriptoperator= (InstanceScript &&right)=delete
 
virtual ~InstanceScript ()
 
virtual void Create ()
 
void Load (char const *data)
 
std::string GetSaveData ()
 
std::string UpdateBossStateSaveData (std::string const &oldData, UpdateBossStateSaveDataEvent const &event)
 
std::string UpdateAdditionalSaveData (std::string const &oldData, UpdateAdditionalSaveDataEvent const &event)
 
Optional< uint32GetEntranceLocationForCompletedEncounters (uint32 completedEncountersMask) const
 
virtual Optional< uint32ComputeEntranceLocationForCompletedEncounters (uint32 completedEncountersMask) const
 
virtual void Update (uint32)
 
void UpdateCombatResurrection (uint32 diff)
 
virtual bool IsEncounterInProgress () const
 
virtual void OnCreatureCreate (Creature *creature) override
 
virtual void OnCreatureRemove (Creature *creature) override
 
virtual void OnGameObjectCreate (GameObject *go) override
 
virtual void OnGameObjectRemove (GameObject *go) override
 
ObjectGuid GetObjectGuid (uint32 type) const
 
virtual ObjectGuid GetGuidData (uint32 type) const override
 
void TriggerGameEvent (uint32 gameEventId, WorldObject *source=nullptr, WorldObject *target=nullptr) override
 
CreatureGetCreature (uint32 type)
 
GameObjectGetGameObject (uint32 type)
 
virtual void OnPlayerEnter (Player *)
 
virtual void OnPlayerLeave (Player *)
 
void HandleGameObject (ObjectGuid guid, bool open, GameObject *go=nullptr)
 
void DoUseDoorOrButton (ObjectGuid guid, uint32 withRestoreTime=0, bool useAlternativeState=false)
 
void DoCloseDoorOrButton (ObjectGuid guid)
 
void DoRespawnGameObject (ObjectGuid guid, Seconds timeToDespawn=1min)
 
void DoUpdateWorldState (int32 worldStateId, int32 value)
 
void DoSendNotifyToInstance (char const *format,...)
 
void DoUpdateCriteria (CriteriaType type, uint32 miscValue1=0, uint32 miscValue2=0, Unit *unit=nullptr)
 
void DoRemoveAurasDueToSpellOnPlayers (uint32 spell, bool includePets=false, bool includeControlled=false)
 
void DoRemoveAurasDueToSpellOnPlayer (Player *player, uint32 spell, bool includePets=false, bool includeControlled=false)
 
void DoCastSpellOnPlayers (uint32 spell, bool includePets=false, bool includeControlled=false)
 
void DoCastSpellOnPlayer (Player *player, uint32 spell, bool includePets=false, bool includeControlled=false)
 
virtual bool SetBossState (uint32 id, EncounterState state)
 
EncounterState GetBossState (uint32 id) const
 
CreatureBoundary const * GetBossBoundary (uint32 id) const
 
DungeonEncounterEntry const * GetBossDungeonEncounter (uint32 id) const
 
DungeonEncounterEntry const * GetBossDungeonEncounter (Creature const *creature) const
 
virtual bool CheckAchievementCriteriaMeet (uint32, Player const *, Unit const *=nullptr, uint32=0)
 
virtual bool CheckRequiredBosses (uint32, Player const *=nullptr) const
 
bool IsEncounterCompleted (uint32 dungeonEncounterId) const
 
bool IsEncounterCompletedInMaskByBossId (uint32 completedEncountersMask, uint32 bossId) const
 
uint32 GetEncounterCount () const
 
void SetEntranceLocation (uint32 worldSafeLocationId)
 
void SetTemporaryEntranceLocation (uint32 worldSafeLocationId)
 
uint32 GetEntranceLocation () const
 
void MarkAreaTriggerDone (uint32 id)
 
void ResetAreaTriggerDone (uint32 id)
 
bool IsAreaTriggerDone (uint32 id) const
 
void SendEncounterUnit (EncounterFrameType type, Unit const *unit, Optional< int32 > param1={}, Optional< int32 > param2={})
 
void SendEncounterStart (uint32 inCombatResCount=0, uint32 maxInCombatResCount=0, uint32 inCombatResChargeRecovery=0, uint32 nextCombatResChargeTime=0)
 
void SendEncounterEnd ()
 
void SendBossKillCredit (uint32 encounterId)
 
void UpdatePhasing ()
 
void InitializeCombatResurrections (uint8 charges=1, uint32 interval=0)
 
void AddCombatResurrectionCharge ()
 
void UseCombatResurrection ()
 
void ResetCombatResurrections ()
 
uint8 GetCombatResurrectionCharges () const
 
uint32 GetCombatResurrectionChargeInterval () const
 
void RegisterPersistentScriptValue (PersistentInstanceScriptValueBase *value)
 
std::string const & GetHeader () const
 
std::vector< PersistentInstanceScriptValueBase * > & GetPersistentScriptValues ()
 
- Public Member Functions inherited from ZoneScript
 ZoneScript ()
 
 ZoneScript (ZoneScript const &right)
 
 ZoneScript (ZoneScript &&right) noexcept
 
ZoneScriptoperator= (ZoneScript const &right)
 
ZoneScriptoperator= (ZoneScript &&right) noexcept
 
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 OnAreaTriggerCreate (AreaTrigger *areaTrigger)
 
virtual void OnAreaTriggerRemove (AreaTrigger *areaTrigger)
 
virtual void OnUnitDeath (Unit *unit)
 
virtual void OnCreatureGroupDepleted (CreatureGroup const *creatureGroup)
 
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 TriggerGameEvent (uint32 gameEventId, WorldObject *source=nullptr, WorldObject *target=nullptr)
 
virtual void ProcessEvent (WorldObject *obj, uint32 eventId, WorldObject *invoker)
 
virtual void DoAction (uint32 actionId, WorldObject *source=nullptr, WorldObject *target=nullptr)
 
virtual void OnFlagStateChange (GameObject *flagInBase, FlagState oldValue, FlagState newValue, Player *player)
 
virtual bool CanCaptureFlag (AreaTrigger *areaTrigger, Player *player)
 
virtual void OnCaptureFlag (AreaTrigger *areaTrigger, Player *player)
 
virtual void OnFlagTaken (GameObject *flag, Player *player)
 
virtual void OnFlagDropped (ObjectGuid const &flagGuid, Player *player)
 

Private Attributes

ObjectGuid JainaOrSylvanasIntroGUID
 
ObjectGuid KorelnOrLoralenGUID
 
ObjectGuid TheLichkingIntroGUID
 
ObjectGuid FalricGUID
 
ObjectGuid MarwynGUID
 
ObjectGuid FrostmourneAltarBunnyGUID
 
ObjectGuid FrostswornGeneralGUID
 
ObjectGuid JainaOrSylvanasEscapeGUID
 
ObjectGuid TheLichKingEscapeGUID
 
ObjectGuid FrostmourneGUID
 
ObjectGuid EntranceDoorGUID
 
ObjectGuid ImpenetrableDoorGUID
 
ObjectGuid ShadowThroneDoorGUID
 
ObjectGuid CaveInGUID
 
uint32 _waveCount
 
uint32 _introState
 
uint32 _frostswornGeneralState
 
uint32 _quelDelarState
 
EventMap events
 
GuidSet waveGuidList [8]
 
ObjectGuid GunshipGUID
 
ObjectGuid CaptainsChestGUID
 
ObjectGuid CaptainGUID
 
ObjectGuid IcewallGUID
 
ObjectGuid IcewallTargetGUID
 
ObjectGuid QuelDelarInvokerGUID
 
ObjectGuid UtherGUID
 
GuidSet GunshipCannonGUIDs
 
GuidSet GunshipStairGUIDs
 

Additional Inherited Members

- Static Public Member Functions inherited from InstanceScript
static bool ServerAllowsTwoSideGroups ()
 
static char const * GetBossStateName (uint8 state)
 
- Public Attributes inherited from InstanceScript
InstanceMapinstance
 
- 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)
 
template<typename T >
void LoadDungeonEncounterData (T const &encounters)
 
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 ()
 
BossInfoGetBossInfo (uint32 id)
 
virtual void AfterDataLoad ()
 
bool _SkipCheckRequiredBosses (Player const *player=nullptr) const
 

Detailed Description

Definition at line 92 of file instance_halls_of_reflection.cpp.

Constructor & Destructor Documentation

◆ instance_halls_of_reflection_InstanceMapScript()

instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::instance_halls_of_reflection_InstanceMapScript ( InstanceMap map)
inline

Definition at line 94 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ AfterDataLoad()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::AfterDataLoad ( )
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 708 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

◆ GetData()

uint32 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GetData ( uint32  type) const
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 648 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGameObjectEntry()

uint32 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GetGameObjectEntry ( ObjectGuid::LowType  ,
uint32  entry 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 207 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

◆ GetGuidData()

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GetGuidData ( uint32  type) const
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 669 of file instance_halls_of_reflection.cpp.

◆ OnCreatureCreate()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::OnCreatureCreate ( Creature creature)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 119 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

◆ OnCreatureRemove()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::OnCreatureRemove ( Creature creature)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 181 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

◆ OnGameObjectCreate()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::OnGameObjectCreate ( GameObject go)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 230 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

◆ OnGameObjectRemove()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::OnGameObjectRemove ( GameObject go)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 278 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

◆ OnPlayerEnter()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::OnPlayerEnter ( Player )
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 108 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

◆ OnUnitDeath()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::OnUnitDeath ( Unit unit)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 454 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

◆ ProcessEvent()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::ProcessEvent ( WorldObject ,
uint32  eventId,
WorldObject  
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 504 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBossState()

bool instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::SetBossState ( uint32  type,
EncounterState  state 
)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 291 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

◆ SetData()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::SetData ( uint32  type,
uint32  data 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 392 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

◆ SetGuidData()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::SetGuidData ( uint32  type,
ObjectGuid  data 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 441 of file instance_halls_of_reflection.cpp.

◆ SpawnEscapeEvent()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::SpawnEscapeEvent ( )
inline

Definition at line 378 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SpawnGunship()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::SpawnGunship ( )
inline

Definition at line 368 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Update()

void instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::Update ( uint32  diff)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 483 of file instance_halls_of_reflection.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _frostswornGeneralState

uint32 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::_frostswornGeneralState
private

Definition at line 739 of file instance_halls_of_reflection.cpp.

◆ _introState

uint32 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::_introState
private

Definition at line 738 of file instance_halls_of_reflection.cpp.

◆ _quelDelarState

uint32 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::_quelDelarState
private

Definition at line 740 of file instance_halls_of_reflection.cpp.

◆ _waveCount

uint32 instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::_waveCount
private

Definition at line 737 of file instance_halls_of_reflection.cpp.

◆ CaptainGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::CaptainGUID
private

Definition at line 747 of file instance_halls_of_reflection.cpp.

◆ CaptainsChestGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::CaptainsChestGUID
private

Definition at line 746 of file instance_halls_of_reflection.cpp.

◆ CaveInGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::CaveInGUID
private

Definition at line 735 of file instance_halls_of_reflection.cpp.

◆ EntranceDoorGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::EntranceDoorGUID
private

Definition at line 732 of file instance_halls_of_reflection.cpp.

◆ events

EventMap instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::events
private

Definition at line 742 of file instance_halls_of_reflection.cpp.

◆ FalricGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::FalricGUID
private

Definition at line 724 of file instance_halls_of_reflection.cpp.

◆ FrostmourneAltarBunnyGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::FrostmourneAltarBunnyGUID
private

Definition at line 726 of file instance_halls_of_reflection.cpp.

◆ FrostmourneGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::FrostmourneGUID
private

Definition at line 731 of file instance_halls_of_reflection.cpp.

◆ FrostswornGeneralGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::FrostswornGeneralGUID
private

Definition at line 727 of file instance_halls_of_reflection.cpp.

◆ GunshipCannonGUIDs

GuidSet instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GunshipCannonGUIDs
private

Definition at line 753 of file instance_halls_of_reflection.cpp.

◆ GunshipGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GunshipGUID
private

Definition at line 745 of file instance_halls_of_reflection.cpp.

◆ GunshipStairGUIDs

GuidSet instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GunshipStairGUIDs
private

Definition at line 754 of file instance_halls_of_reflection.cpp.

◆ IcewallGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::IcewallGUID
private

Definition at line 748 of file instance_halls_of_reflection.cpp.

◆ IcewallTargetGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::IcewallTargetGUID
private

Definition at line 749 of file instance_halls_of_reflection.cpp.

◆ ImpenetrableDoorGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::ImpenetrableDoorGUID
private

Definition at line 733 of file instance_halls_of_reflection.cpp.

◆ JainaOrSylvanasEscapeGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::JainaOrSylvanasEscapeGUID
private

Definition at line 728 of file instance_halls_of_reflection.cpp.

◆ JainaOrSylvanasIntroGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::JainaOrSylvanasIntroGUID
private

Definition at line 721 of file instance_halls_of_reflection.cpp.

◆ KorelnOrLoralenGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::KorelnOrLoralenGUID
private

Definition at line 722 of file instance_halls_of_reflection.cpp.

◆ MarwynGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::MarwynGUID
private

Definition at line 725 of file instance_halls_of_reflection.cpp.

◆ QuelDelarInvokerGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::QuelDelarInvokerGUID
private

Definition at line 750 of file instance_halls_of_reflection.cpp.

◆ ShadowThroneDoorGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::ShadowThroneDoorGUID
private

Definition at line 734 of file instance_halls_of_reflection.cpp.

◆ TheLichKingEscapeGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::TheLichKingEscapeGUID
private

Definition at line 729 of file instance_halls_of_reflection.cpp.

◆ TheLichkingIntroGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::TheLichkingIntroGUID
private

Definition at line 723 of file instance_halls_of_reflection.cpp.

◆ UtherGUID

ObjectGuid instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::UtherGUID
private

Definition at line 751 of file instance_halls_of_reflection.cpp.

◆ waveGuidList

GuidSet instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::waveGuidList[8]
private

Definition at line 743 of file instance_halls_of_reflection.cpp.


The documentation for this struct was generated from the following file: