AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript Struct Reference
Inheritance diagram for instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript:
InstanceScript ZoneScript

Public Member Functions

 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
 
- Public Member Functions inherited from InstanceScript
 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
 
CreatureGetCreature (uint32 type)
 
GameObjectGetGameObject (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
 
- Public Member Functions inherited from ZoneScript
 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)
 

Protected Attributes

ObjectGuid KalecgosDragonGUID
 
ObjectGuid SathrovarrGUID
 
ObjectGuid BrutallusGUID
 
ObjectGuid MadrigosaGUID
 
ObjectGuid FelmystGUID
 
ObjectGuid AlythessGUID
 
ObjectGuid SacrolashGUID
 
ObjectGuid MuruGUID
 
ObjectGuid KilJaedenGUID
 
ObjectGuid KilJaedenControllerGUID
 
ObjectGuid AnveenaGUID
 
ObjectGuid KalecgosKjGUID
 
ObjectGuid IceBarrierGUID
 
ObjectGuid blueFlightOrbGUID [4]
 

Additional Inherited Members

- Static Public Member Functions inherited from InstanceScript
static std::string GetBossStateName (uint8 state)
 
- Public Attributes inherited from InstanceScript
Mapinstance
 
TaskScheduler scheduler
 
- Protected Member Functions inherited from InstanceScript
void SetHeaders (std::string const &dataHeaders)
 
void SetBossNumber (uint32 number)
 
void SetPersistentDataCount (uint32 number)
 
void LoadBossBoundaries (BossBoundaryData const &data)
 
void LoadDoorData (DoorData const *data)
 
void LoadMinionData (MinionData const *data)
 
void LoadObjectData (ObjectData const *creatureData, ObjectData const *gameObjectData)
 
void AddObject (Creature *obj, bool add=true)
 
void RemoveObject (Creature *obj)
 
void AddObject (GameObject *obj, bool add=true)
 
void RemoveObject (GameObject *obj)
 
void AddObject (WorldObject *obj, uint32 type, bool add=true)
 
void RemoveObject (WorldObject *obj, uint32 type)
 
void AddDoor (GameObject *door, bool add=true)
 
void RemoveDoor (GameObject *door)
 
void AddMinion (Creature *minion, bool add=true)
 
void RemoveMinion (Creature *minion)
 
void UpdateDoorState (GameObject *door)
 
void UpdateMinionState (Creature *minion, EncounterState state)
 
bool ReadSaveDataHeaders (std::istringstream &data)
 
void ReadSaveDataBossStates (std::istringstream &data)
 
void ReadSavePersistentData (std::istringstream &data)
 
virtual void ReadSaveDataMore (std::istringstream &)
 
void WriteSaveDataHeaders (std::ostringstream &data)
 
void WriteSaveDataBossStates (std::ostringstream &data)
 
void WritePersistentData (std::ostringstream &data)
 
virtual void WriteSaveDataMore (std::ostringstream &)
 

Detailed Description

Constructor & Destructor Documentation

◆ instance_sunwell_plateau_InstanceMapScript()

instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::instance_sunwell_plateau_InstanceMapScript ( Map map)
inline
43 : InstanceScript(map)
44 {
48 }
DoorData const doorData[]
Definition: instance_sunwell_plateau.cpp:25
#define DataHeader
Definition: blackrock_depths.h:23
@ MAX_ENCOUNTERS
Definition: deadmines.h:30
Definition: InstanceScript.h:142
void SetBossNumber(uint32 number)
Definition: InstanceScript.h:285
void LoadDoorData(DoorData const *data)
Definition: InstanceScript.cpp:161
void SetHeaders(std::string const &dataHeaders)
Definition: InstanceScript.cpp:138

References DataHeader, doorData, InstanceScript::LoadDoorData(), MAX_ENCOUNTERS, InstanceScript::SetBossNumber(), and InstanceScript::SetHeaders().

Member Function Documentation

◆ GetGuidData()

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::GetGuidData ( uint32  id) const
inlineoverridevirtual

Reimplemented from InstanceScript.

