TrinityCore
instance_uldaman::instance_uldaman_InstanceMapScript Struct Reference
+ Inheritance diagram for instance_uldaman::instance_uldaman_InstanceMapScript:

Public Member Functions

 instance_uldaman_InstanceMapScript (InstanceMap *map)
 
void OnGameObjectCreate (GameObject *go) override
 
void SetFrozenState (Creature *creature)
 
void SetDoor (ObjectGuid guid, bool open)
 
void BlockGO (ObjectGuid guid)
 
void ActivateStoneKeepers ()
 
void ActivateWallMinions ()
 
void DeActivateMinions ()
 
void ActivateArchaedas (ObjectGuid target)
 
void ActivateIronaya ()
 
void RespawnMinions ()
 
void Update (uint32 diff) override
 
bool SetBossState (uint32 id, EncounterState state) override
 
void SetData (uint32 type, uint32 data) override
 
void SetGuidData (uint32 type, ObjectGuid data) override
 
void OnCreatureCreate (Creature *creature) override
 
void OnUnitDeath (Unit *unit) override
 
ObjectGuid GetGuidData (uint32 identifier) const override
 
void ProcessEvent (WorldObject *, uint32 eventId, WorldObject *) 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)
 

Public Attributes

ObjectGuid archaedasGUID
 
ObjectGuid ironayaGUID
 
bool ironayaActive
 
ObjectGuid whoWokeuiArchaedasGUID
 
ObjectGuid altarOfTheKeeperTempleDoor
 
bool altarDoorsDone
 
ObjectGuid archaedasTempleDoor
 
ObjectGuid ancientVaultDoor
 
ObjectGuid ironayaSealDoor
 
ObjectGuid keystoneGUID
 
uint32 ironayaSealDoorTimer
 
bool keystoneCheck
 
GuidVector stoneKeepers
 
GuidVector altarOfTheKeeperCounts
 
GuidVector vaultWalkers
 
GuidVector earthenGuardians
 
GuidVector archaedasWallMinions
 
- 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 72 of file instance_uldaman.cpp.

Constructor & Destructor Documentation

◆ instance_uldaman_InstanceMapScript()

instance_uldaman::instance_uldaman_InstanceMapScript::instance_uldaman_InstanceMapScript ( InstanceMap map)
inline

Definition at line 74 of file instance_uldaman.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ ActivateArchaedas()

void instance_uldaman::instance_uldaman_InstanceMapScript::ActivateArchaedas ( ObjectGuid  target)
inline

Definition at line 258 of file instance_uldaman.cpp.

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

◆ ActivateIronaya()

void instance_uldaman::instance_uldaman_InstanceMapScript::ActivateIronaya ( )
inline

Definition at line 274 of file instance_uldaman.cpp.

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

◆ ActivateStoneKeepers()

void instance_uldaman::instance_uldaman_InstanceMapScript::ActivateStoneKeepers ( )
inline

Definition at line 183 of file instance_uldaman.cpp.

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

◆ ActivateWallMinions()

void instance_uldaman::instance_uldaman_InstanceMapScript::ActivateWallMinions ( )
inline

Definition at line 205 of file instance_uldaman.cpp.

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

◆ BlockGO()

void instance_uldaman::instance_uldaman_InstanceMapScript::BlockGO ( ObjectGuid  guid)
inline

Definition at line 174 of file instance_uldaman.cpp.

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

◆ DeActivateMinions()

void instance_uldaman::instance_uldaman_InstanceMapScript::DeActivateMinions ( )
inline

Definition at line 228 of file instance_uldaman.cpp.

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

◆ GetGuidData()

ObjectGuid instance_uldaman::instance_uldaman_InstanceMapScript::GetGuidData ( uint32  identifier) const
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 474 of file instance_uldaman.cpp.

◆ OnCreatureCreate()

void instance_uldaman::instance_uldaman_InstanceMapScript::OnCreatureCreate ( Creature creature)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 421 of file instance_uldaman.cpp.

+ Here is the call graph for this function:

◆ OnGameObjectCreate()

void instance_uldaman::instance_uldaman_InstanceMapScript::OnGameObjectCreate ( GameObject go)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 110 of file instance_uldaman.cpp.

+ Here is the call graph for this function:

◆ OnUnitDeath()

void instance_uldaman::instance_uldaman_InstanceMapScript::OnUnitDeath ( Unit unit)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 460 of file instance_uldaman.cpp.

+ Here is the call graph for this function:

◆ ProcessEvent()

