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

Public Member Functions

 instance_blood_furnace_InstanceMapScript (Map *map)
 
void Initialize () override
 
void OnCreatureCreate (Creature *creature) override
 
void OnUnitDeath (Unit *unit) override
 
void OnGameObjectCreate (GameObject *go) override
 
ObjectGuid GetGuidData (uint32 data) const override
 
bool SetBossState (uint32 type, EncounterState state) override
 
void SetData (uint32 type, uint32 data) override
 
uint32 GetData (uint32 type) const override
 
void ResetPrisons ()
 
void ResetPrisoners (GuidSet prisoners)
 
void ResetPrisoner (Creature *prisoner)
 
void StorePrisoner (Creature *creature)
 
void PrisonerDied (ObjectGuid guid)
 
void ActivateCell (uint8 id)
 
void ActivatePrisoners (GuidSet prisoners)
 
- 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)
 

Public Attributes

uint32 _auiEncounter [MAX_ENCOUNTER]
 
ObjectGuid _doorGUIDs [6]
 
ObjectGuid _prisonGUIDs [4]
 
GuidSet _prisonersCell [4]
 
uint8 _prisonerCounter [4]
 
- Public Attributes inherited from InstanceScript
Mapinstance
 
TaskScheduler scheduler
 

Additional Inherited Members

- Static Public Member Functions inherited from InstanceScript
static std::string GetBossStateName (uint8 state)
 
- 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_blood_furnace_InstanceMapScript()

instance_blood_furnace::instance_blood_furnace_InstanceMapScript::instance_blood_furnace_InstanceMapScript ( Map map)
inline
51 : InstanceScript(map)
52 {
57 }
ObjectData const creatureData[]
Definition: instance_blood_furnace.cpp:37
DoorData const doorData[]
Definition: instance_blood_furnace.cpp:23
ObjectData const gameobjectData[]
Definition: instance_blood_furnace.cpp:30
#define DataHeader
Definition: blackrock_depths.h:23
uint32 const EncounterCount
Definition: blackrock_spire.h:23
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
void LoadObjectData(ObjectData const *creatureData, ObjectData const *gameObjectData)
Definition: InstanceScript.cpp:173

References creatureData, DataHeader, doorData, EncounterCount, gameobjectData, InstanceScript::LoadDoorData(), InstanceScript::LoadObjectData(), InstanceScript::SetBossNumber(), and InstanceScript::SetHeaders().

Member Function Documentation

◆ ActivateCell()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::ActivateCell ( uint8  id)
inline
264 {
265 switch (id)
266 {
273 break;
276 {
278 }
279 if (Creature* broggok = GetCreature(DATA_BROGGOK))
280 {
281 broggok->AI()->DoAction(ACTION_ACTIVATE_BROGGOK);
282 }
283 break;
284 }
285 }
@ ACTION_ACTIVATE_BROGGOK
Definition: blood_furnace.h:49
@ DATA_BROGGOK_REAR_DOOR
Definition: blood_furnace.h:40
@ DATA_PRISON_CELL2
Definition: blood_furnace.h:45
@ DATA_PRISON_CELL1
Definition: blood_furnace.h:44
@ DATA_PRISON_CELL3
Definition: blood_furnace.h:46
@ DATA_BROGGOK
Definition: blood_furnace.h:33
@ DATA_PRISON_CELL4
Definition: blood_furnace.h:47
Definition: Creature.h:46
Definition: GameObject.h:121
static ObjectGuid const Empty
Definition: ObjectGuid.h:120
Creature * GetCreature(uint32 type)
Definition: InstanceScript.cpp:100
void HandleGameObject(ObjectGuid guid, bool open, GameObject *go=nullptr)
Definition: InstanceScript.cpp:110
GameObject * GetGameObject(uint32 type)
Definition: InstanceScript.cpp:105
void ActivatePrisoners(GuidSet prisoners)
Definition: instance_blood_furnace.cpp:287
GuidSet _prisonersCell[4]
Definition: instance_blood_furnace.cpp:63
ObjectGuid _prisonGUIDs[4]
Definition: instance_blood_furnace.cpp:61

References _prisonersCell, _prisonGUIDs, ACTION_ACTIVATE_BROGGOK, ActivatePrisoners(), DATA_BROGGOK, DATA_BROGGOK_REAR_DOOR, DATA_PRISON_CELL1, DATA_PRISON_CELL2, DATA_PRISON_CELL3, DATA_PRISON_CELL4, ObjectGuid::Empty, InstanceScript::GetCreature(), InstanceScript::GetGameObject(), and InstanceScript::HandleGameObject().

Referenced by PrisonerDied(), and SetBossState().

