|
| instance_zulfarrak_InstanceMapScript (Map *map) |
|
void | Initialize () override |
|
void | OnCreatureCreate (Creature *creature) override |
|
void | OnGameObjectCreate (GameObject *gameobject) override |
|
void | OnUnitDeath (Unit *unit) override |
|
void | SetData (uint32 type, uint32 data) override |
|
uint32 | GetData (uint32 type) const override |
|
ObjectGuid | GetGuidData (uint32 data) const override |
|
void | Update (uint32 diff) override |
|
void | MoveNPCIfAlive (uint32 entry, float x, float y, float z, float o) |
|
void | SpawnPyramidWave (uint32 wave) |
|
bool | IsWaveAllDead () |
|
void | SendAddsUpStairs (uint32 count) |
|
void | ReadSaveDataMore (std::istringstream &data) override |
|
void | WriteSaveDataMore (std::ostringstream &data) override |
|
| 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 |
|
Creature * | GetCreature (uint32 type) |
|
GameObject * | GetGameObject (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 |
|
| 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) |
|
void instance_zulfarrak::instance_zulfarrak_InstanceMapScript::Update |
( |
uint32 |
diff | ) |
|
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
261 {
263 {
270 break;
277 break;
280 {
283 }
284 else
285 {
287 {
290 }
291 else
292 {
294 }
295 }
296 break;
299 {
300
305 }
306 else
307 {
309 }
310 break;
313 {
317 }
318 else
319 {
321 {
324 }
325 else
326 {
328 }
329 }
330 break;
333 {
334
342 {
344 }
345 }
346 else
347 {
349 }
350 break;
353 {
360 }
361 break;
362 default:
363 break;
364 };
365 }
constexpr auto IN_MILLISECONDS
Definition: Common.h:53
constexpr auto MINUTE
Definition: Common.h:47
@ PYRAMID_WAVE_2
Definition: zulfarrak.h:62
@ PYRAMID_DESTROY_GATES
Definition: zulfarrak.h:67
@ PYRAMID_NOT_STARTED
Definition: zulfarrak.h:57
@ PYRAMID_ARRIVED_AT_STAIR
Definition: zulfarrak.h:59
@ PYRAMID_PRE_WAVE_2
Definition: zulfarrak.h:61
@ PYRAMID_KILLED_ALL_TROLLS
Definition: zulfarrak.h:65
@ PYRAMID_WAVE_3
Definition: zulfarrak.h:64
@ PYRAMID_GATES_DESTROYED
Definition: zulfarrak.h:68
@ PYRAMID_WAVE_1
Definition: zulfarrak.h:60
@ PYRAMID_PRE_WAVE_3
Definition: zulfarrak.h:63
@ PYRAMID_MOVED_DOWNSTAIRS
Definition: zulfarrak.h:66
@ SAY_BLY_FORWARD
Definition: instance_zulfarrak.cpp:34
void SpawnPyramidWave(uint32 wave)
Definition: instance_zulfarrak.cpp:380
void MoveNPCIfAlive(uint32 entry, float x, float y, float z, float o)
Definition: instance_zulfarrak.cpp:367
void SetData(uint32 type, uint32 data) override
Definition: instance_zulfarrak.cpp:207
void SendAddsUpStairs(uint32 count)
Definition: instance_zulfarrak.cpp:433
bool IsWaveAllDead()
Definition: instance_zulfarrak.cpp:406
References addGroupSize, BlyGUID, DATA_PYRAMID, Map::GetCreature(), IN_MILLISECONDS, InstanceScript::instance, IsWaveAllDead(), major_wave_Timer, minor_wave_Timer, MINUTE, MoveNPCIfAlive(), NPC_BLY, NPC_MURTA, NPC_ORO, NPC_RAVEN, NPC_WEEGLI, PYRAMID_ARRIVED_AT_STAIR, PYRAMID_DESTROY_GATES, PYRAMID_DONE, PYRAMID_GATES_DESTROYED, PYRAMID_KILLED_ALL_TROLLS, PYRAMID_MOVED_DOWNSTAIRS, PYRAMID_NOT_STARTED, PYRAMID_PRE_WAVE_2, PYRAMID_PRE_WAVE_3, PYRAMID_WAVE_1, PYRAMID_WAVE_2, PYRAMID_WAVE_3, PyramidPhase, SAY_BLY_FORWARD, SendAddsUpStairs(), SetData(), and SpawnPyramidWave().