|
| | instance_utgarde_pinnacle_InstanceMapScript (Map *pMap) |
| |
| void | Initialize () override |
| |
| bool | IsEncounterInProgress () const override |
| |
| void | OnCreatureCreate (Creature *pCreature) override |
| |
| void | OnGameObjectCreate (GameObject *pGo) override |
| |
| bool | CheckAchievementCriteriaMeet (uint32 criteria_id, Player const *, Unit const *, uint32) override |
| |
| void | SetData (uint32 type, uint32 data) override |
| |
| void | ReadSaveDataMore (std::istringstream &data) override |
| |
| void | WriteSaveDataMore (std::ostringstream &data) override |
| |
| uint32 | GetData (uint32 type) const override |
| |
| ObjectGuid | GetGuidData (uint32 identifier) const override |
| |
| | InstanceScript (Map *map) |
| |
| | ~InstanceScript () override |
| |
| virtual void | Load (char const *data) |
| |
| virtual void | CreatureLooted (Creature *, LootType) |
| |
| virtual std::string | GetSaveData () |
| |
| void | SaveToDB () |
| |
| virtual void | Update (uint32) |
| |
| 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) |
| | Open or close a GameObject by GUID.
|
| |
| void | HandleGameObject (uint32 type, bool open) |
| | Open or close a GameObject registered via LoadObjectData.
|
| |
| 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 () |
| |
| 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 | 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 | OnUnitDeath (Unit *) |
| |
| virtual void | OnCreatureEvade (Creature *) |
| |
| virtual void | SetGuidData (uint32, ObjectGuid) |
| |
| virtual uint64 | GetData64 (uint32) const |
| |
| virtual void | SetData64 (uint32, uint64) |
| |
| virtual void | ProcessEvent (WorldObject *, uint32) |
| |
| void instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript::OnCreatureCreate |
( |
Creature * |
pCreature | ) |
|
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
98 {
100 {
103 break;
106 break;
109 break;
112 break;
115 break;
118 break;
121 break;
124 break;
125 }
126
128 }
void OnCreatureCreate(Creature *creature) override
Definition InstanceScript.cpp:70
uint32 GetEntry() const
Definition Object.h:117
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:114
@ NPC_RAVENOUS_FURBOLG
Definition utgarde_pinnacle.h:71
@ NPC_KING_YMIRON
Definition utgarde_pinnacle.h:69
@ NPC_FRENZIED_WORGEN
Definition utgarde_pinnacle.h:70
@ NPC_SVALA_SORROWGRAVE
Definition utgarde_pinnacle.h:66
@ NPC_GORTOK_PALEHOOF
Definition utgarde_pinnacle.h:67
@ NPC_MASSIVE_JORMUNGAR
Definition utgarde_pinnacle.h:72
@ NPC_GARUF
Definition utgarde_pinnacle.h:74
@ NPC_FEROCIOUS_RHINO
Definition utgarde_pinnacle.h:73
References FerociousRhino, FrenziedWorgen, Object::GetEntry(), Object::GetGUID(), GortokPalehoof, Grauf, KingYmiron, MassiveJormungar, NPC_FEROCIOUS_RHINO, NPC_FRENZIED_WORGEN, NPC_GARUF, NPC_GORTOK_PALEHOOF, NPC_KING_YMIRON, NPC_MASSIVE_JORMUNGAR, NPC_RAVENOUS_FURBOLG, NPC_SVALA_SORROWGRAVE, InstanceScript::OnCreatureCreate(), RavenousFurbolg, and SvalaSorrowgrave.
| void instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript::SetData |
( |
uint32 |
type, |
|
|
uint32 |
data |
|
) |
| |
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
168 {
169 switch (type)
170 {
174 break;
177 {
179
182 }
184 break;
189 break;
192 break;
195 break;
198 return;
201 return;
204 return;
205 }
207
210 }
#define OUT_SAVE_INST_DATA_COMPLETE
Definition InstanceScript.h:30
#define OUT_SAVE_INST_DATA
Definition InstanceScript.h:29
@ UNIT_FLAG_NOT_SELECTABLE
Definition UnitDefines.h:282
Map * instance
Definition InstanceScript.h:149
void SaveToDB()
Definition InstanceScript.cpp:41
Creature * GetCreature(ObjectGuid const &guid)
Definition Map.cpp:2336
@ DATA_SKADI_ACHIEVEMENT
Definition utgarde_pinnacle.h:50
@ DATA_YMIRON_ACHIEVEMENT
Definition utgarde_pinnacle.h:51
@ DATA_SVALA_ACHIEVEMENT
Definition utgarde_pinnacle.h:49
References DATA_GORTOK_PALEHOOF, DATA_KING_YMIRON, DATA_SKADI_ACHIEVEMENT, DATA_SKADI_THE_RUTHLESS, DATA_SVALA_ACHIEVEMENT, DATA_SVALA_SORROWGRAVE, DATA_YMIRON_ACHIEVEMENT, DONE, Map::GetCreature(), InstanceScript::HandleGameObject(), InstanceScript::instance, KingYmiron, OUT_SAVE_INST_DATA, OUT_SAVE_INST_DATA_COMPLETE, InstanceScript::SaveToDB(), SKADI_HITS, SKADI_IN_RANGE, skadiAchievement, SkadiHits, SkadiInRange, SkadiRuthlessDoor, svalaAchievement, UNIT_FLAG_NOT_SELECTABLE, ymironAchievement, and YmironDoor.