AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
instance_zulaman::instance_zulaman_InstanceMapScript Struct Reference
Inheritance diagram for instance_zulaman::instance_zulaman_InstanceMapScript:
InstanceScript ZoneScript

Public Member Functions

 instance_zulaman_InstanceMapScript (Map *map)
 
void Initialize () override
 
void OnPlayerEnter (Player *) override
 
void OnCreatureCreate (Creature *creature) override
 
void OnGameObjectCreate (GameObject *go) override
 
void SummonHostage (uint8 num)
 
void DoAction (int32 actionId) override
 
void CheckInstanceStatus ()
 
void SetData (uint32 type, uint32 data) override
 
void StartAkilzonGauntlet ()
 
void ResetAkilzonGauntlet ()
 
void OnCreatureEvade (Creature *creature) override
 
bool SetBossState (uint32 type, EncounterState state) override
 
uint32 GetData (uint32 type) const override
 
void Update (uint32 diff) override
 
- Public Member Functions inherited from InstanceScript
 InstanceScript (Map *map)
 
 ~InstanceScript () override
 
virtual void Initialize ()
 
virtual void Load (char const *data)
 
virtual void CreatureLooted (Creature *, LootType)
 
virtual std::string GetSaveData ()
 
void SaveToDB ()
 
virtual void Update (uint32)
 
virtual bool IsEncounterInProgress () const
 
void OnCreatureCreate (Creature *creature) override
 
void OnCreatureRemove (Creature *creature) override
 
void OnGameObjectCreate (GameObject *go) override
 
void OnGameObjectRemove (GameObject *go) override
 
ObjectGuid GetObjectGuid (uint32 type) const
 
ObjectGuid GetGuidData (uint32 type) const override
 
CreatureGetCreature (uint32 type)
 
GameObjectGetGameObject (uint32 type)
 
virtual void OnPlayerEnter (Player *)
 
virtual void OnPlayerAreaUpdate (Player *, uint32, uint32)
 
virtual void OnPlayerInWaterStateUpdate (Player *, bool)
 
void HandleGameObject (ObjectGuid guid, bool open, GameObject *go=nullptr)
 
void DoUseDoorOrButton (ObjectGuid guid, uint32 withRestoreTime=0, bool useAlternativeState=false)
 
void DoRespawnGameObject (ObjectGuid guid, uint32 timeToDespawn=MINUTE)
 
void DoRespawnCreature (ObjectGuid guid, bool force=false)
 
void DoRespawnCreature (uint32 type, bool force=false)
 
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)
 
void DoCastSpellOnPlayers (uint32 spell)
 
void DoCastSpellOnPlayer (Player *player, uint32 spell, bool includePets, bool includeControlled)
 
bool ServerAllowsTwoSideGroups ()
 
virtual bool SetBossState (uint32 id, EncounterState state)
 
EncounterState GetBossState (uint32 id) const
 
CreatureBoundary const * GetBossBoundary (uint32 id) const
 
BossInfo const * GetBossInfo (uint32 id) const
 
uint32 GetPersistentData (uint32 index) const
 
void StorePersistentData (uint32 index, uint32 data)
 
virtual bool CheckAchievementCriteriaMeet (uint32, Player const *, Unit const *=nullptr, uint32=0)
 
virtual bool CheckRequiredBosses (uint32, Player const *=nullptr) const
 
void SetCompletedEncountersMask (uint32 newMask, bool save)
 
uint32 GetCompletedEncounterMask () const
 
void SendEncounterUnit (uint32 type, Unit *unit=nullptr, uint8 param1=0, uint8 param2=0)
 
virtual void FillInitialWorldStates (WorldPacket &)
 
uint32 GetEncounterCount () const
 
void MarkAreaTriggerDone (uint32 id)
 
void ResetAreaTriggerDone (uint32 id)
 
bool IsAreaTriggerDone (uint32 id) const
 
virtual void DoAction (int32)
 
