TrinityCore
instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript Struct Reference
+ Inheritance diagram for instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript:

Public Member Functions

 instance_blackrock_depths_InstanceMapScript (InstanceMap *map)
 
void OnCreatureCreate (Creature *creature) override
 
void OnGameObjectCreate (GameObject *go) override
 
void OnUnitDeath (Unit *unit) override
 
void SetGuidData (uint32 type, ObjectGuid data) override
 
void SetData (uint32 type, uint32 data) override
 
uint32 GetData (uint32 type) const override
 
ObjectGuid GetGuidData (uint32 data) const override
 
void TombOfSevenEvent ()
 
void TombOfSevenReset ()
 
void TombOfSevenStart ()
 
void TombOfSevenEnd ()
 
void Update (uint32 diff) 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 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 *, uint32, WorldObject *)
 
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)
 

Public Attributes

ObjectGuid EmperorGUID
 
ObjectGuid PhalanxGUID
 
ObjectGuid MagmusGUID
 
ObjectGuid MoiraGUID
 
ObjectGuid CorenGUID
 
ObjectGuid GoArena1GUID
 
ObjectGuid GoArena2GUID
 
ObjectGuid GoArena3GUID
 
ObjectGuid GoArena4GUID
 
ObjectGuid GoShadowLockGUID
 
ObjectGuid GoShadowMechGUID
 
ObjectGuid GoShadowGiantGUID
 
ObjectGuid GoShadowDummyGUID
 
ObjectGuid GoBarKegGUID
 
ObjectGuid GoBarKegTrapGUID
 
ObjectGuid GoBarDoorGUID
 
ObjectGuid GoTombEnterGUID
 
ObjectGuid GoTombExitGUID
 
ObjectGuid GoLyceumGUID
 
ObjectGuid GoSFSGUID
 
ObjectGuid GoSFNGUID
 
ObjectGuid GoGolemNGUID
 
ObjectGuid GoGolemSGUID
 
ObjectGuid GoThroneGUID
 
ObjectGuid GoChestGUID
 
ObjectGuid GoSpectralChaliceGUID
 
uint32 BarAleCount
 
uint32 GhostKillCount
 
ObjectGuid TombBossGUIDs [TOMB_OF_SEVEN_BOSS_NUM]
 
ObjectGuid TombEventStarterGUID
 
uint32 TombTimer
 
uint32 TombEventCounter
 
- Public Attributes inherited from InstanceScript
InstanceMapinstance
 

Additional Inherited Members

- Static Public Member Functions inherited from InstanceScript
static bool ServerAllowsTwoSideGroups ()
 
static char const * GetBossStateName (uint8 state)
 
- 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 114 of file instance_blackrock_depths.cpp.

Constructor & Destructor Documentation

◆ instance_blackrock_depths_InstanceMapScript()

instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::instance_blackrock_depths_InstanceMapScript ( InstanceMap map)
inline

Definition at line 116 of file instance_blackrock_depths.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ GetData()

uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GetData ( uint32  type) const
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 288 of file instance_blackrock_depths.cpp.

+ Here is the call graph for this function:

◆ GetGuidData()

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GetGuidData ( uint32  data) const
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 313 of file instance_blackrock_depths.cpp.

+ Here is the caller graph for this function:

◆ OnCreatureCreate()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::OnCreatureCreate ( Creature creature)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 163 of file instance_blackrock_depths.cpp.

+ Here is the call graph for this function:

◆ OnGameObjectCreate()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::OnGameObjectCreate ( GameObject go)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 186 of file instance_blackrock_depths.cpp.

+ Here is the call graph for this function:

◆ OnUnitDeath()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::OnUnitDeath ( Unit unit)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 220 of file instance_blackrock_depths.cpp.

+ Here is the call graph for this function:

