|
| 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 | 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) |
|
ObjectGuid instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript::GetGuidData |
( |
uint32 |
identifier | ) |
const |
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
234 {
235 switch (identifier)
236 {
263 }
264
266 }
@ GO_SVALA_MIRROR
Definition: utgarde_pinnacle.h:60
@ YMIRON_DOOR
Definition: utgarde_pinnacle.h:40
@ SKADI_DOOR
Definition: utgarde_pinnacle.h:45
@ DATA_GRAUF
Definition: utgarde_pinnacle.h:33
@ DATA_NPC_RAVENOUS_FURBOLG
Definition: utgarde_pinnacle.h:36
@ DATA_NPC_FRENZIED_WORGEN
Definition: utgarde_pinnacle.h:35
@ DATA_NPC_MASSIVE_JORMUNGAR
Definition: utgarde_pinnacle.h:37
@ DATA_NPC_FEROCIOUS_RHINO
Definition: utgarde_pinnacle.h:38
@ STATIS_GENERATOR
Definition: utgarde_pinnacle.h:41
static ObjectGuid const Empty
Definition: ObjectGuid.h:120
ObjectGuid FerociousRhino
Definition: instance_utgarde_pinnacle.cpp:44
ObjectGuid YmironDoor
Definition: instance_utgarde_pinnacle.cpp:49
ObjectGuid RavenousFurbolg
Definition: instance_utgarde_pinnacle.cpp:42
ObjectGuid KingYmiron
Definition: instance_utgarde_pinnacle.cpp:40
ObjectGuid SvalaMirrorGUID
Definition: instance_utgarde_pinnacle.cpp:47
ObjectGuid MassiveJormungar
Definition: instance_utgarde_pinnacle.cpp:43
ObjectGuid GortokPalehoof
Definition: instance_utgarde_pinnacle.cpp:38
ObjectGuid Grauf
Definition: instance_utgarde_pinnacle.cpp:45
ObjectGuid FrenziedWorgen
Definition: instance_utgarde_pinnacle.cpp:41
ObjectGuid StatisGenerator
Definition: instance_utgarde_pinnacle.cpp:50
ObjectGuid SvalaSorrowgrave
Definition: instance_utgarde_pinnacle.cpp:37
ObjectGuid SkadiRuthlessDoor
Definition: instance_utgarde_pinnacle.cpp:48
ObjectGuid SkadiRuthless
Definition: instance_utgarde_pinnacle.cpp:39
References DATA_GORTOK_PALEHOOF, DATA_GRAUF, DATA_KING_YMIRON, DATA_NPC_FEROCIOUS_RHINO, DATA_NPC_FRENZIED_WORGEN, DATA_NPC_MASSIVE_JORMUNGAR, DATA_NPC_RAVENOUS_FURBOLG, DATA_SKADI_THE_RUTHLESS, DATA_SVALA_SORROWGRAVE, ObjectGuid::Empty, FerociousRhino, FrenziedWorgen, GO_SVALA_MIRROR, GortokPalehoof, Grauf, KingYmiron, MassiveJormungar, RavenousFurbolg, SKADI_DOOR, SkadiRuthless, SkadiRuthlessDoor, STATIS_GENERATOR, StatisGenerator, SvalaMirrorGUID, SvalaSorrowgrave, YMIRON_DOOR, and YmironDoor.
void instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript::OnCreatureCreate |
( |
Creature * |
pCreature | ) |
|
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
82 {
84 {
87 break;
90 break;
93 break;
96 break;
99 break;
102 break;
105 break;
108 break;
111 break;
112 }
113 }
@ NPC_RAVENOUS_FURBOLG
Definition: utgarde_pinnacle.h:70
@ NPC_KING_YMIRON
Definition: utgarde_pinnacle.h:68
@ NPC_FRENZIED_WORGEN
Definition: utgarde_pinnacle.h:69
@ NPC_SVALA_SORROWGRAVE
Definition: utgarde_pinnacle.h:65
@ NPC_GORTOK_PALEHOOF
Definition: utgarde_pinnacle.h:66
@ NPC_SKADI_THE_RUTHLESS
Definition: utgarde_pinnacle.h:67
@ NPC_MASSIVE_JORMUNGAR
Definition: utgarde_pinnacle.h:71
@ NPC_GARUF
Definition: utgarde_pinnacle.h:73
@ NPC_FEROCIOUS_RHINO
Definition: utgarde_pinnacle.h:72
uint32 GetEntry() const
Definition: Object.h:115
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
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_SKADI_THE_RUTHLESS, NPC_SVALA_SORROWGRAVE, RavenousFurbolg, SkadiRuthless, and SvalaSorrowgrave.
void instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript::SetData |
( |
uint32 |
type, |
|
|
uint32 |
data |
|
) |
| |
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
153 {
154 switch (type)
155 {
159 break;
162 {
164
167 }
169 break;
174 break;
177 break;
180 break;
183 return;
186 return;
189 return;
190 }
192
195 }
@ DATA_SKADI_ACHIEVEMENT
Definition: utgarde_pinnacle.h:50
@ DATA_YMIRON_ACHIEVEMENT
Definition: utgarde_pinnacle.h:51
@ DATA_SVALA_ACHIEVEMENT
Definition: utgarde_pinnacle.h:49
#define OUT_SAVE_INST_DATA_COMPLETE
Definition: InstanceScript.h:29
#define OUT_SAVE_INST_DATA
Definition: InstanceScript.h:28
@ UNIT_FLAG_NOT_SELECTABLE
Definition: UnitDefines.h:254
Definition: Creature.h:43
Map * instance
Definition: InstanceScript.h:148
void SaveToDB()
Definition: InstanceScript.cpp:41
Creature * GetCreature(ObjectGuid const guid)
Definition: Map.cpp:3317
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.