void DoForAllMinions (uint32 id, std::function< void(Creature *)> exec)
 
void StoreGameObjectState (ObjectGuid::LowType spawnId, uint8 state)
 
uint8 GetStoredGameObjectState (ObjectGuid::LowType spawnId) const
 
void LoadInstanceSavedGameobjectStateData ()
 
bool IsBossDone (uint32 bossId) const
 
bool AllBossesDone () const
 
bool AllBossesDone (std::initializer_list< uint32 > bossIds) 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 OnCreatureCreate (Creature *)
 
virtual void OnCreatureRemove (Creature *)
 
virtual void OnGameObjectCreate (GameObject *)
 
virtual void OnGameObjectRemove (GameObject *)
 
virtual void OnUnitDeath (Unit *)
 
virtual void OnCreatureEvade (Creature *)
 
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 ProcessEvent (WorldObject *, uint32)
 

Private Attributes

uint32 RandVendor [RAND_VENDOR]
 
GuidSet AkilzonTrash
 
EncounterState _akilzonGauntlet = NOT_STARTED
 

Additional Inherited Members

- Static Public Member Functions inherited from InstanceScript
static std::string GetBossStateName (uint8 state)
 
- Public Attributes inherited from InstanceScript
Mapinstance
 
TaskScheduler scheduler
 
- 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 &)
 

Detailed Description

Constructor & Destructor Documentation

◆ instance_zulaman_InstanceMapScript()

instance_zulaman::instance_zulaman_InstanceMapScript::instance_zulaman_InstanceMapScript ( Map map)
inline
95: InstanceScript(map) {}
Definition: InstanceScript.h:142

Member Function Documentation

◆ CheckInstanceStatus()

void instance_zulaman::instance_zulaman_InstanceMapScript::CheckInstanceStatus ( )
inline
183 {
186 }
@ DATA_AKILZON
Definition: zulaman.h:29
@ DATA_NALORAKK
Definition: zulaman.h:28
@ DATA_JANALAI
Definition: zulaman.h:30
@ DATA_HALAZZI
Definition: zulaman.h:31
@ DATA_HEXLORD_GATE
Definition: zulaman.h:40
static ObjectGuid const Empty
Definition: ObjectGuid.h:120
void HandleGameObject(ObjectGuid guid, bool open, GameObject *go=nullptr)
Definition: InstanceScript.cpp:113
bool AllBossesDone() const
Definition: InstanceScript.cpp:790
GameObject * GetGameObject(uint32 type)
Definition: InstanceScript.cpp:108

References InstanceScript::AllBossesDone(), DATA_AKILZON, DATA_HALAZZI, DATA_HEXLORD_GATE, DATA_JANALAI, DATA_NALORAKK, ObjectGuid::Empty, InstanceScript::GetGameObject(), and InstanceScript::HandleGameObject().

Referenced by OnGameObjectCreate(), and SetBossState().

◆ DoAction()

void instance_zulaman::instance_zulaman_InstanceMapScript::DoAction ( int32  actionId)
inlineoverridevirtual

Reimplemented from InstanceScript.

157 {
158 if (actionId == ACTION_START_TIMED_RUN)
159 {
161 {
164 }
165
166 scheduler.Schedule(1min, GROUP_TIMED_RUN, [this](TaskContext context)
167 {
169 {
170 --timer;
174 context.Repeat();
175 }
176 else
178 });
179 }
180 }
std::uint32_t uint32
Definition: Define.h:107
@ WORLDSTATE_TIME_TO_SACRIFICE
Definition: instance_zulaman.cpp:28
@ WORLDSTATE_SHOW_TIMER
Definition: instance_zulaman.cpp:27
@ DATA_TIMED_RUN
Definition: zulaman.h:87
@ ACTION_START_TIMED_RUN
Definition: zulaman.h:88
@ GROUP_TIMED_RUN
Definition: zulaman.h:90
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
Definition: TaskScheduler.h:232
Definition: TaskScheduler.h:421
TaskContext & Repeat(std::chrono::duration< _Rep, _Period > const &duration)
Definition: TaskScheduler.h:493
uint32 GetPersistentData(uint32 index) const
Definition: InstanceScript.h:240
void StorePersistentData(uint32 index, uint32 data)
Definition: InstanceScript.cpp:410
TaskScheduler scheduler
Definition: InstanceScript.h:282
void DoUpdateWorldState(uint32 worldstateId, uint32 worldstateValue)
Definition: InstanceScript.cpp:603

