|
| instance_zulaman_InstanceMapScript (Map *map) |
|
void | Initialize () override |
|
bool | IsEncounterInProgress () const override |
|
void | OnPlayerEnter (Player *) override |
|
void | OnCreatureCreate (Creature *creature) override |
|
void | OnGameObjectCreate (GameObject *go) override |
|
void | SummonHostage (uint8 num) |
|
void | CheckInstanceStatus () |
|
std::string | GetSaveData () override |
|
void | Load (const char *load) override |
|
void | SetData (uint32 type, uint32 data) override |
|
uint32 | GetData (uint32 type) const override |
|
void | Update (uint32 diff) override |
|
ObjectGuid | GetGuidData (uint32 type) const 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_zulaman::instance_zulaman_InstanceMapScript::OnGameObjectCreate |
( |
GameObject * |
go | ) |
|
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
154 {
156 {
159 break;
162 break;
165 break;
168 break;
171 break;
174 break;
175
178 break;
181 break;
184 break;
187 break;
190 break;
191 default:
192 break;
193 }
195 }
@ GO_KRAZS_PACKAGE
Definition: zulaman.h:67
@ GO_ASHLIS_BAG
Definition: zulaman.h:66
@ GO_GATE_HEXLORD
Definition: zulaman.h:60
@ GO_DOOR_ZULJIN
Definition: zulaman.h:63
@ GO_DOOR_AKILZON
Definition: zulaman.h:62
@ GO_DOOR_HALAZZI
Definition: zulaman.h:58
@ GO_HARKORS_SATCHEL
Definition: zulaman.h:64
@ GO_TANZARS_TRUNK
Definition: zulaman.h:65
@ GO_GATE_ZULJIN
Definition: zulaman.h:59
ObjectGuid HalazziDoorGUID
Definition: instance_zulaman.cpp:93
ObjectGuid TanzarsTrunkGUID
Definition: instance_zulaman.cpp:82
ObjectGuid ZulJinDoorGUID
Definition: instance_zulaman.cpp:92
ObjectGuid HarkorsSatchelGUID
Definition: instance_zulaman.cpp:81
void CheckInstanceStatus()
Definition: instance_zulaman.cpp:217
ObjectGuid AkilzonDoorGUID
Definition: instance_zulaman.cpp:91
ObjectGuid KrazsPackageGUID
Definition: instance_zulaman.cpp:84
ObjectGuid AshlisBagGUID
Definition: instance_zulaman.cpp:83
References AkilzonDoorGUID, AshlisBagGUID, CheckInstanceStatus(), Object::GetEntry(), Object::GetGUID(), GO_ASHLIS_BAG, GO_DOOR_AKILZON, GO_DOOR_HALAZZI, GO_DOOR_ZULJIN, GO_GATE_HEXLORD, GO_GATE_ZULJIN, GO_HARKORS_SATCHEL, GO_KRAZS_PACKAGE, GO_MASSIVE_GATE, GO_STRANGE_GONG, GO_TANZARS_TRUNK, HalazziDoorGUID, HarkorsSatchelGUID, HexLordGateGUID, KrazsPackageGUID, MassiveGateGUID, StrangeGongGUID, TanzarsTrunkGUID, ZulJinDoorGUID, and ZulJinGateGUID.
void instance_zulaman::instance_zulaman_InstanceMapScript::SetData |
( |
uint32 |
type, |
|
|
uint32 |
data |
|
) |
| |
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
260 {
261 switch (type)
262 {
267 else if (data ==
DONE)
269 break;
273 {
275 {
278 }
281 }
282 break;
287 {
289 {
292 }
295 }
296 break;
302 break;
308 break;
316 break;
321 break;
325 break;
328 break;
331 break;
332 }
333
335 {
338 {
341 }
344 }
345 }
@ DONE
Definition: InstanceScript.h:60
@ WORLDSTATE_TIME_TO_SACRIFICE
Definition: instance_zulaman.cpp:36
@ WORLDSTATE_SHOW_TIMER
Definition: instance_zulaman.cpp:35
void SaveToDB()
Definition: InstanceScript.cpp:41
void DoUpdateWorldState(uint32 worldstateId, uint32 worldstateValue)
Definition: InstanceScript.cpp:577
void SummonHostage(uint8 num)
Definition: instance_zulaman.cpp:197
References AkilzonDoorGUID, BossKilled, CheckInstanceStatus(), ChestLooted, DATA_AKILZONEVENT, DATA_CHESTLOOTED, DATA_GONGEVENT, DATA_HALAZZIEVENT, DATA_HEXLORDEVENT, DATA_JANALAIEVENT, DATA_NALORAKKEVENT, DATA_ZULJINEVENT, DONE, InstanceScript::DoUpdateWorldState(), HalazziDoorGUID, InstanceScript::HandleGameObject(), HexLordGateGUID, IN_PROGRESS, m_auiEncounter, NOT_STARTED, QuestMinute, RandVendor, InstanceScript::SaveToDB(), SummonHostage(), TYPE_RAND_VENDOR_1, TYPE_RAND_VENDOR_2, WORLDSTATE_SHOW_TIMER, WORLDSTATE_TIME_TO_SACRIFICE, and ZulJinDoorGUID.