|
| | instance_gundrak_InstanceMapScript (Map *map) |
| |
| void | Initialize () override |
| |
| void | OnGameObjectCreate (GameObject *gameobject) override |
| |
| void | OnGameObjectRemove (GameObject *gameobject) override |
| |
| void | SetData (uint32 type, uint32) override |
| |
| bool | SetBossState (uint32 type, EncounterState state) override |
| |
| void | OnUnitDeath (Unit *unit) override |
| |
| void | Update (uint32 diff) override |
| |
| | InstanceScript (Map *map) |
| |
| | ~InstanceScript () override |
| |
| virtual void | Load (char const *data) |
| |
| virtual void | CreatureLooted (Creature *, LootType) |
| |
| virtual std::string | GetSaveData () |
| |
| void | SaveToDB () |
| |
| 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 | OnPlayerLeave (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 | DoRespawnGameObject (uint32 type) |
| |
| 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 () |
| |
| 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 (WorldPackets::WorldState::InitWorldStates &) |
| |
| 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 |
| |
| TeamId | GetTeamIdInInstance () const |
| |
| void | SetTeamIdInInstance (TeamId teamId) |
| |
| bool | IsTwoFactionInstance () const |
| |
| | ZoneScript () |
| |
| virtual | ~ZoneScript () |
| |
| virtual uint32 | GetCreatureEntry (ObjectGuid::LowType, CreatureData const *data) |
| |
| virtual uint32 | GetGameObjectEntry (ObjectGuid::LowType, uint32 entry) |
| |
| virtual void | OnCreatureEvade (Creature *) |
| |
| virtual void | SetGuidData (uint32, ObjectGuid) |
| |
| virtual uint64 | GetData64 (uint32) const |
| |
| virtual void | SetData64 (uint32, uint64) |
| |
| virtual uint32 | GetData (uint32) const |
| |
| virtual void | ProcessEvent (WorldObject *, uint32) |
| |
| void instance_gundrak::instance_gundrak_InstanceMapScript::OnGameObjectCreate |
( |
GameObject * |
gameobject | ) |
|
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
68 {
70 {
74 break;
78 break;
82 break;
86 break;
90 break;
94 break;
98 break;
102 break;
106 break;
111 break;
116 break;
117 }
118 }
@ GO_STATE_READY
Definition GameObjectData.h:692
@ GO_STATE_ACTIVE
Definition GameObjectData.h:691
@ GO_STATE_ACTIVE_ALTERNATIVE
Definition GameObjectData.h:693
@ DONE
Definition InstanceScript.h:61
void SetGoState(GOState state)
Definition GameObject.cpp:2469
Map * instance
Definition InstanceScript.h:149
EncounterState GetBossState(uint32 id) const
Definition InstanceScript.h:242
void AddDoor(GameObject *door, bool add=true)
Definition InstanceScript.cpp:331
bool IsHeroic() const
Definition Map.h:299
uint32 GetEntry() const
Definition Object.h:116
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:113
@ GO_GAL_DARAH_DOORS0
Definition gundrak.h:63
@ GO_GUNDRAK_BRIDGE
Definition gundrak.h:58
@ GO_ALTAR_OF_MOORABI
Definition gundrak.h:54
@ GO_STATUE_OF_MOORABI
Definition gundrak.h:55
@ GO_STATUE_OF_DRAKKARI
Definition gundrak.h:53
@ GO_ALTAR_OF_DRAKKARI
Definition gundrak.h:52
@ GO_GAL_DARAH_DOORS1
Definition gundrak.h:64
@ GO_STATUE_OF_SLAD_RAN
Definition gundrak.h:51
@ GO_ECK_DOORS
Definition gundrak.h:61
@ GO_ECK_UNDERWATER_GATE
Definition gundrak.h:62
@ GO_STATUE_OF_GAL_DARAH
Definition gundrak.h:56
@ GO_GAL_DARAH_DOORS2
Definition gundrak.h:65
@ GO_ALTAR_OF_SLAD_RAN
Definition gundrak.h:50
@ GO_GUNDRAK_COLLISION
Definition gundrak.h:59
@ DATA_SLAD_RAN
Definition gundrak.h:29
@ DATA_DRAKKARI_COLOSSUS
Definition gundrak.h:31
@ DATA_MOORABI
Definition gundrak.h:30
ObjectGuid _moorabiAltarGUID
Definition instance_gundrak.cpp:52
ObjectGuid _bridgeGUIDs[6]
Definition instance_gundrak.cpp:54
ObjectGuid _drakkariAltarGUID
Definition instance_gundrak.cpp:53
ObjectGuid _sladRanAltarGUID
Definition instance_gundrak.cpp:51
References _bridgeGUIDs, _drakkariAltarGUID, _keysInCount, _moorabiAltarGUID, _sladRanAltarGUID, InstanceScript::AddDoor(), DATA_DRAKKARI_COLOSSUS, DATA_MOORABI, DATA_SLAD_RAN, DONE, InstanceScript::GetBossState(), Object::GetEntry(), Object::GetGUID(), GO_ALTAR_OF_DRAKKARI, GO_ALTAR_OF_MOORABI, GO_ALTAR_OF_SLAD_RAN, GO_ECK_DOORS, GO_ECK_UNDERWATER_GATE, GO_GAL_DARAH_DOORS0, GO_GAL_DARAH_DOORS1, GO_GAL_DARAH_DOORS2, GO_GUNDRAK_BRIDGE, GO_GUNDRAK_COLLISION, GO_STATE_ACTIVE, GO_STATE_ACTIVE_ALTERNATIVE, GO_STATE_READY, GO_STATUE_OF_DRAKKARI, GO_STATUE_OF_GAL_DARAH, GO_STATUE_OF_MOORABI, GO_STATUE_OF_SLAD_RAN, InstanceScript::instance, Map::IsHeroic(), and GameObject::SetGoState().