References ACTION_START_TIMED_RUN, DATA_TIMED_RUN, InstanceScript::DoUpdateWorldState(), InstanceScript::GetPersistentData(), GROUP_TIMED_RUN, TaskContext::Repeat(), TaskScheduler::Schedule(), InstanceScript::scheduler, InstanceScript::StorePersistentData(), WORLDSTATE_SHOW_TIMER, and WORLDSTATE_TIME_TO_SACRIFICE.

Referenced by OnPlayerEnter().

◆ GetData()

uint32 instance_zulaman::instance_zulaman_InstanceMapScript::GetData ( uint32  type) const
inlineoverridevirtual

Reimplemented from ZoneScript.

316 {
317 if (type == TYPE_RAND_VENDOR_1)
318 return RandVendor[0];
319 else if (type == TYPE_RAND_VENDOR_2)
320 return RandVendor[1];
321 else if (type == TYPE_AKILZON_GAUNTLET)
322 return _akilzonGauntlet;
323
324 return 0;
325 }
@ TYPE_AKILZON_GAUNTLET
Definition: zulaman.h:42
@ TYPE_RAND_VENDOR_1
Definition: zulaman.h:36
@ TYPE_RAND_VENDOR_2
Definition: zulaman.h:37
EncounterState _akilzonGauntlet
Definition: instance_zulaman.cpp:335
uint32 RandVendor[RAND_VENDOR]
Definition: instance_zulaman.cpp:333

References _akilzonGauntlet, RandVendor, TYPE_AKILZON_GAUNTLET, TYPE_RAND_VENDOR_1, and TYPE_RAND_VENDOR_2.

◆ Initialize()

void instance_zulaman::instance_zulaman_InstanceMapScript::Initialize ( )
inlineoverridevirtual

Reimplemented from InstanceScript.

98 {
106
107 for (uint8 i = 0; i < RAND_VENDOR; ++i)
109 }
std::uint8_t uint8
Definition: Define.h:109
#define MAX_ENCOUNTER
Definition: violet_hold.h:21
ObjectData const gameObjectData[]
Definition: instance_zulaman.cpp:68
@ RAND_VENDOR
Definition: instance_zulaman.cpp:26
ObjectData const creatureData[]
Definition: instance_zulaman.cpp:59
DoorData const doorData[]
Definition: instance_zulaman.cpp:50
BossBoundaryData const boundaries
Definition: instance_zulaman.cpp:83
ObjectData const summonData[]
Definition: instance_zulaman.cpp:77
uint32 constexpr PersistentDataCount
Definition: zulaman.h:93
#define DataHeader
Definition: blackrock_depths.h:23
@ NOT_STARTED
Definition: InstanceScript.h:57
void SetBossNumber(uint32 number)
Definition: InstanceScript.h:285
void LoadSummonData(ObjectData const *data)
Definition: InstanceScript.cpp:200
void SetPersistentDataCount(uint32 number)
Definition: InstanceScript.h:286
void LoadDoorData(DoorData const *data)
Definition: InstanceScript.cpp:164
void LoadBossBoundaries(BossBoundaryData const &data)
Definition: InstanceScript.cpp:134
void SetHeaders(std::string const &dataHeaders)
Definition: InstanceScript.cpp:141
void LoadObjectData(ObjectData const *creatureData, ObjectData const *gameObjectData)
Definition: InstanceScript.cpp:176