◆ ActivatePrisoners()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::ActivatePrisoners ( GuidSet  prisoners)
inline
288 {
289 for (ObjectGuid const& guid : prisoners)
290 if (Creature* prisoner = instance->GetCreature(guid))
291 {
292 prisoner->RemoveUnitFlag(UNIT_FLAG_NON_ATTACKABLE);
293 prisoner->SetImmuneToAll(false);
294 prisoner->SetInCombatWithZone();
295 }
296 }
@ UNIT_FLAG_NON_ATTACKABLE
Definition: UnitDefines.h:230
Definition: ObjectGuid.h:118
Map * instance
Definition: InstanceScript.h:148
Creature * GetCreature(ObjectGuid const guid)
Definition: Map.cpp:3314

References Map::GetCreature(), InstanceScript::instance, and UNIT_FLAG_NON_ATTACKABLE.

Referenced by ActivateCell().

◆ GetData()

uint32 instance_blood_furnace::instance_blood_furnace_InstanceMapScript::GetData ( uint32  type) const
inlineoverridevirtual

Reimplemented from ZoneScript.

179 {
180 switch (type)
181 {
182 case DATA_THE_MAKER:
183 case DATA_KELIDAN:
184 return _auiEncounter[type];
185 }
186 return 0;
187 }
@ DATA_THE_MAKER
Definition: blood_furnace.h:32
@ DATA_KELIDAN
Definition: blood_furnace.h:34
uint32 _auiEncounter[MAX_ENCOUNTER]
Definition: instance_blood_furnace.cpp:59

References _auiEncounter, DATA_KELIDAN, and DATA_THE_MAKER.

Referenced by OnGameObjectCreate().

◆ GetGuidData()

ObjectGuid instance_blood_furnace::instance_blood_furnace_InstanceMapScript::GetGuidData ( uint32  data) const
inlineoverridevirtual

Reimplemented from InstanceScript.

118 {
119 switch (data)
120 {
121 case DATA_DOOR1:
122 case DATA_DOOR2:
123 case DATA_DOOR3:
124 case DATA_DOOR6:
125 return _doorGUIDs[data - DATA_DOOR1];
126
131 return _prisonGUIDs[data - DATA_PRISON_CELL1];
132 }
133
134 return ObjectGuid::Empty;
135 }
@ DATA_DOOR6
Definition: blood_furnace.h:42
@ DATA_DOOR1
Definition: blood_furnace.h:37
@ DATA_DOOR3
Definition: blood_furnace.h:39
@ DATA_DOOR2
Definition: blood_furnace.h:38
ObjectGuid _doorGUIDs[6]
Definition: instance_blood_furnace.cpp:60

References _doorGUIDs, _prisonGUIDs, DATA_DOOR1, DATA_DOOR2, DATA_DOOR3, DATA_DOOR6, DATA_PRISON_CELL1, DATA_PRISON_CELL2, DATA_PRISON_CELL3, DATA_PRISON_CELL4, and ObjectGuid::Empty.

◆ Initialize()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::Initialize ( )
inlineoverridevirtual

Reimplemented from InstanceScript.

68 {
69 memset(&_auiEncounter, 0, sizeof(_auiEncounter));
70 memset(&_prisonerCounter, 0, sizeof(_prisonerCounter));
71 }
uint8 _prisonerCounter[4]
Definition: instance_blood_furnace.cpp:65

References _auiEncounter, and _prisonerCounter.

◆ OnCreatureCreate()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::OnCreatureCreate ( Creature creature)
inlineoverridevirtual

Reimplemented from InstanceScript.

74 {
75 if (creature->GetEntry() == NPC_NASCENT_FEL_ORC)
76 {
77 StorePrisoner(creature);
78 }
79
81 }
@ NPC_NASCENT_FEL_ORC
Definition: blood_furnace.h:58
uint32 GetEntry() const
Definition: Object.h:112
void OnCreatureCreate(Creature *creature) override
Definition: InstanceScript.cpp:58
void StorePrisoner(Creature *creature)
Definition: instance_blood_furnace.cpp:214

References Object::GetEntry(), NPC_NASCENT_FEL_ORC, InstanceScript::OnCreatureCreate(), and StorePrisoner().

◆ OnGameObjectCreate()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::OnGameObjectCreate ( GameObject go)
inlineoverridevirtual

Reimplemented from InstanceScript.