void instance_uldaman::instance_uldaman_InstanceMapScript::ProcessEvent ( WorldObject ,
uint32  eventId,
WorldObject  
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 499 of file instance_uldaman.cpp.

+ Here is the call graph for this function:

◆ RespawnMinions()

void instance_uldaman::instance_uldaman_InstanceMapScript::RespawnMinions ( )
inline

Definition at line 292 of file instance_uldaman.cpp.

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

◆ SetBossState()

bool instance_uldaman::instance_uldaman_InstanceMapScript::SetBossState ( uint32  id,
EncounterState  state 
)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 348 of file instance_uldaman.cpp.

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

◆ SetData()

void instance_uldaman::instance_uldaman_InstanceMapScript::SetData ( uint32  type,
uint32  data 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 367 of file instance_uldaman.cpp.

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

◆ SetDoor()

void instance_uldaman::instance_uldaman_InstanceMapScript::SetDoor ( ObjectGuid  guid,
bool  open 
)
inline

Definition at line 165 of file instance_uldaman.cpp.

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

◆ SetFrozenState()

void instance_uldaman::instance_uldaman_InstanceMapScript::SetFrozenState ( Creature creature)
inline

Definition at line 156 of file instance_uldaman.cpp.

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

◆ SetGuidData()

void instance_uldaman::instance_uldaman_InstanceMapScript::SetGuidData ( uint32  type,
ObjectGuid  data 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 411 of file instance_uldaman.cpp.

+ Here is the call graph for this function:

◆ Update()

void instance_uldaman::instance_uldaman_InstanceMapScript::Update ( uint32  diff)
inlineoverridevirtual

Reimplemented from InstanceScript.

Definition at line 330 of file instance_uldaman.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ altarDoorsDone

bool instance_uldaman::instance_uldaman_InstanceMapScript::altarDoorsDone

Definition at line 93 of file instance_uldaman.cpp.

◆ altarOfTheKeeperCounts

GuidVector instance_uldaman::instance_uldaman_InstanceMapScript::altarOfTheKeeperCounts

Definition at line 105 of file instance_uldaman.cpp.

◆ altarOfTheKeeperTempleDoor

ObjectGuid instance_uldaman::instance_uldaman_InstanceMapScript::altarOfTheKeeperTempleDoor

Definition at line 92 of file instance_uldaman.cpp.

◆ ancientVaultDoor

ObjectGuid instance_uldaman::instance_uldaman_InstanceMapScript::ancientVaultDoor

Definition at line 96 of file instance_uldaman.cpp.

◆ archaedasGUID

ObjectGuid instance_uldaman::instance_uldaman_InstanceMapScript::archaedasGUID

Definition at line 86 of file instance_uldaman.cpp.

◆ archaedasTempleDoor

ObjectGuid instance_uldaman::instance_uldaman_InstanceMapScript::archaedasTempleDoor

Definition at line 95 of file instance_uldaman.cpp.

◆ archaedasWallMinions

GuidVector instance_uldaman::instance_uldaman_InstanceMapScript::archaedasWallMinions

Definition at line 108 of file instance_uldaman.cpp.

◆ earthenGuardians

GuidVector instance_uldaman::instance_uldaman_InstanceMapScript::earthenGuardians

Definition at line 107 of file instance_uldaman.cpp.

◆ ironayaActive

bool instance_uldaman::instance_uldaman_InstanceMapScript::ironayaActive

Definition at line 88 of file instance_uldaman.cpp.

◆ ironayaGUID

ObjectGuid instance_uldaman::instance_uldaman_InstanceMapScript::ironayaGUID

Definition at line 87 of file instance_uldaman.cpp.

◆ ironayaSealDoor

ObjectGuid instance_uldaman::instance_uldaman_InstanceMapScript::ironayaSealDoor

Definition at line 97 of file instance_uldaman.cpp.

◆ ironayaSealDoorTimer

uint32 instance_uldaman::instance_uldaman_InstanceMapScript::ironayaSealDoorTimer

Definition at line 101 of file instance_uldaman.cpp.

◆ keystoneCheck

bool instance_uldaman::instance_uldaman_InstanceMapScript::keystoneCheck

Definition at line 102 of file instance_uldaman.cpp.

◆ keystoneGUID

ObjectGuid instance_uldaman::instance_uldaman_InstanceMapScript::keystoneGUID

Definition at line 99 of file instance_uldaman.cpp.

◆ stoneKeepers

GuidVector instance_uldaman::instance_uldaman_InstanceMapScript::stoneKeepers

Definition at line 104 of file instance_uldaman.cpp.

◆ vaultWalkers

GuidVector instance_uldaman::instance_uldaman_InstanceMapScript::vaultWalkers

Definition at line 106 of file instance_uldaman.cpp.

◆ whoWokeuiArchaedasGUID

ObjectGuid instance_uldaman::instance_uldaman_InstanceMapScript::whoWokeuiArchaedasGUID

Definition at line 90 of file instance_uldaman.cpp.


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