References boundaries, creatureData, DataHeader, doorData, gameObjectData, InstanceScript::LoadBossBoundaries(), InstanceScript::LoadDoorData(), InstanceScript::LoadObjectData(), InstanceScript::LoadSummonData(), MAX_ENCOUNTER, NOT_STARTED, PersistentDataCount, RAND_VENDOR, RandVendor, InstanceScript::SetBossNumber(), InstanceScript::SetHeaders(), InstanceScript::SetPersistentDataCount(), and summonData.

◆ OnCreatureCreate()

void instance_zulaman::instance_zulaman_InstanceMapScript::OnCreatureCreate ( Creature creature)
inlineoverridevirtual

Reimplemented from InstanceScript.

118 {
119 switch (creature->GetEntry())
120 {
121 // Akil'zon gauntlet
123 if (creature->GetPositionZ() >= 50.0f) // excludes Tempest in Hexlord Malacrass' trash
124 AkilzonTrash.insert(creature->GetGUID());
125 break;
129 AkilzonTrash.insert(creature->GetGUID());
130 break;
132 if (creature->GetPositionZ() >= 26.0f) // excludes Wind Walker in first patrol
133 AkilzonTrash.insert(creature->GetGUID());
134 break;
135 }
136
138 }
@ NPC_AMANISHI_WIND_WALKER
Definition: zulaman.h:62
@ NPC_AMINISHI_PROTECTOR
Definition: zulaman.h:64
@ NPC_EAGLE_TRASH_AGGRO_TRIGGER
Definition: zulaman.h:66
@ NPC_AMINISHI_LOOKOUT
Definition: zulaman.h:63
@ NPC_AMINISHI_TEMPEST
Definition: zulaman.h:65
uint32 GetEntry() const
Definition: Object.h:115
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
float GetPositionZ() const
Definition: Position.h:118
void OnCreatureCreate(Creature *creature) override
Definition: InstanceScript.cpp:58
GuidSet AkilzonTrash
Definition: instance_zulaman.cpp:334

References AkilzonTrash, Object::GetEntry(), Object::GetGUID(), Position::GetPositionZ(), NPC_AMANISHI_WIND_WALKER, NPC_AMINISHI_LOOKOUT, NPC_AMINISHI_PROTECTOR, NPC_AMINISHI_TEMPEST, NPC_EAGLE_TRASH_AGGRO_TRIGGER, and InstanceScript::OnCreatureCreate().

◆ OnCreatureEvade()

void instance_zulaman::instance_zulaman_InstanceMapScript::OnCreatureEvade ( Creature creature)
inlineoverridevirtual

Reimplemented from ZoneScript.

237 {
238 switch (creature->GetEntry())
239 {
243 if (AkilzonTrash.contains(creature->GetGUID()))
245 break;
246 default:
247 break;
248 }
249 }
void ResetAkilzonGauntlet()
Definition: instance_zulaman.cpp:224

References AkilzonTrash, Object::GetEntry(), Object::GetGUID(), NPC_AMANISHI_WIND_WALKER, NPC_AMINISHI_PROTECTOR, NPC_AMINISHI_TEMPEST, and ResetAkilzonGauntlet().

◆ OnGameObjectCreate()

void instance_zulaman::instance_zulaman_InstanceMapScript::OnGameObjectCreate ( GameObject go)
inlineoverridevirtual

Reimplemented from InstanceScript.

141 {
142 if (go->GetEntry() == GO_GATE_HEXLORD)
144
146 }
@ GO_GATE_HEXLORD
Definition: zulaman.h:73
void OnGameObjectCreate(GameObject *go) override
Definition: InstanceScript.cpp:73
void CheckInstanceStatus()
Definition: instance_zulaman.cpp:182

References CheckInstanceStatus(), Object::GetEntry(), GO_GATE_HEXLORD, and InstanceScript::OnGameObjectCreate().

◆ OnPlayerEnter()

void instance_zulaman::instance_zulaman_InstanceMapScript::OnPlayerEnter ( Player )
inlineoverridevirtual