90 {
91 if (go->GetEntry() == 181766) //Final exit door
92 _doorGUIDs[0] = go->GetGUID();
93 if (go->GetEntry() == 181811) //The Maker Front door
94 _doorGUIDs[1] = go->GetGUID();
95 if (go->GetEntry() == 181812) //The Maker Rear door
96 {
97 _doorGUIDs[2] = go->GetGUID();
99 HandleGameObject(go->GetGUID(), true);
100 }
101
102 if (go->GetEntry() == 181823) //Kelidan exit door
103 _doorGUIDs[5] = go->GetGUID();
104
105 if (go->GetEntry() == 181821) //Broggok prison cell front right
106 _prisonGUIDs[0] = go->GetGUID();
107 if (go->GetEntry() == 181818) //Broggok prison cell back right
108 _prisonGUIDs[1] = go->GetGUID();
109 if (go->GetEntry() == 181820) //Broggok prison cell front left
110 _prisonGUIDs[2] = go->GetGUID();
111 if (go->GetEntry() == 181817) //Broggok prison cell back left
112 _prisonGUIDs[3] = go->GetGUID();
113
115 }
@ DONE
Definition: InstanceScript.h:60
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:109
void OnGameObjectCreate(GameObject *go) override
Definition: InstanceScript.cpp:70
uint32 GetData(uint32 type) const override
Definition: instance_blood_furnace.cpp:178

References _doorGUIDs, _prisonGUIDs, DATA_THE_MAKER, DONE, GetData(), Object::GetEntry(), Object::GetGUID(), InstanceScript::HandleGameObject(), and InstanceScript::OnGameObjectCreate().

◆ OnUnitDeath()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::OnUnitDeath ( Unit unit)
inlineoverridevirtual

Reimplemented from ZoneScript.

84 {
85 if (unit && unit->IsCreature() && unit->GetEntry() == NPC_NASCENT_FEL_ORC)
86 PrisonerDied(unit->GetGUID());
87 }
bool IsCreature() const
Definition: Object.h:201
void PrisonerDied(ObjectGuid guid)
Definition: instance_blood_furnace.cpp:251

References Object::GetEntry(), Object::GetGUID(), Object::IsCreature(), NPC_NASCENT_FEL_ORC, and PrisonerDied().

◆ PrisonerDied()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::PrisonerDied ( ObjectGuid  guid)
inline
252 {
253 if (_prisonersCell[0].find(guid) != _prisonersCell[0].end() && --_prisonerCounter[0] <= 0)
255 else if (_prisonersCell[1].find(guid) != _prisonersCell[1].end() && --_prisonerCounter[1] <= 0)
257 else if (_prisonersCell[2].find(guid) != _prisonersCell[2].end() && --_prisonerCounter[2] <= 0)
259 else if (_prisonersCell[3].find(guid) != _prisonersCell[3].end() && --_prisonerCounter[3] <= 0)
261 }
void ActivateCell(uint8 id)
Definition: instance_blood_furnace.cpp:263

References _prisonerCounter, _prisonersCell, ActivateCell(), DATA_BROGGOK_REAR_DOOR, DATA_PRISON_CELL2, DATA_PRISON_CELL3, and DATA_PRISON_CELL4.

Referenced by OnUnitDeath().

◆ ResetPrisoner()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::ResetPrisoner ( Creature prisoner)
inline
207 {
208 if (!prisoner->IsAlive())
209 prisoner->Respawn(true);
211 prisoner->SetImmuneToAll(true);
212 }
void Respawn(bool force=false)
Definition: Creature.cpp:2030
bool IsAlive() const
Definition: Unit.h:1204
void SetUnitFlag(UnitFlags flags)
UnitFlags available in UnitDefines.h.
Definition: Unit.h:683
void SetImmuneToAll(bool apply, bool keepCombat=false)
Definition: Unit.h:810

References Unit::IsAlive(), Creature::Respawn(), Unit::SetImmuneToAll(), Unit::SetUnitFlag(), and UNIT_FLAG_NON_ATTACKABLE.

Referenced by ResetPrisoners(), and StorePrisoner().

◆ ResetPrisoners()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::ResetPrisoners ( GuidSet  prisoners)
inline
200 {
201 for (ObjectGuid const& guid : prisoners)
202 if (Creature* prisoner = instance->GetCreature(guid))
203 ResetPrisoner(prisoner);
204 }
void ResetPrisoner(Creature *prisoner)
Definition: instance_blood_furnace.cpp:206

References Map::GetCreature(), InstanceScript::instance, and ResetPrisoner().

Referenced by ResetPrisons().

◆ ResetPrisons()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::ResetPrisons ( )
inline
190 {
191 for (uint8 i = 0; i < 4; ++i)
192 {
193 _prisonerCounter[i] = _prisonersCell[i].size();
196 }
197 }
std::uint8_t uint8
Definition: Define.h:109
void ResetPrisoners(GuidSet prisoners)
Definition: instance_blood_furnace.cpp:199

