|
| instance_sunwell_plateau_InstanceMapScript (Map *map) |
|
void | OnPlayerEnter (Player *player) override |
|
Player const * | GetPlayerInMap () const |
|
void | OnCreatureCreate (Creature *creature) override |
|
void | OnGameObjectCreate (GameObject *go) override |
|
void | OnGameObjectRemove (GameObject *go) override |
|
ObjectGuid | GetGuidData (uint32 id) 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_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::GetGuidData |
( |
uint32 |
id | ) |
const |
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
200 {
201 switch (id)
202 {
227
228
234 }
235
237 }
@ NPC_LADY_SACROLASH
Definition: sunwell_plateau.h:60
@ NPC_KILJAEDEN_CONTROLLER
Definition: sunwell_plateau.h:69
@ NPC_GRAND_WARLOCK_ALYTHESS
Definition: sunwell_plateau.h:59
@ NPC_MURU
Definition: sunwell_plateau.h:63
@ NPC_BRUTALLUS
Definition: sunwell_plateau.h:53
@ NPC_ANVEENA
Definition: sunwell_plateau.h:71
@ NPC_KILJAEDEN
Definition: sunwell_plateau.h:70
@ NPC_SATHROVARR
Definition: sunwell_plateau.h:51
@ NPC_FELMYST
Definition: sunwell_plateau.h:55
@ NPC_KALECGOS_KJ
Definition: sunwell_plateau.h:72
@ NPC_MADRIGOSA
Definition: sunwell_plateau.h:54
@ DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_4
Definition: sunwell_plateau.h:44
@ DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_1
Definition: sunwell_plateau.h:41
@ DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_2
Definition: sunwell_plateau.h:42
@ DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_3
Definition: sunwell_plateau.h:43
@ NPC_KALECGOS
Definition: magisters_terrace.h:45
static ObjectGuid const Empty
Definition: ObjectGuid.h:120
ObjectGuid FelmystGUID
Definition: instance_sunwell_plateau.cpp:244
ObjectGuid AnveenaGUID
Definition: instance_sunwell_plateau.cpp:250
ObjectGuid KilJaedenGUID
Definition: instance_sunwell_plateau.cpp:248
ObjectGuid blueFlightOrbGUID[4]
Definition: instance_sunwell_plateau.cpp:254
ObjectGuid BrutallusGUID
Definition: instance_sunwell_plateau.cpp:242
ObjectGuid SacrolashGUID
Definition: instance_sunwell_plateau.cpp:246
ObjectGuid KilJaedenControllerGUID
Definition: instance_sunwell_plateau.cpp:249
ObjectGuid AlythessGUID
Definition: instance_sunwell_plateau.cpp:245
ObjectGuid MuruGUID
Definition: instance_sunwell_plateau.cpp:247
ObjectGuid KalecgosKjGUID
Definition: instance_sunwell_plateau.cpp:251
ObjectGuid SathrovarrGUID
Definition: instance_sunwell_plateau.cpp:241
ObjectGuid MadrigosaGUID
Definition: instance_sunwell_plateau.cpp:243
ObjectGuid KalecgosDragonGUID
Definition: instance_sunwell_plateau.cpp:240
References AlythessGUID, AnveenaGUID, blueFlightOrbGUID, BrutallusGUID, DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_1, DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_2, DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_3, DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_4, ObjectGuid::Empty, FelmystGUID, KalecgosDragonGUID, KalecgosKjGUID, KilJaedenControllerGUID, KilJaedenGUID, MadrigosaGUID, MuruGUID, NPC_ANVEENA, NPC_BRUTALLUS, NPC_FELMYST, NPC_GRAND_WARLOCK_ALYTHESS, NPC_KALECGOS, NPC_KALECGOS_KJ, NPC_KILJAEDEN, NPC_KILJAEDEN_CONTROLLER, NPC_LADY_SACROLASH, NPC_MADRIGOSA, NPC_MURU, NPC_SATHROVARR, SacrolashGUID, and SathrovarrGUID.
void instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::OnCreatureCreate |
( |
Creature * |
creature | ) |
|
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
78 {
81
83 {
86 break;
89 break;
92 break;
95 break;
98 break;
101 break;
104 break;
107 break;
110 break;
113 break;
116 break;
119 break;
120
121
125 felmyst->AI()->JustSummoned(creature);
126 break;
127
128
133 muru->AI()->JustSummoned(creature);
134 break;
135
136
142 kiljaedenC->AI()->JustSummoned(creature);
143 break;
144 default:
145 break;
146 }
147 }
@ SPELL_SUNWELL_RADIANCE
Definition: sunwell_plateau.h:99
@ NPC_DARKNESS
Definition: sunwell_plateau.h:65
@ NPC_DEMONIC_VAPOR_TRAIL
Definition: sunwell_plateau.h:56
@ NPC_UNYIELDING_DEAD
Definition: sunwell_plateau.h:57
@ NPC_SHIELD_ORB
Definition: sunwell_plateau.h:76
@ NPC_FELFIRE_PORTAL
Definition: sunwell_plateau.h:74
@ NPC_VOLATILE_FELFIRE_FIEND
Definition: sunwell_plateau.h:75
@ NPC_SINISTER_REFLECTION
Definition: sunwell_plateau.h:77
@ NPC_VOID_SENTINEL
Definition: sunwell_plateau.h:66
@ NPC_VOID_SPAWN
Definition: sunwell_plateau.h:67
Definition: Creature.h:46
ObjectGuid::LowType GetSpawnId() const
Definition: Creature.h:68
uint32 GetEntry() const
Definition: Object.h:112
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:109
bool IsPlayer() const
Definition: ObjectGuid.h:168
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1168
ObjectGuid GetOwnerGUID() const
Definition: Unit.h:1210
Creature * GetCreature(ObjectGuid const guid)
Definition: Map.cpp:3314
References AlythessGUID, AnveenaGUID, BrutallusGUID, Unit::CastSpell(), FelmystGUID, Map::GetCreature(), Object::GetEntry(), Object::GetGUID(), Unit::GetOwnerGUID(), Creature::GetSpawnId(), InstanceScript::instance, ObjectGuid::IsPlayer(), KalecgosDragonGUID, KalecgosKjGUID, KilJaedenControllerGUID, KilJaedenGUID, MadrigosaGUID, MuruGUID, NPC_ANVEENA, NPC_BRUTALLUS, NPC_DARKNESS, NPC_DEMONIC_VAPOR_TRAIL, NPC_FELFIRE_PORTAL, NPC_FELMYST, NPC_GRAND_WARLOCK_ALYTHESS, NPC_KALECGOS, NPC_KALECGOS_KJ, NPC_KILJAEDEN, NPC_KILJAEDEN_CONTROLLER, NPC_LADY_SACROLASH, NPC_MADRIGOSA, NPC_MURU, NPC_SATHROVARR, NPC_SHIELD_ORB, NPC_SINISTER_REFLECTION, NPC_UNYIELDING_DEAD, NPC_VOID_SENTINEL, NPC_VOID_SPAWN, NPC_VOLATILE_FELFIRE_FIEND, SacrolashGUID, SathrovarrGUID, and SPELL_SUNWELL_RADIANCE.