Reimplemented from InstanceScript.

112 {
115 }
bool IsGroupScheduled(group_t const group)
Check if the group exists and is currently scheduled.
Definition: TaskScheduler.cpp:122
void DoAction(int32 actionId) override
Definition: instance_zulaman.cpp:156

References ACTION_START_TIMED_RUN, DoAction(), GROUP_TIMED_RUN, TaskScheduler::IsGroupScheduled(), and InstanceScript::scheduler.

◆ ResetAkilzonGauntlet()

void instance_zulaman::instance_zulaman_InstanceMapScript::ResetAkilzonGauntlet ( )
inline
225 {
227 for (ObjectGuid guid : AkilzonTrash)
228 if (Creature* creature = instance->GetCreature(guid))
229 if (!creature->IsAlive())
230 creature->Respawn();
231 if (Creature* creature = GetCreature(DATA_LOOKOUT))
232 if (creature->isMoving())
233 creature->Respawn(true);
234 }
@ DATA_LOOKOUT
Definition: zulaman.h:43
Definition: Creature.h:43
Definition: ObjectGuid.h:118
Creature * GetCreature(uint32 type)
Definition: InstanceScript.cpp:103
Map * instance
Definition: InstanceScript.h:148
Creature * GetCreature(ObjectGuid const guid)
Definition: Map.cpp:3317

References _akilzonGauntlet, AkilzonTrash, DATA_LOOKOUT, Map::GetCreature(), InstanceScript::GetCreature(), InstanceScript::instance, and NOT_STARTED.

Referenced by OnCreatureEvade(), and SetData().

◆ SetBossState()

bool instance_zulaman::instance_zulaman_InstanceMapScript::SetBossState ( uint32  type,
EncounterState  state 
)
inlineoverridevirtual

Reimplemented from InstanceScript.

252 {
253 if (!InstanceScript::SetBossState(type, state))
254 return false;
255
256 switch (type)
257 {
258 case DATA_NALORAKK:
259 if (state == DONE)
260 {
262 {
265 }
266 SummonHostage(0);
267 }
268 break;
269 case DATA_AKILZON:
270 if (state == DONE)
271 {
273 {
276 }
277 SummonHostage(1);
278 }
279 break;
280 case DATA_JANALAI:
281 if (state == DONE)
282 SummonHostage(2);
283 break;
284 case DATA_HALAZZI:
285 if (state == DONE)
286 SummonHostage(3);
287 break;
288 case DATA_HEXLORD:
289 if (state == IN_PROGRESS)
291 else if (state == NOT_STARTED)
293 else if (state == DONE)
294 {
295 if (GameObject* zuljinGate = GetGameObject(DATA_ZULJIN_GATE))
296 zuljinGate->RemoveGameObjectFlag(GO_FLAG_LOCKED);
297 }
298 break;
299 }
300
301 if (state == DONE)
302 {
304 {
307 }
308
310 }
311
312 return true;
313 }
@ DATA_HEXLORD
Definition: zulaman.h:32
@ DATA_ZULJIN_GATE
Definition: zulaman.h:44
@ GO_FLAG_LOCKED
Definition: SharedDefines.h:1604
@ IN_PROGRESS
Definition: InstanceScript.h:58
@ DONE
Definition: InstanceScript.h:60
Definition: GameObject.h:120
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:373
void SummonHostage(uint8 num)
Definition: instance_zulaman.cpp:148

References InstanceScript::AllBossesDone(), CheckInstanceStatus(), DATA_AKILZON, DATA_HALAZZI, DATA_HEXLORD, DATA_HEXLORD_GATE, DATA_JANALAI, DATA_NALORAKK, DATA_TIMED_RUN, DATA_ZULJIN_GATE, DONE, InstanceScript::DoUpdateWorldState(), ObjectGuid::Empty, InstanceScript::GetGameObject(), InstanceScript::GetPersistentData(), GO_FLAG_LOCKED, InstanceScript::HandleGameObject(), IN_PROGRESS, NOT_STARTED, InstanceScript::SetBossState(), InstanceScript::StorePersistentData(), SummonHostage(), WORLDSTATE_SHOW_TIMER, and WORLDSTATE_TIME_TO_SACRIFICE.