200 {
201 switch (id)
202 {
203 case NPC_KALECGOS:
204 return KalecgosDragonGUID;
205 case NPC_SATHROVARR:
206 return SathrovarrGUID;
207 case NPC_BRUTALLUS:
208 return BrutallusGUID;
209 case NPC_MADRIGOSA:
210 return MadrigosaGUID;
211 case NPC_FELMYST:
212 return FelmystGUID;
214 return AlythessGUID;
216 return SacrolashGUID;
217 case NPC_MURU:
218 return MuruGUID;
219 case NPC_ANVEENA:
220 return AnveenaGUID;
221 case NPC_KALECGOS_KJ:
222 return KalecgosKjGUID;
225 case NPC_KILJAEDEN:
226 return KilJaedenGUID;
227
228 // Orbs
234 }
235
236 return ObjectGuid::Empty;
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.

◆ GetPlayerInMap()

Player const * instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::GetPlayerInMap ( ) const
inline
59 {
60 Map::PlayerList const& players = instance->GetPlayers();
61
62 if (!players.IsEmpty())
63 {
64 for (Map::PlayerList::const_iterator itr = players.begin(); itr != players.end(); ++itr)
65 {
66 Player* player = itr->GetSource();
67 if (player && !player->HasAura(45839))
68 return player;
69 }
70 }
71 //else
72 // LOG_DEBUG("scripts", "Instance Sunwell Plateau: GetPlayerInMap, but PlayerList is empty!");
73
74 return nullptr;
75 }
bool IsEmpty() const
Definition: LinkedList.h:97
Definition: LinkedList.h:139
Definition: Player.h:1064
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5669
Map * instance
Definition: InstanceScript.h:148
PlayerList const & GetPlayers() const
Definition: Map.h:486
Definition: MapRefMgr.h:26
iterator begin()
Definition: MapRefMgr.h:36
iterator end()
Definition: MapRefMgr.h:37

References MapRefMgr::begin(), MapRefMgr::end(), Map::GetPlayers(), Unit::HasAura(), InstanceScript::instance, and LinkedListHead::IsEmpty().

◆ OnCreatureCreate()

void instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::OnCreatureCreate ( Creature creature)
inlineoverridevirtual

Reimplemented from InstanceScript.

78 {
79 if (creature->GetSpawnId() > 0 || !creature->GetOwnerGUID().IsPlayer())
80 creature->CastSpell(creature, SPELL_SUNWELL_RADIANCE, true);
81
82 switch (creature->GetEntry())
83 {
84 case NPC_KALECGOS:
85 KalecgosDragonGUID = creature->GetGUID();
86 break;
87 case NPC_SATHROVARR:
88 SathrovarrGUID = creature->GetGUID();
89 break;
90 case NPC_BRUTALLUS:
91 BrutallusGUID = creature->GetGUID();
92 break;
93 case NPC_MADRIGOSA:
94 MadrigosaGUID = creature->GetGUID();
95 break;
96 case NPC_FELMYST:
97 FelmystGUID = creature->GetGUID();
98 break;
100 AlythessGUID = creature->GetGUID();
101 break;
103 SacrolashGUID = creature->GetGUID();
104 break;
105 case NPC_MURU:
106 MuruGUID = creature->GetGUID();
107 break;
108 case NPC_KILJAEDEN:
109 KilJaedenGUID = creature->GetGUID();
110 break;
112 KilJaedenControllerGUID = creature->GetGUID();
113 break;
114 case NPC_ANVEENA:
115 AnveenaGUID = creature->GetGUID();
116 break;
117 case NPC_KALECGOS_KJ:
118 KalecgosKjGUID = creature->GetGUID();
119 break;
120
121 // Xinef: Felmyst encounter
124 if (Creature* felmyst = instance->GetCreature(FelmystGUID))
125 felmyst->AI()->JustSummoned(creature);
126 break;
127
128 // Xinef: M'uru encounter
129 case NPC_DARKNESS:
131 case NPC_VOID_SPAWN:
133 muru->AI()->JustSummoned(creature);
134 break;
135
136 // Xinef: Kil'jaeden encounter
139 case NPC_SHIELD_ORB:
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.

◆ OnGameObjectCreate()

void instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::OnGameObjectCreate ( GameObject go)
inlineoverridevirtual

Reimplemented from InstanceScript.

150 {
151 switch (go->GetEntry())
152 {
153 case GO_FORCE_FIELD:
156 case GO_FIRE_BARRIER:
157 case GO_MURUS_GATE_1:
158 case GO_MURUS_GATE_2:
159 AddDoor(go);
160 break;
161 case GO_ICE_BARRIER:
162 IceBarrierGUID = go->GetGUID();
163 go->setActive(true);
164 break;
166 blueFlightOrbGUID[0] = go->GetGUID();
167 break;
169 blueFlightOrbGUID[1] = go->GetGUID();
170 break;
172 blueFlightOrbGUID[2] = go->GetGUID();
173 break;
175 blueFlightOrbGUID[3] = go->GetGUID();
176 break;
177 default:
178 break;
179 }
180 }
@ GO_ORB_OF_THE_BLUE_DRAGONFLIGHT4
Definition: sunwell_plateau.h:94
@ GO_ORB_OF_THE_BLUE_DRAGONFLIGHT3
Definition: sunwell_plateau.h:93
@ GO_BOSS_COLLISION_2
Definition: sunwell_plateau.h:85
@ GO_ORB_OF_THE_BLUE_DRAGONFLIGHT2
Definition: sunwell_plateau.h:92
@ GO_FORCE_FIELD
Definition: sunwell_plateau.h:83
@ GO_ORB_OF_THE_BLUE_DRAGONFLIGHT1
Definition: sunwell_plateau.h:91
@ GO_FIRE_BARRIER
Definition: sunwell_plateau.h:86
@ GO_MURUS_GATE_2
Definition: sunwell_plateau.h:88
@ GO_MURUS_GATE_1
Definition: sunwell_plateau.h:87
@ GO_ICE_BARRIER
Definition: sunwell_plateau.h:89
@ GO_BOSS_COLLISION_1
Definition: sunwell_plateau.h:84
void setActive(bool isActiveObject)
Definition: Object.cpp:1085
void AddDoor(GameObject *door, bool add=true)
Definition: InstanceScript.cpp:307
ObjectGuid IceBarrierGUID
Definition: instance_sunwell_plateau.cpp:253

References InstanceScript::AddDoor(), blueFlightOrbGUID, Object::GetEntry(), Object::GetGUID(), GO_BOSS_COLLISION_1, GO_BOSS_COLLISION_2, GO_FIRE_BARRIER, GO_FORCE_FIELD, GO_ICE_BARRIER, GO_MURUS_GATE_1, GO_MURUS_GATE_2, GO_ORB_OF_THE_BLUE_DRAGONFLIGHT1, GO_ORB_OF_THE_BLUE_DRAGONFLIGHT2, GO_ORB_OF_THE_BLUE_DRAGONFLIGHT3, GO_ORB_OF_THE_BLUE_DRAGONFLIGHT4, IceBarrierGUID, and WorldObject::setActive().

◆ OnGameObjectRemove()

void instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::OnGameObjectRemove ( GameObject go)
inlineoverridevirtual

Reimplemented from InstanceScript.

183 {
184 switch (go->GetEntry())
185 {
186 case GO_FIRE_BARRIER:
187 case GO_MURUS_GATE_1:
188 case GO_MURUS_GATE_2:
191 case GO_FORCE_FIELD:
192 RemoveDoor(go);
193 break;
194 default:
195 break;
196 }
197 }
void RemoveDoor(GameObject *door)
Definition: InstanceScript.cpp:329

References Object::GetEntry(), GO_BOSS_COLLISION_1, GO_BOSS_COLLISION_2, GO_FIRE_BARRIER, GO_FORCE_FIELD, GO_MURUS_GATE_1, GO_MURUS_GATE_2, and InstanceScript::RemoveDoor().

◆ OnPlayerEnter()

void instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::OnPlayerEnter ( Player player)
inlineoverridevirtual

Reimplemented from InstanceScript.

51 {
52 instance->LoadGrid(1477.94f, 643.22f);
53 instance->LoadGrid(1641.45f, 988.08f);
55 gobj->SendUpdateToPlayer(player);
56 }
Definition: GameObject.h:121
void LoadGrid(float x, float y)
Definition: Map.cpp:492
GameObject * GetGameObject(ObjectGuid const guid)
Definition: Map.cpp:3319

References Map::GetGameObject(), IceBarrierGUID, InstanceScript::instance, and Map::LoadGrid().

Member Data Documentation

◆ AlythessGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::AlythessGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().

◆ AnveenaGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::AnveenaGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().

◆ blueFlightOrbGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::blueFlightOrbGUID[4]
protected

Referenced by GetGuidData(), and OnGameObjectCreate().

◆ BrutallusGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::BrutallusGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().

◆ FelmystGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::FelmystGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().

◆ IceBarrierGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::IceBarrierGUID
protected

◆ KalecgosDragonGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::KalecgosDragonGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().

◆ KalecgosKjGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::KalecgosKjGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().

◆ KilJaedenControllerGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::KilJaedenControllerGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().

◆ KilJaedenGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::KilJaedenGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().

◆ MadrigosaGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::MadrigosaGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().

◆ MuruGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::MuruGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().

◆ SacrolashGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::SacrolashGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().

◆ SathrovarrGUID

ObjectGuid instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::SathrovarrGUID
protected

Referenced by GetGuidData(), and OnCreatureCreate().