TrinityCore
Loading...
Searching...
No Matches
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 UpdateMoira (Creature *moira)
 
void OnCreatureCreate (Creature *creature) override
 
void OnGameObjectCreate (GameObject *go) 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
 
std::string GetSaveData () override
 
void Load (char const *in) override
 
void TombOfSevenEvent ()
 
void TombOfSevenReset ()
 
void TombOfSevenStart ()
 
void TombOfSevenEnd ()
 
void Update (uint32 diff) override
 
- Public Member Functions inherited from InstanceScript
 InstanceScript (InstanceMap *map)
 
virtual ~InstanceScript ()
 
virtual void Create ()
 
void SaveToDB ()
 
virtual bool IsEncounterInProgress () const
 
virtual void OnCreatureRemove (Creature *creature) override
 
virtual void OnGameObjectRemove (GameObject *go) override
 
ObjectGuid GetObjectGuid (uint32 type) const
 
Creature * GetCreature (uint32 type)
 
GameObject * GetGameObject (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 (uint32 worldstateId, uint32 worldstateValue)
 
void DoSendNotifyToInstance (char const *format,...)
 
void DoUpdateAchievementCriteria (AchievementCriteriaTypes type, uint32 miscValue1=0, uint32 miscValue2=0, Unit *unit=nullptr)
 
void DoStartTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry)
 
void DoStopTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry)
 
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
 
virtual bool CheckAchievementCriteriaMeet (uint32, Player const *, Unit const *=nullptr, uint32=0)
 
virtual bool CheckRequiredBosses (uint32, Player const *=nullptr) const
 
void UpdateEncounterStateForKilledCreature (uint32 creatureId, Unit *source)
 
void UpdateEncounterStateForSpellCast (uint32 spellId, Unit *source)
 
void SetCompletedEncountersMask (uint32 newMask)
 
uint32 GetCompletedEncounterMask () const
 
void SendEncounterUnit (EncounterFrameType type, Unit const *unit=nullptr, uint8 param1=0, uint8 param2=0)
 
virtual void FillInitialWorldStates (WorldPackets::WorldState::InitWorldStates &)
 
uint32 GetEncounterCount () const
 
void MarkAreaTriggerDone (uint32 id)
 
void ResetAreaTriggerDone (uint32 id)
 
bool IsAreaTriggerDone (uint32 id) const
 
- Public Member Functions inherited from ZoneScript
 ZoneScript ()
 
virtual ~ZoneScript ()
 
virtual uint32 GetCreatureEntry (ObjectGuid::LowType, CreatureData const *data)
 
virtual uint32 GetGameObjectEntry (ObjectGuid::LowType, uint32 entry)
 
virtual void OnUnitDeath (Unit *)
 
virtual uint64 GetData64 (uint32) const
 
virtual void SetData64 (uint32, uint64)
 
virtual void ProcessEvent (WorldObject *, uint32)
 

Public Attributes

uint32 encounter [MAX_ENCOUNTER]
 
std::string str_data
 
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
InstanceMap * instance
 

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)
 
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 ReadSaveDataHeaders (std::istringstream &data)
 
void ReadSaveDataBossStates (std::istringstream &data)
 
virtual void ReadSaveDataMore (std::istringstream &)
 
void WriteSaveDataHeaders (std::ostringstream &data)
 
void WriteSaveDataBossStates (std::ostringstream &data)
 
virtual void WriteSaveDataMore (std::ostringstream &)
 
bool _SkipCheckRequiredBosses (Player const *player=nullptr) const
 

Detailed Description

Definition at line 92 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

Member Function Documentation

◆ GetData()

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

◆ GetGuidData()

◆ GetSaveData()

std::string instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GetSaveData ( )
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 345 of file instance_blackrock_depths.cpp.

References str_data.

◆ Load()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::Load ( char const *  in)
inlineoverridevirtual

◆ OnCreatureCreate()

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

◆ OnGameObjectCreate()

◆ SetData()

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

◆ SetGuidData()

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

◆ TombOfSevenEnd()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombOfSevenEnd ( )
inline

◆ TombOfSevenEvent()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombOfSevenEvent ( )
inline

◆ TombOfSevenReset()

◆ TombOfSevenStart()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombOfSevenStart ( )
inline

◆ Update()

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

◆ UpdateMoira()

void instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::UpdateMoira ( Creature *  moira)
inline

Member Data Documentation

◆ BarAleCount

uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::BarAleCount

◆ CorenGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::CorenGUID

Definition at line 112 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnCreatureCreate().

◆ EmperorGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::EmperorGUID

Definition at line 108 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnCreatureCreate().

◆ encounter

uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::encounter[MAX_ENCOUNTER]

◆ GhostKillCount

uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GhostKillCount

◆ GoArena1GUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena1GUID

Definition at line 114 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoArena2GUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena2GUID

Definition at line 115 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoArena3GUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena3GUID

Definition at line 116 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoArena4GUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoArena4GUID

Definition at line 117 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoBarDoorGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoBarDoorGUID

Definition at line 124 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoBarKegGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoBarKegGUID

Definition at line 122 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoBarKegTrapGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoBarKegTrapGUID

Definition at line 123 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoChestGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoChestGUID

Definition at line 133 of file instance_blackrock_depths.cpp.

Referenced by OnGameObjectCreate(), and TombOfSevenEnd().

◆ GoGolemNGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoGolemNGUID

Definition at line 130 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoGolemSGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoGolemSGUID

Definition at line 131 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoLyceumGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoLyceumGUID

Definition at line 127 of file instance_blackrock_depths.cpp.

Referenced by OnGameObjectCreate().

◆ GoSFNGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoSFNGUID

Definition at line 129 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoSFSGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoSFSGUID

Definition at line 128 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoShadowDummyGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowDummyGUID

Definition at line 121 of file instance_blackrock_depths.cpp.

Referenced by OnGameObjectCreate().

◆ GoShadowGiantGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowGiantGUID

Definition at line 120 of file instance_blackrock_depths.cpp.

Referenced by OnGameObjectCreate().

◆ GoShadowLockGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowLockGUID

Definition at line 118 of file instance_blackrock_depths.cpp.

Referenced by OnGameObjectCreate().

◆ GoShadowMechGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoShadowMechGUID

Definition at line 119 of file instance_blackrock_depths.cpp.

Referenced by OnGameObjectCreate().

◆ GoSpectralChaliceGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoSpectralChaliceGUID

Definition at line 134 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoThroneGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoThroneGUID

Definition at line 132 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ GoTombEnterGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoTombEnterGUID

◆ GoTombExitGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::GoTombExitGUID

◆ MagmusGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::MagmusGUID

Definition at line 110 of file instance_blackrock_depths.cpp.

Referenced by OnCreatureCreate().

◆ MoiraGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::MoiraGUID

Definition at line 111 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnCreatureCreate().

◆ PhalanxGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::PhalanxGUID

Definition at line 109 of file instance_blackrock_depths.cpp.

Referenced by GetGuidData(), and OnCreatureCreate().

◆ str_data

std::string instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::str_data

Definition at line 106 of file instance_blackrock_depths.cpp.

Referenced by GetSaveData(), and SetData().

◆ TombBossGUIDs

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombBossGUIDs[TOMB_OF_SEVEN_BOSS_NUM]

◆ TombEventCounter

uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombEventCounter

◆ TombEventStarterGUID

ObjectGuid instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombEventStarterGUID

◆ TombTimer

uint32 instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript::TombTimer

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