References _prisonerCounter, _prisonersCell, _prisonGUIDs, InstanceScript::HandleGameObject(), and ResetPrisoners().

Referenced by SetBossState().

◆ SetBossState()

bool instance_blood_furnace::instance_blood_furnace_InstanceMapScript::SetBossState ( uint32  type,
EncounterState  state 
)
inlineoverridevirtual

Reimplemented from InstanceScript.

138 {
139 if (!InstanceScript::SetBossState(type, state))
140 return false;
141
142 if (type == DATA_BROGGOK)
143 {
144 if (state == IN_PROGRESS)
145 {
147 HandleGameObject(_doorGUIDs[3], false);
148 }
149 else if (state == NOT_STARTED)
150 {
151 ResetPrisons();
152 HandleGameObject(_doorGUIDs[4], false);
155 {
156 lever->Respawn();
157 }
158 }
159 }
160
161 return true;
162 }
@ IN_PROGRESS
Definition: InstanceScript.h:58
@ NOT_STARTED
Definition: InstanceScript.h:57
@ DATA_BROGGOK_LEVER
Definition: blood_furnace.h:41
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:351
void ResetPrisons()
Definition: instance_blood_furnace.cpp:189

References _doorGUIDs, ActivateCell(), DATA_BROGGOK, DATA_BROGGOK_LEVER, DATA_PRISON_CELL1, InstanceScript::GetGameObject(), InstanceScript::HandleGameObject(), IN_PROGRESS, NOT_STARTED, ResetPrisons(), and InstanceScript::SetBossState().

◆ SetData()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::SetData ( uint32  type,
uint32  data 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

165 {
166 switch (type)
167 {
168 case DATA_THE_MAKER:
169 case DATA_KELIDAN:
170 _auiEncounter[type] = data;
171 break;
172 }
173
174 if (data == DONE)
175 SaveToDB();
176 }
void SaveToDB()
Definition: InstanceScript.cpp:41

References _auiEncounter, DATA_KELIDAN, DATA_THE_MAKER, DONE, and InstanceScript::SaveToDB().

◆ StorePrisoner()

void instance_blood_furnace::instance_blood_furnace_InstanceMapScript::StorePrisoner ( Creature creature)
inline
215 {
216 float posX = creature->GetPositionX();
217 float posY = creature->GetPositionY();
218
219 if (posX >= 405.0f && posX <= 423.0f)
220 {
221 if (posY >= 106.0f && posY <= 123.0f)
222 {
223 _prisonersCell[0].insert(creature->GetGUID());
224 ++_prisonerCounter[0];
225 ResetPrisoner(creature);
226 }
227 else if (posY >= 76.0f && posY <= 91.0f)
228 {
229 _prisonersCell[1].insert(creature->GetGUID());
230 ++_prisonerCounter[1];
231 ResetPrisoner(creature);
232 }
233 }
234 else if (posX >= 490.0f && posX <= 506.0f)
235 {
236 if (posY >= 106.0f && posY <= 123.0f)
237 {
238 _prisonersCell[2].insert(creature->GetGUID());
239 ++_prisonerCounter[2];
240 ResetPrisoner(creature);
241 }
242 else if (posY >= 76.0f && posY <= 91.0f)
243 {
244 _prisonersCell[3].insert(creature->GetGUID());
245 ++_prisonerCounter[3];
246 ResetPrisoner(creature);
247 }
248 }
249 }
float GetPositionX() const
Definition: Position.h:117
float GetPositionY() const
Definition: Position.h:118

References _prisonerCounter, _prisonersCell, Object::GetGUID(), Position::GetPositionX(), Position::GetPositionY(), and ResetPrisoner().

Referenced by OnCreatureCreate().

Member Data Documentation

◆ _auiEncounter

uint32 instance_blood_furnace::instance_blood_furnace_InstanceMapScript::_auiEncounter[MAX_ENCOUNTER]

Referenced by GetData(), Initialize(), and SetData().

◆ _doorGUIDs

ObjectGuid instance_blood_furnace::instance_blood_furnace_InstanceMapScript::_doorGUIDs[6]

◆ _prisonerCounter

uint8 instance_blood_furnace::instance_blood_furnace_InstanceMapScript::_prisonerCounter[4]

◆ _prisonersCell

GuidSet instance_blood_furnace::instance_blood_furnace_InstanceMapScript::_prisonersCell[4]

◆ _prisonGUIDs

ObjectGuid instance_blood_furnace::instance_blood_furnace_InstanceMapScript::_prisonGUIDs[4]