◆ SetData()

void instance_zulaman::instance_zulaman_InstanceMapScript::SetData ( uint32  type,
uint32  data 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

189 {
190 if (type == TYPE_RAND_VENDOR_1)
191 RandVendor[0] = data;
192 else if (type == TYPE_RAND_VENDOR_2)
193 RandVendor[1] = data;
194 else if (type == TYPE_AKILZON_GAUNTLET)
195 {
196 if (data == IN_PROGRESS)
198 else if (data == NOT_STARTED)
200 else if (data == DONE)
202 }
203 }
void StartAkilzonGauntlet()
Definition: instance_zulaman.cpp:205

References _akilzonGauntlet, DONE, IN_PROGRESS, NOT_STARTED, RandVendor, ResetAkilzonGauntlet(), StartAkilzonGauntlet(), TYPE_AKILZON_GAUNTLET, TYPE_RAND_VENDOR_1, and TYPE_RAND_VENDOR_2.

◆ StartAkilzonGauntlet()

void instance_zulaman::instance_zulaman_InstanceMapScript::StartAkilzonGauntlet ( )
inline
206 {
208 for (ObjectGuid const& guid : AkilzonTrash)
209 if (Creature* creature = instance->GetCreature(guid))
210 switch (creature->GetEntry())
211 {
213 creature->DisappearAndDie();
214 break;
217 creature->AI()->DoAction(ACTION_START_AKILZON_GAUNTLET);
218 break;
219 default:
220 break;
221 }
222 }
@ ACTION_START_AKILZON_GAUNTLET
Definition: zulaman.h:89

References _akilzonGauntlet, ACTION_START_AKILZON_GAUNTLET, AkilzonTrash, Map::GetCreature(), IN_PROGRESS, InstanceScript::instance, NPC_AMINISHI_LOOKOUT, NPC_AMINISHI_TEMPEST, and NPC_EAGLE_TRASH_AGGRO_TRIGGER.

Referenced by SetData().

◆ SummonHostage()

void instance_zulaman::instance_zulaman_InstanceMapScript::SummonHostage ( uint8  num)
inline
149 {
151 return;
152
154 }
static SHostageInfo HostageInfo[]
Definition: instance_zulaman.cpp:40
npc
Definition: BattlegroundSA.h:75
TempSummon * SummonCreature(uint32 entry, Position const &pos, SummonPropertiesEntry const *properties=nullptr, uint32 duration=0, WorldObject *summoner=nullptr, uint32 spellId=0, uint32 vehId=0, bool visibleBySummonerOnly=false)
Definition: Object.cpp:2174

References DATA_TIMED_RUN, InstanceScript::GetPersistentData(), HostageInfo, InstanceScript::instance, and Map::SummonCreature().

Referenced by SetBossState().

◆ Update()

void instance_zulaman::instance_zulaman_InstanceMapScript::Update ( uint32  diff)
inlineoverridevirtual

Reimplemented from InstanceScript.

328 {
329 scheduler.Update(diff);
330 }
TaskScheduler & Update(success_t const &callback=EmptyCallback)
Definition: TaskScheduler.cpp:27

References InstanceScript::scheduler, and TaskScheduler::Update().

Member Data Documentation

◆ _akilzonGauntlet

EncounterState instance_zulaman::instance_zulaman_InstanceMapScript::_akilzonGauntlet = NOT_STARTED
private

◆ AkilzonTrash

GuidSet instance_zulaman::instance_zulaman_InstanceMapScript::AkilzonTrash
private

◆ RandVendor

uint32 instance_zulaman::instance_zulaman_InstanceMapScript::RandVendor[RAND_VENDOR]
private

Referenced by GetData(), Initialize(), and SetData().