◆ SetData()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::SetData ( uint32  type,
uint32  data 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 255 of file instance_blackrock_depths.cpp.

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

◆ SetGuidData()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::SetGuidData ( uint32  type,
ObjectGuid  data 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 239 of file instance_blackrock_depths.cpp.

+ Here is the call graph for this function:

◆ TombOfSevenEnd()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombOfSevenEnd ( )
inline

Definition at line 399 of file instance_blackrock_depths.cpp.

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

◆ TombOfSevenEvent()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombOfSevenEvent ( )
inline

Definition at line 357 of file instance_blackrock_depths.cpp.

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

◆ TombOfSevenReset()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombOfSevenReset ( )
inline

Definition at line 371 of file instance_blackrock_depths.cpp.

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

◆ TombOfSevenStart()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombOfSevenStart ( )
inline

Definition at line 392 of file instance_blackrock_depths.cpp.

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

◆ Update()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::Update ( uint32  diff)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 407 of file instance_blackrock_depths.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ BarAleCount

uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::BarAleCount

Definition at line 156 of file instance_blackrock_depths.cpp.

◆ CorenGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::CorenGUID

Definition at line 132 of file instance_blackrock_depths.cpp.

◆ EmperorGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::EmperorGUID

Definition at line 128 of file instance_blackrock_depths.cpp.

◆ GhostKillCount

uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GhostKillCount

Definition at line 157 of file instance_blackrock_depths.cpp.

◆ GoArena1GUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena1GUID

Definition at line 134 of file instance_blackrock_depths.cpp.

◆ GoArena2GUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena2GUID

Definition at line 135 of file instance_blackrock_depths.cpp.

◆ GoArena3GUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena3GUID

Definition at line 136 of file instance_blackrock_depths.cpp.

◆ GoArena4GUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena4GUID

Definition at line 137 of file instance_blackrock_depths.cpp.

◆ GoBarDoorGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoBarDoorGUID

Definition at line 144 of file instance_blackrock_depths.cpp.

◆ GoBarKegGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoBarKegGUID

Definition at line 142 of file instance_blackrock_depths.cpp.

◆ GoBarKegTrapGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoBarKegTrapGUID

Definition at line 143 of file instance_blackrock_depths.cpp.

◆ GoChestGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoChestGUID

Definition at line 153 of file instance_blackrock_depths.cpp.

◆ GoGolemNGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoGolemNGUID

Definition at line 150 of file instance_blackrock_depths.cpp.

◆ GoGolemSGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoGolemSGUID

Definition at line 151 of file instance_blackrock_depths.cpp.

◆ GoLyceumGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoLyceumGUID

Definition at line 147 of file instance_blackrock_depths.cpp.

◆ GoSFNGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoSFNGUID

Definition at line 149 of file instance_blackrock_depths.cpp.

◆ GoSFSGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoSFSGUID

Definition at line 148 of file instance_blackrock_depths.cpp.

◆ GoShadowDummyGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowDummyGUID

Definition at line 141 of file instance_blackrock_depths.cpp.

◆ GoShadowGiantGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowGiantGUID

Definition at line 140 of file instance_blackrock_depths.cpp.

◆ GoShadowLockGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowLockGUID

Definition at line 138 of file instance_blackrock_depths.cpp.

◆ GoShadowMechGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowMechGUID

Definition at line 139 of file instance_blackrock_depths.cpp.

◆ GoSpectralChaliceGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoSpectralChaliceGUID

Definition at line 154 of file instance_blackrock_depths.cpp.

◆ GoThroneGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoThroneGUID

Definition at line 152 of file instance_blackrock_depths.cpp.

◆ GoTombEnterGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoTombEnterGUID

Definition at line 145 of file instance_blackrock_depths.cpp.

◆ GoTombExitGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoTombExitGUID

Definition at line 146 of file instance_blackrock_depths.cpp.

◆ MagmusGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::MagmusGUID

Definition at line 130 of file instance_blackrock_depths.cpp.

◆ MoiraGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::MoiraGUID

Definition at line 131 of file instance_blackrock_depths.cpp.

◆ PhalanxGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::PhalanxGUID

Definition at line 129 of file instance_blackrock_depths.cpp.

◆ TombBossGUIDs

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombBossGUIDs[TOMB_OF_SEVEN_BOSS_NUM]

Definition at line 158 of file instance_blackrock_depths.cpp.

◆ TombEventCounter

uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombEventCounter

Definition at line 161 of file instance_blackrock_depths.cpp.

◆ TombEventStarterGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombEventStarterGUID

Definition at line 159 of file instance_blackrock_depths.cpp.

◆ TombTimer

uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombTimer

Definition at line 160 of file instance_blackrock_depths.cpp.


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