AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Object Class Referenceabstract

#include "Object.h"

Inheritance diagram for Object:
Item WorldObject Bag Corpse DynamicObject GameObject Unit Transport Creature Player MotionTransport StaticTransport TempSummon TestCreature TestPlayer Minion Guardian Puppet Totem Pet

Public Member Functions

virtual ~Object ()
 
bool IsInWorld () const
 
virtual void AddToWorld ()
 
virtual void RemoveFromWorld ()
 
ObjectGuid GetGUID () const
 
PackedGuid const & GetPackGUID () const
 
uint32 GetEntry () const
 
void SetEntry (uint32 entry)
 
float GetObjectScale () const
 
virtual void SetObjectScale (float scale)
 
virtual uint32 GetDynamicFlags () const
 
bool HasDynamicFlag (uint32 flag) const
 
virtual void SetDynamicFlag (uint32 flag)
 
virtual void RemoveDynamicFlag (uint32 flag)
 
virtual void ReplaceAllDynamicFlags (uint32 flag)
 
TypeID GetTypeId () const
 
bool isType (uint16 mask) const
 
virtual void BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target)
 
void SendUpdateToPlayer (Player *player)
 
void BuildValuesUpdateBlockForPlayer (UpdateData *data, Player *target)
 
void BuildOutOfRangeUpdateBlock (UpdateData *data) const
 
void BuildMovementUpdateBlock (UpdateData *data, uint32 flags=0) const
 
virtual void DestroyForPlayer (Player *target, bool onDeath=false) const
 
int32 GetInt32Value (uint16 index) const
 
uint32 GetUInt32Value (uint16 index) const
 
uint64 GetUInt64Value (uint16 index) const
 
float GetFloatValue (uint16 index) const
 
uint8 GetByteValue (uint16 index, uint8 offset) const
 
uint16 GetUInt16Value (uint16 index, uint8 offset) const
 
ObjectGuid GetGuidValue (uint16 index) const
 
void SetInt32Value (uint16 index, int32 value)
 
void SetUInt32Value (uint16 index, uint32 value)
 
void UpdateUInt32Value (uint16 index, uint32 value)
 
void SetUInt64Value (uint16 index, uint64 value)
 
void SetFloatValue (uint16 index, float value)
 
void SetByteValue (uint16 index, uint8 offset, uint8 value)
 
void SetUInt16Value (uint16 index, uint8 offset, uint16 value)
 
void SetInt16Value (uint16 index, uint8 offset, int16 value)
 
void SetGuidValue (uint16 index, ObjectGuid value)
 
void SetStatFloatValue (uint16 index, float value)
 
void SetStatInt32Value (uint16 index, int32 value)
 
bool AddGuidValue (uint16 index, ObjectGuid value)
 
bool RemoveGuidValue (uint16 index, ObjectGuid value)
 
void ApplyModUInt32Value (uint16 index, int32 val, bool apply)
 
void ApplyModInt32Value (uint16 index, int32 val, bool apply)
 
void ApplyModUInt64Value (uint16 index, int32 val, bool apply)
 
void ApplyModPositiveFloatValue (uint16 index, float val, bool apply)
 
void ApplyModSignedFloatValue (uint16 index, float val, bool apply)
 
void SetFlag (uint16 index, uint32 newFlag)
 
void RemoveFlag (uint16 index, uint32 oldFlag)
 
void ToggleFlag (uint16 index, uint32 flag)
 
bool HasFlag (uint16 index, uint32 flag) const
 
void ApplyModFlag (uint16 index, uint32 flag, bool apply)
 
void SetByteFlag (uint16 index, uint8 offset, uint8 newFlag)
 
void RemoveByteFlag (uint16 index, uint8 offset, uint8 newFlag)
 
bool HasByteFlag (uint16 index, uint8 offset, uint8 flag) const
 
void SetFlag64 (uint16 index, uint64 newFlag)
 
void RemoveFlag64 (uint16 index, uint64 oldFlag)
 
void ToggleFlag64 (uint16 index, uint64 flag)
 
bool HasFlag64 (uint16 index, uint64 flag) const
 
void ApplyModFlag64 (uint16 index, uint64 flag, bool apply)
 
void ClearUpdateMask (bool remove)
 
uint16 GetValuesCount () const
 
virtual bool hasQuest (uint32) const
 
virtual bool hasInvolvedQuest (uint32) const
 
virtual void BuildUpdate (UpdateDataMapType &)
 
void BuildFieldsUpdate (Player *, UpdateDataMapType &)
 
void SetFieldNotifyFlag (uint16 flag)
 
void RemoveFieldNotifyFlag (uint16 flag)
 
void ForceValuesUpdateAtIndex (uint32)
 
bool IsPlayer () const
 
Player * ToPlayer ()
 
Player const * ToPlayer () const
 
bool IsCreature () const
 
Creature * ToCreature ()
 
Creature const * ToCreature () const
 
bool IsUnit () const
 
Unit * ToUnit ()
 
Unit const * ToUnit () const
 
bool IsGameObject () const
 
GameObject * ToGameObject ()
 
GameObject const * ToGameObject () const
 
bool IsCorpse () const
 
Corpse * ToCorpse ()
 
Corpse const * ToCorpse () const
 
bool IsDynamicObject () const
 
DynamicObject * ToDynObject ()
 
DynamicObject const * ToDynObject () const
 
bool IsItem () const
 
virtual void Heartbeat ()
 
virtual std::string GetDebugInfo () const
 
template<typename... T>
bool EntryEquals (T... entries) const
 

Static Public Member Functions

static ObjectGuid GetGUID (Object const *o)
 

Public Attributes

DataMap CustomData
 

Protected Member Functions

 Object ()
 
void _InitValues ()
 
void _Create (ObjectGuid::LowType guidlow, uint32 entry, HighGuid guidhigh)
 
void _Create (ObjectGuid guid)
 
std::string _ConcatFields (uint16 startIndex, uint16 size) const
 
bool _LoadIntoDataField (std::string const &data, uint32 startOffset, uint32 count)
 
uint32 GetUpdateFieldData (Player const *target, uint32 *&flags) const
 
void BuildMovementUpdate (ByteBuffer *data, uint16 flags) const
 
virtual void BuildValuesUpdate (uint8 updateType, ByteBuffer *data, Player *target)
 
virtual void AddToObjectUpdate ()=0
 
virtual void RemoveFromObjectUpdate ()=0
 
void AddToObjectUpdateIfNeeded ()
 

Protected Attributes

uint16 m_objectType
 
TypeID m_objectTypeId
 
uint16 m_updateFlag
 
union { 
 
   int32 *   m_int32Values 
 
   uint32 *   m_uint32Values 
 
   float *   m_floatValues 
 
};  
 
UpdateMask _changesMask
 
uint16 m_valuesCount
 
uint16 _fieldNotifyFlags
 
bool m_objectUpdated
 

Private Member Functions

bool PrintIndexError (uint32 index, bool set) const
 
 Object (Object const &)
 
Object & operator= (Object const &)
 

Private Attributes

bool m_inWorld
 
PackedGuid m_PackGUID
 

Detailed Description

Constructor & Destructor Documentation

◆ ~Object()

Object::~Object ( )
virtual
97{
98 sScriptMgr->OnDestructObject(this);
99
100 if (IsInWorld())
101 {
102 LOG_FATAL("entities.object", "Object::~Object - {} deleted but still in world!!", GetGUID().ToString());
104 LOG_FATAL("entities.object", "Item slot {}", ((Item*)this)->GetSlot());
105 ABORT();
106 }
107
108 if (m_objectUpdated)
109 {
110 LOG_FATAL("entities.object", "Object::~Object - {} deleted but still in update list!!", GetGUID().ToString());
111 ABORT();
112 }
113
114 delete [] m_uint32Values;
115 m_uint32Values = 0;
116}
#define ABORT
Definition Errors.h:76
#define LOG_FATAL(filterType__,...)
Definition Log.h:141
@ TYPEMASK_ITEM
Definition ObjectGuid.h:50
#define sScriptMgr
Definition ScriptMgr.h:766
Definition Item.h:220
bool IsInWorld() const
Definition Object.h:115
uint32 * m_uint32Values
Definition Object.h:267
bool isType(uint16 mask) const
Definition Object.h:136
ObjectGuid GetGUID() const
Definition Object.h:121
bool m_objectUpdated
Definition Object.h:281
std::string ToString(Type &&val, Params &&... params)
Definition StringConvert.h:250

References ABORT, GetGUID(), IsInWorld(), isType(), LOG_FATAL, m_objectUpdated, m_uint32Values, sScriptMgr, and TYPEMASK_ITEM.

◆ Object() [1/2]

Object::Object ( )
protected
76 : m_PackGUID(sizeof(uint64) + 1)
77{
80
81 m_uint32Values = nullptr;
82 m_valuesCount = 0;
84
85 m_inWorld = false;
86 m_objectUpdated = false;
87
88 sScriptMgr->OnConstructObject(this);
89}
std::uint64_t uint64
Definition Define.h:106
@ TYPEID_OBJECT
Definition ObjectGuid.h:35
@ TYPEMASK_OBJECT
Definition ObjectGuid.h:49
@ UF_FLAG_DYNAMIC
Definition UpdateFieldFlags.h:35
uint16 m_objectType
Definition Object.h:259
uint16 _fieldNotifyFlags
Definition Object.h:275
uint16 m_valuesCount
Definition Object.h:273
PackedGuid m_PackGUID
Definition Object.h:286
bool m_inWorld
Definition Object.h:284
TypeID m_objectTypeId
Definition Object.h:261

References _fieldNotifyFlags, m_inWorld, m_objectType, m_objectTypeId, m_objectUpdated, m_uint32Values, m_valuesCount, sScriptMgr, TYPEID_OBJECT, TYPEMASK_OBJECT, and UF_FLAG_DYNAMIC.

◆ Object() [2/2]

Object::Object ( Object const &  )
private

Member Function Documentation

◆ _ConcatFields()

std::string Object::_ConcatFields ( uint16  startIndex,
uint16  size 
) const
protected
143{
144 std::ostringstream ss;
145 for (uint16 index = 0; index < size; ++index)
146 ss << GetUInt32Value(index + startIndex) << ' ';
147 return ss.str();
148}
std::uint16_t uint16
Definition Define.h:108
uint32 GetUInt32Value(uint16 index) const
Definition Object.cpp:303

References GetUInt32Value().

Referenced by Corpse::SaveToDB().

◆ _Create() [1/2]

void Object::_Create ( ObjectGuid  guid)
protected
134{
136
139 m_PackGUID.Set(guid);
140}
@ OBJECT_FIELD_GUID
Definition UpdateFields.h:25
@ OBJECT_FIELD_TYPE
Definition UpdateFields.h:26
void _InitValues()
Definition Object.cpp:118
void SetGuidValue(uint16 index, ObjectGuid value)
Definition Object.cpp:721
void SetUInt32Value(uint16 index, uint32 value)
Definition Object.cpp:648
void Set(uint64 guid)
Definition ObjectGuid.h:275

References _InitValues(), m_objectType, m_PackGUID, m_uint32Values, OBJECT_FIELD_GUID, OBJECT_FIELD_TYPE, PackedGuid::Set(), SetGuidValue(), and SetUInt32Value().

◆ _Create() [2/2]

void Object::_Create ( ObjectGuid::LowType  guidlow,
uint32  entry,
HighGuid  guidhigh 
)
protected

◆ _InitValues()

void Object::_InitValues ( )
protected
119{
121 memset(m_uint32Values, 0, m_valuesCount * sizeof(uint32));
122
124
125 m_objectUpdated = false;
126}
std::uint32_t uint32
Definition Define.h:107
UpdateMask _changesMask
Definition Object.h:271
void SetCount(uint32 valuesCount)
Definition UpdateMask.h:65

References _changesMask, m_objectUpdated, m_uint32Values, m_valuesCount, and UpdateMask::SetCount().

Referenced by _Create().

◆ _LoadIntoDataField()

bool Object::_LoadIntoDataField ( std::string const &  data,
uint32  startOffset,
uint32  count 
)
protected
611{
612 if (data.empty())
613 return false;
614
615 std::vector<std::string_view> tokens = Acore::Tokenize(data, ' ', false);
616
617 if (tokens.size() != count)
618 return false;
619
620 for (uint32 index = 0; index < count; ++index)
621 {
622 Optional<uint32> val = Acore::StringTo<uint32>(tokens[index]);
623 if (!val)
624 {
625 return false;
626 }
627
628 m_uint32Values[startOffset + index] = *val;
629 _changesMask.SetBit(startOffset + index);
630 }
631
632 return true;
633}
std::optional< T > Optional
Optional helper class to wrap optional values within.
Definition Optional.h:24
void SetBit(uint32 index)
Definition UpdateMask.h:45
std::vector< std::string_view > Tokenize(std::string_view str, char sep, bool keepEmpty)
Definition Tokenize.cpp:20

References _changesMask, m_uint32Values, UpdateMask::SetBit(), and Acore::Tokenize().

Referenced by Corpse::LoadCorpseFromDB(), Player::LoadFromDB(), and Item::LoadFromDB().

◆ AddGuidValue()

bool Object::AddGuidValue ( uint16  index,
ObjectGuid  value 
)
685{
686 ASSERT(index + 1 < m_valuesCount || PrintIndexError(index, true));
687
688 if (value && !*((ObjectGuid*)&(m_uint32Values[index])))
689 {
690 *((ObjectGuid*)&(m_uint32Values[index])) = value;
691 _changesMask.SetBit(index);
692 _changesMask.SetBit(index + 1);
693
695
696 return true;
697 }
698
699 return false;
700}
#define ASSERT
Definition Errors.h:68
void AddToObjectUpdateIfNeeded()
Definition Object.cpp:522
bool PrintIndexError(uint32 index, bool set) const
Definition Object.cpp:991

References _changesMask, AddToObjectUpdateIfNeeded(), ASSERT, m_uint32Values, m_valuesCount, PrintIndexError(), and UpdateMask::SetBit().

Referenced by Unit::SetCharm(), Unit::SetMinion(), and Player::SetViewpoint().

◆ AddToObjectUpdate()

virtual void Object::AddToObjectUpdate ( )
protectedpure virtual

Implemented in Item, and WorldObject.

Referenced by AddToObjectUpdateIfNeeded().

◆ AddToObjectUpdateIfNeeded()

◆ AddToWorld()

void Object::AddToWorld ( )
virtual

Reimplemented in Corpse, Creature, DynamicObject, GameObject, Bag, WorldObject, Pet, Player, Unit, TestCreature, and TestPlayer.

151{
152 if (m_inWorld)
153 return;
154
156
157 m_inWorld = true;
158
159 // synchronize values mirror with values array (changes will send in updatecreate opcode any way
161 ClearUpdateMask(false);
162}
void ClearUpdateMask(bool remove)
Definition Object.cpp:531

References ASSERT, ClearUpdateMask(), m_inWorld, m_objectUpdated, and m_uint32Values.

Referenced by Player::_StoreItem(), Corpse::AddToWorld(), Bag::AddToWorld(), WorldObject::AddToWorld(), Player::AddToWorld(), TestPlayer::AddToWorld(), Player::EquipItem(), Guild::BankTab::LoadItemFromDB(), Player::QuickEquipItem(), and TestCreature::SetInWorld().

◆ ApplyModFlag()

void Object::ApplyModFlag ( uint16  index,
uint32  flag,
bool  apply 
)
891{
892 if (apply)
893 {
894 SetFlag(index, flag);
895 }
896 else
897 {
898 RemoveFlag(index, flag);
899 }
900}
void SetFlag(uint16 index, uint32 newFlag)
Definition Object.cpp:836
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition Object.cpp:851

References RemoveFlag(), and SetFlag().

Referenced by Spell::EffectActivateObject(), npc_pet_dk_ebon_gargoyle::FlyAway(), AuraEffect::HandleAuraTrackStealthed(), AuraEffect::HandleModUnattackable(), WorldSession::HandleTogglePvP(), Player::KillPlayer(), Player::LoadCorpse(), Item::LoadFromDB(), Item::SetBinding(), Player::SetCommentator(), and Player::SetDeveloper().

◆ ApplyModFlag64()

void Object::ApplyModFlag64 ( uint16  index,
uint64  flag,
bool  apply 
)
980{
981 if (apply)
982 {
983 SetFlag64(index, flag);
984 }
985 else
986 {
987 RemoveFlag64(index, flag);
988 }
989}
void SetFlag64(uint16 index, uint64 newFlag)
Definition Object.cpp:947
void RemoveFlag64(uint16 index, uint64 oldFlag)
Definition Object.cpp:954

References RemoveFlag64(), and SetFlag64().

◆ ApplyModInt32Value()

void Object::ApplyModInt32Value ( uint16  index,
int32  val,
bool  apply 
)
814{
815 int32 cur = GetInt32Value(index);
816 cur += (apply ? val : -val);
817 SetInt32Value(index, cur);
818}
std::int32_t int32
Definition Define.h:103
int32 GetInt32Value(uint16 index) const
Definition Object.cpp:297
void SetInt32Value(uint16 index, int32 value)
Definition Object.cpp:635
void apply(T *val)
Definition ByteConverter.h:40

References GetInt32Value(), and SetInt32Value().

Referenced by Player::ApplySpellDamageBonus(), Player::ApplySpellPenetrationBonus(), Player::ApplySpellPowerBonus(), AuraEffect::HandleAuraModFakeInebriation(), AuraEffect::HandleModDamageDone(), AuraEffect::HandleModPowerCost(), and AuraEffect::HandleModTargetResistance().

◆ ApplyModPositiveFloatValue()

void Object::ApplyModPositiveFloatValue ( uint16  index,
float  val,
bool  apply 
)
828{
829 float cur = GetFloatValue(index);
830 cur += (apply ? val : -val);
831 if (cur < 0)
832 cur = 0;
833 SetFloatValue(index, cur);
834}
float GetFloatValue(uint16 index) const
Definition Object.cpp:315
void SetFloatValue(uint16 index, float value)
Definition Object.cpp:735

References GetFloatValue(), and SetFloatValue().

◆ ApplyModSignedFloatValue()

void Object::ApplyModSignedFloatValue ( uint16  index,
float  val,
bool  apply 
)
821{
822 float cur = GetFloatValue(index);
823 cur += (apply ? val : -val);
824 SetFloatValue(index, cur);
825}

References GetFloatValue(), and SetFloatValue().

Referenced by AuraEffect::HandleModPowerCostPCT().

◆ ApplyModUInt32Value()

void Object::ApplyModUInt32Value ( uint16  index,
int32  val,
bool  apply 
)
805{
806 int32 cur = GetUInt32Value(index);
807 cur += (apply ? val : -val);
808 if (cur < 0)
809 cur = 0;
810 SetUInt32Value(index, cur);
811}

References GetUInt32Value(), and SetUInt32Value().

Referenced by Player::ApplySpellHealingBonus(), Player::ApplySpellPowerBonus(), AuraEffect::HandleAuraEmpathy(), and Player::RewardHonor().

◆ ApplyModUInt64Value()

void Object::ApplyModUInt64Value ( uint16  index,
int32  val,
bool  apply 
)

◆ BuildCreateUpdateBlockForPlayer()

void Object::BuildCreateUpdateBlockForPlayer ( UpdateData *  data,
Player *  target 
)
virtual

lower flag1

Reimplemented in Bag, and Player.

188{
189 if (!target)
190 return;
191
192 uint8 updatetype = UPDATETYPE_CREATE_OBJECT;
193 uint16 flags = m_updateFlag;
194
196 if (target == this) // building packet for yourself
197 flags |= UPDATEFLAG_SELF;
198
200 {
201 // UPDATETYPE_CREATE_OBJECT2 dynamic objects, corpses...
203 updatetype = UPDATETYPE_CREATE_OBJECT2;
204
205 // UPDATETYPE_CREATE_OBJECT2 for pets...
206 if (target->GetPetGUID() == GetGUID())
207 updatetype = UPDATETYPE_CREATE_OBJECT2;
208
209 // UPDATETYPE_CREATE_OBJECT2 for some gameobject types...
211 {
212 switch (((GameObject*)this)->GetGoType())
213 {
218 updatetype = UPDATETYPE_CREATE_OBJECT2;
219 break;
220 default:
221 if (((GameObject*)this)->GetOwner())
222 updatetype = UPDATETYPE_CREATE_OBJECT2;
223 break;
224 }
225 }
226
227 if (IsUnit())
228 {
229 if (((Unit*)this)->GetVictim())
230 flags |= UPDATEFLAG_HAS_TARGET;
231 }
232 }
233
234 ByteBuffer buf(500);
235 buf << (uint8)updatetype;
236 buf << GetPackGUID();
237 buf << (uint8)m_objectTypeId;
238
239 BuildMovementUpdate(&buf, flags);
240 BuildValuesUpdate(updatetype, &buf, target);
241 data->AddUpdateBlock(buf);
242}
std::uint8_t uint8
Definition Define.h:109
@ TYPEMASK_DYNAMICOBJECT
Definition ObjectGuid.h:55
@ TYPEMASK_CORPSE
Definition ObjectGuid.h:56
@ TYPEMASK_GAMEOBJECT
Definition ObjectGuid.h:54
@ TYPEMASK_PLAYER
Definition ObjectGuid.h:53
@ GAMEOBJECT_TYPE_DUEL_ARBITER
Definition SharedDefines.h:1580
@ GAMEOBJECT_TYPE_TRAP
Definition SharedDefines.h:1570
@ GAMEOBJECT_TYPE_FLAGDROP
Definition SharedDefines.h:1590
@ GAMEOBJECT_TYPE_FLAGSTAND
Definition SharedDefines.h:1588
@ UPDATETYPE_CREATE_OBJECT
Definition UpdateData.h:30
@ UPDATETYPE_CREATE_OBJECT2
Definition UpdateData.h:31
@ UPDATEFLAG_SELF
Definition UpdateData.h:39
@ UPDATEFLAG_STATIONARY_POSITION
Definition UpdateData.h:45
@ UPDATEFLAG_HAS_TARGET
Definition UpdateData.h:41
Definition ByteBuffer.h:70
Definition GameObject.h:120
virtual void BuildValuesUpdate(uint8 updateType, ByteBuffer *data, Player *target)
Definition Object.cpp:495
PackedGuid const & GetPackGUID() const
Definition Object.h:122
bool IsUnit() const
Definition Object.h:215
void BuildMovementUpdate(ByteBuffer *data, uint16 flags) const
Definition Object.cpp:341
uint16 m_updateFlag
Definition Object.h:262
Definition Unit.h:665
ObjectGuid GetPetGUID() const
Definition Unit.h:724
void AddUpdateBlock(ByteBuffer const &block)
Definition UpdateData.cpp:36

References UpdateData::AddUpdateBlock(), BuildMovementUpdate(), BuildValuesUpdate(), GAMEOBJECT_TYPE_DUEL_ARBITER, GAMEOBJECT_TYPE_FLAGDROP, GAMEOBJECT_TYPE_FLAGSTAND, GAMEOBJECT_TYPE_TRAP, GetGUID(), GetPackGUID(), Unit::GetPetGUID(), isType(), IsUnit(), m_objectTypeId, m_updateFlag, TYPEMASK_CORPSE, TYPEMASK_DYNAMICOBJECT, TYPEMASK_GAMEOBJECT, TYPEMASK_PLAYER, UPDATEFLAG_HAS_TARGET, UPDATEFLAG_SELF, UPDATEFLAG_STATIONARY_POSITION, UPDATETYPE_CREATE_OBJECT, and UPDATETYPE_CREATE_OBJECT2.

Referenced by Map::AddToMap(), Bag::BuildCreateUpdateBlockForPlayer(), Player::BuildCreateUpdateBlockForPlayer(), MotionTransport::HandleFirstDepartureSync(), BattlegroundSA::SendTransportInit(), and SendUpdateToPlayer().

◆ BuildFieldsUpdate()

void Object::BuildFieldsUpdate ( Player *  player,
UpdateDataMapType &  data_map 
)
544{
545 UpdateDataMapType::iterator iter = data_map.find(player);
546
547 if (iter == data_map.end())
548 {
549 std::pair<UpdateDataMapType::iterator, bool> p = data_map.insert(UpdateDataMapType::value_type(player, UpdateData()));
550 ASSERT(p.second);
551 iter = p.first;
552 }
553
554 BuildValuesUpdateBlockForPlayer(&iter->second, iter->first);
555}
void BuildValuesUpdateBlockForPlayer(UpdateData *data, Player *target)
Definition Object.cpp:255
Definition UpdateData.h:52

References ASSERT, and BuildValuesUpdateBlockForPlayer().

Referenced by Item::BuildUpdate(), WorldObject::BuildUpdate(), MotionTransport::BuildUpdate(), and StaticTransport::BuildUpdate().

◆ BuildMovementUpdate()

void Object::BuildMovementUpdate ( ByteBuffer *  data,
uint16  flags 
) const
protected

Unit, Player and default here are sending wrong values.

Todo:
Research the proper formula
Todo:
Allow players to aquire this updateflag.
342{
343 Unit const* unit = nullptr;
344 WorldObject const* object = nullptr;
345
346 if (IsUnit())
347 unit = ToUnit();
348 else
349 object = ((WorldObject*)this);
350
351 *data << uint16(flags); // update flags
352
353 // 0x20
354 if (flags & UPDATEFLAG_LIVING)
355 {
356 unit->BuildMovementPacket(data);
357
358 *data << unit->GetSpeed(MOVE_WALK)
359 << unit->GetSpeed(MOVE_RUN)
360 << unit->GetSpeed(MOVE_RUN_BACK)
361 << unit->GetSpeed(MOVE_SWIM)
362 << unit->GetSpeed(MOVE_SWIM_BACK)
363 << unit->GetSpeed(MOVE_FLIGHT)
364 << unit->GetSpeed(MOVE_FLIGHT_BACK)
365 << unit->GetSpeed(MOVE_TURN_RATE)
366 << unit->GetSpeed(MOVE_PITCH_RATE);
367
368 // 0x08000000
370 {
372 }
373 }
374 else
375 {
376 if (flags & UPDATEFLAG_POSITION)
377 {
378 Transport* transport = object->GetTransport();
379
380 if (transport)
381 *data << transport->GetPackGUID();
382 else
383 *data << uint8(0);
384
385 *data << object->GetPositionX();
386 *data << object->GetPositionY();
387 *data << object->GetPositionZ();
388
389 if (transport)
390 {
391 *data << object->GetTransOffsetX();
392 *data << object->GetTransOffsetY();
393 *data << object->GetTransOffsetZ();
394 }
395 else
396 {
397 *data << object->GetPositionX();
398 *data << object->GetPositionY();
399 *data << object->GetPositionZ();
400 }
401
402 *data << object->GetOrientation();
403
404 if (IsCorpse())
405 *data << float(object->GetOrientation());
406 else
407 *data << float(0);
408 }
409 else
410 {
411 // 0x40
413 {
414 *data << object->GetStationaryX();
415 *data << object->GetStationaryY();
416 *data << object->GetStationaryZ();
417 *data << object->GetStationaryO();
418 }
419 }
420 }
421
422 // 0x8
423 if (flags & UPDATEFLAG_UNKNOWN)
424 {
425 *data << uint32(0);
426 }
427
428 // 0x10
429 if (flags & UPDATEFLAG_LOWGUID)
430 {
431 switch (GetTypeId())
432 {
433 case TYPEID_OBJECT:
434 case TYPEID_ITEM:
435 case TYPEID_CONTAINER:
438 case TYPEID_CORPSE:
439 *data << uint32(GetGUID().GetCounter());
440 break;
443 case TYPEID_UNIT:
444 *data << uint32(0x0000000B); // unk
445 break;
446 case TYPEID_PLAYER:
447 if (flags & UPDATEFLAG_SELF)
448 *data << uint32(0x0000002F); // unk
449 else
450 *data << uint32(0x00000008); // unk
451 break;
452 default:
453 *data << uint32(0x00000000); // unk
454 break;
455 }
456 }
457
458 // 0x4
459 if (flags & UPDATEFLAG_HAS_TARGET)
460 {
461 if (Unit* victim = unit->GetVictim())
462 *data << victim->GetPackGUID();
463 else
464 *data << uint8(0);
465 }
466
467 // 0x2
468 if (flags & UPDATEFLAG_TRANSPORT)
469 {
470 GameObject const* go = ToGameObject();
471 if (go && go->ToTransport())
472 *data << uint32(go->ToTransport()->GetPathProgress());
473 else
474 *data << uint32(0);
475 }
476
477 // 0x80
478 if (flags & UPDATEFLAG_VEHICLE)
479 {
481 *data << uint32(unit->GetVehicleKit()->GetVehicleInfo()->m_ID);
483 *data << float(unit->GetTransOffsetO());
484 else
485 *data << float(unit->GetOrientation());
486 }
487
488 // 0x200
489 if (flags & UPDATEFLAG_ROTATION)
490 {
491 *data << int64(ToGameObject()->GetPackedWorldRotation());
492 }
493}
std::int64_t int64
Definition Define.h:102
@ TYPEID_DYNAMICOBJECT
Definition ObjectGuid.h:41
@ TYPEID_GAMEOBJECT
Definition ObjectGuid.h:40
@ TYPEID_UNIT
Definition ObjectGuid.h:38
@ TYPEID_CORPSE
Definition ObjectGuid.h:42
@ TYPEID_ITEM
Definition ObjectGuid.h:36
@ TYPEID_PLAYER
Definition ObjectGuid.h:39
@ TYPEID_CONTAINER
Definition ObjectGuid.h:37
@ MOVEMENTFLAG_SPLINE_ENABLED
Definition UnitDefines.h:399
@ MOVEMENTFLAG_ONTRANSPORT
Definition UnitDefines.h:381
@ MOVE_FLIGHT
Definition UnitDefines.h:362
@ MOVE_SWIM
Definition UnitDefines.h:359
@ MOVE_TURN_RATE
Definition UnitDefines.h:361
@ MOVE_FLIGHT_BACK
Definition UnitDefines.h:363
@ MOVE_SWIM_BACK
Definition UnitDefines.h:360
@ MOVE_RUN
Definition UnitDefines.h:357
@ MOVE_PITCH_RATE
Definition UnitDefines.h:364
@ MOVE_RUN_BACK
Definition UnitDefines.h:358
@ MOVE_WALK
Definition UnitDefines.h:356
@ UPDATEFLAG_LIVING
Definition UpdateData.h:44
@ UPDATEFLAG_ROTATION
Definition UpdateData.h:48
@ UPDATEFLAG_POSITION
Definition UpdateData.h:47
@ UPDATEFLAG_LOWGUID
Definition UpdateData.h:43
@ UPDATEFLAG_VEHICLE
Definition UpdateData.h:46
@ UPDATEFLAG_TRANSPORT
Definition UpdateData.h:40
@ UPDATEFLAG_UNKNOWN
Definition UpdateData.h:42
Transport * ToTransport()
Definition GameObject.h:323
static void WriteCreate(MoveSpline const &mov, ByteBuffer &data)
Definition MovementPacketBuilder.cpp:159
bool IsCorpse() const
Definition Object.h:223
TypeID GetTypeId() const
Definition Object.h:135
GameObject * ToGameObject()
Definition Object.h:220
Unit * ToUnit()
Definition Object.h:216
Definition Transport.h:30
uint32 GetPathProgress() const
Definition Transport.h:43
Movement::MoveSpline * movespline
Definition Unit.h:2119
float GetSpeed(UnitMoveType mtype) const
Definition Unit.cpp:11047
bool HasUnitMovementFlag(uint32 f) const
Definition Unit.h:775
void BuildMovementPacket(ByteBuffer *data) const
Definition Unit.cpp:15493
Unit * GetVictim() const
Definition Unit.h:904
Vehicle * GetVehicleKit() const
Definition Unit.h:1931
VehicleEntry const * GetVehicleInfo() const
Definition Vehicle.h:38
Definition Object.h:482
Transport * GetTransport() const
Definition Object.h:701
float GetTransOffsetO() const
Definition Object.h:705
MovementInfo m_movementInfo
Definition Object.h:711
uint32 GetMovementFlags() const
Definition Object.h:349
float GetOrientation() const
Definition Position.h:124
uint32 m_ID
Definition DBCStructure.h:2064

References Unit::BuildMovementPacket(), GetGUID(), MovementInfo::GetMovementFlags(), Position::GetOrientation(), GetPackGUID(), Transport::GetPathProgress(), Unit::GetSpeed(), WorldObject::GetTransOffsetO(), WorldObject::GetTransport(), GetTypeId(), Vehicle::GetVehicleInfo(), Unit::GetVehicleKit(), Unit::GetVictim(), Unit::HasUnitMovementFlag(), IsCorpse(), IsUnit(), VehicleEntry::m_ID, WorldObject::m_movementInfo, MOVE_FLIGHT, MOVE_FLIGHT_BACK, MOVE_PITCH_RATE, MOVE_RUN, MOVE_RUN_BACK, MOVE_SWIM, MOVE_SWIM_BACK, MOVE_TURN_RATE, MOVE_WALK, MOVEMENTFLAG_ONTRANSPORT, MOVEMENTFLAG_SPLINE_ENABLED, Unit::movespline, ToGameObject(), GameObject::ToTransport(), ToUnit(), TYPEID_CONTAINER, TYPEID_CORPSE, TYPEID_DYNAMICOBJECT, TYPEID_GAMEOBJECT, TYPEID_ITEM, TYPEID_OBJECT, TYPEID_PLAYER, TYPEID_UNIT, UPDATEFLAG_HAS_TARGET, UPDATEFLAG_LIVING, UPDATEFLAG_LOWGUID, UPDATEFLAG_POSITION, UPDATEFLAG_ROTATION, UPDATEFLAG_SELF, UPDATEFLAG_STATIONARY_POSITION, UPDATEFLAG_TRANSPORT, UPDATEFLAG_UNKNOWN, UPDATEFLAG_VEHICLE, and Movement::PacketBuilder::WriteCreate().

Referenced by BuildCreateUpdateBlockForPlayer(), and BuildMovementUpdateBlock().

◆ BuildMovementUpdateBlock()

void Object::BuildMovementUpdateBlock ( UpdateData *  data,
uint32  flags = 0 
) const
176{
177 ByteBuffer buf(500);
178
180 buf << GetPackGUID();
181
182 BuildMovementUpdate(&buf, flags);
183
184 data->AddUpdateBlock(buf);
185}
@ UPDATETYPE_MOVEMENT
Definition UpdateData.h:29

References UpdateData::AddUpdateBlock(), BuildMovementUpdate(), GetPackGUID(), and UPDATETYPE_MOVEMENT.

◆ BuildOutOfRangeUpdateBlock()

void Object::BuildOutOfRangeUpdateBlock ( UpdateData *  data) const
268{
269 data->AddOutOfRangeGUID(GetGUID());
270}
void AddOutOfRangeGUID(ObjectGuid guid)
Definition UpdateData.cpp:31

References UpdateData::AddOutOfRangeGUID(), and GetGUID().

Referenced by Map::RemoveFromMap(), and BattlegroundSA::SendTransportsRemove().

◆ BuildUpdate()

virtual void Object::BuildUpdate ( UpdateDataMapType &  )
inlinevirtual

Reimplemented in Item, WorldObject, MotionTransport, and StaticTransport.

198{}

Referenced by Map::SendObjectUpdates().

◆ BuildValuesUpdate()

void Object::BuildValuesUpdate ( uint8  updateType,
ByteBuffer *  data,
Player *  target 
)
protectedvirtual

Reimplemented in Corpse, GameObject, and Unit.

496{
497 if (!target)
498 return;
499
500 ByteBuffer fieldBuffer;
501 UpdateMask updateMask;
502 updateMask.SetCount(m_valuesCount);
503
504 uint32* flags = nullptr;
505 uint32 visibleFlag = GetUpdateFieldData(target, flags);
506
507 for (uint16 index = 0; index < m_valuesCount; ++index)
508 {
509 if (_fieldNotifyFlags & flags[index] ||
510 ((updateType == UPDATETYPE_VALUES ? _changesMask.GetBit(index) : m_uint32Values[index]) && (flags[index] & visibleFlag)))
511 {
512 updateMask.SetBit(index);
513 fieldBuffer << m_uint32Values[index];
514 }
515 }
516
517 *data << uint8(updateMask.GetBlockCount());
518 updateMask.AppendToPacket(data);
519 data->append(fieldBuffer);
520}
@ UPDATETYPE_VALUES
Definition UpdateData.h:28
void append(T value)
Definition ByteBuffer.h:129
uint32 GetUpdateFieldData(Player const *target, uint32 *&flags) const
Definition Object.cpp:557
Definition UpdateMask.h:25
uint32 GetBlockCount() const
Definition UpdateMask.h:62
bool GetBit(uint32 index) const
Definition UpdateMask.h:47
void AppendToPacket(ByteBuffer *data)
Definition UpdateMask.h:49

References _changesMask, _fieldNotifyFlags, ByteBuffer::append(), UpdateMask::AppendToPacket(), UpdateMask::GetBit(), UpdateMask::GetBlockCount(), GetUpdateFieldData(), m_uint32Values, m_valuesCount, UpdateMask::SetBit(), UpdateMask::SetCount(), and UPDATETYPE_VALUES.

Referenced by BuildCreateUpdateBlockForPlayer(), and BuildValuesUpdateBlockForPlayer().

◆ BuildValuesUpdateBlockForPlayer()

void Object::BuildValuesUpdateBlockForPlayer ( UpdateData *  data,
Player *  target 
)

◆ ClearUpdateMask()

void Object::ClearUpdateMask ( bool  remove)
532{
534
535 if (m_objectUpdated)
536 {
537 if (remove)
539 m_objectUpdated = false;
540 }
541}
virtual void RemoveFromObjectUpdate()=0
void Clear()
Definition UpdateMask.h:76

References _changesMask, UpdateMask::Clear(), m_objectUpdated, and RemoveFromObjectUpdate().

Referenced by AddToWorld(), Item::BuildUpdate(), WorldObject::BuildUpdate(), MotionTransport::BuildUpdate(), StaticTransport::BuildUpdate(), and RemoveFromWorld().

◆ DestroyForPlayer()

void Object::DestroyForPlayer ( Player *  target,
bool  onDeath = false 
) const
virtual

If the following bool is true, the client will call "void CGUnit_C::OnDeath()" for this object. OnDeath() does for eg trigger death animation and interrupts certain spells/missiles/auras/sounds...

Reimplemented in Player.

273{
274 ASSERT(target);
275
276 if (IsUnit() || isType(TYPEMASK_PLAYER))
277 {
278 if (Battleground* bg = target->GetBattleground())
279 {
280 if (bg->isArena())
281 {
283 data << GetGUID();
284 target->SendDirectMessage(&data);
285 }
286 }
287 }
288
289 WorldPacket data(SMSG_DESTROY_OBJECT, 8 + 1);
290 data << GetGUID();
293 data << uint8(onDeath ? 1 : 0);
294 target->SendDirectMessage(&data);
295}
Definition Battleground.h:304
void SendDirectMessage(WorldPacket const *data) const
Definition Player.cpp:5864
Battleground * GetBattleground(bool create=false) const
Definition Player.cpp:12461
Definition WorldPacket.h:26
@ SMSG_DESTROY_OBJECT
Definition Opcodes.h:200
@ SMSG_ARENA_UNIT_DESTROYED
Definition Opcodes.h:1253

References ASSERT, Player::GetBattleground(), GetGUID(), isType(), IsUnit(), Player::SendDirectMessage(), SMSG_ARENA_UNIT_DESTROYED, SMSG_DESTROY_OBJECT, and TYPEMASK_PLAYER.

Referenced by Player::_StoreItem(), Player::DestroyForPlayer(), WorldObject::DestroyForVisiblePlayers(), Player::DestroyItem(), Player::EquipItem(), and Player::UpdateVisibilityOf().

◆ EntryEquals()

◆ ForceValuesUpdateAtIndex()

◆ GetByteValue()

◆ GetDebugInfo()

std::string Object::GetDebugInfo ( ) const
virtual

Reimplemented in Creature, TempSummon, Minion, Guardian, GameObject, Bag, Item, WorldObject, Pet, Player, MotionTransport, and Unit.

1001{
1002 std::stringstream sstr;
1003 sstr << GetGUID().ToString() + " Entry " << GetEntry();
1004 return sstr.str();
1005}
std::string ToString() const
Definition ObjectGuid.cpp:48

References GetEntry(), GetGUID(), and ObjectGuid::ToString().

Referenced by Item::GetDebugInfo(), and WorldObject::GetDebugInfo().

◆ GetDynamicFlags()

virtual uint32 Object::GetDynamicFlags ( ) const
inlinevirtual

Reimplemented in GameObject, and Unit.

129{ return 0; }

Referenced by HasDynamicFlag(), RemoveDynamicFlag(), and SetDynamicFlag().

◆ GetEntry()

uint32 Object::GetEntry ( ) const
inline
@ OBJECT_FIELD_ENTRY
Definition UpdateFields.h:27

References GetUInt32Value(), and OBJECT_FIELD_ENTRY.

Referenced by PetAI::_canMeleeAttack(), Spell::_cast(), Unit::_EnterVehicle(), Unit::_ExitVehicle(), Map::_GetScriptCreatureSourceOrTarget(), Map::_GetScriptPlayerSourceOrTarget(), Map::_GetScriptUnit(), Unit::_IsValidAttackTarget(), Player::_LoadItem(), Guild::BankMoveItemData::_ReserveSpace(), Player::_StoreItem(), boss_yoggsaron_keeper::Activate(), boss_yoggsaron_sara::ActivateKeepers(), GameObject::ActivateToQuest(), AuctionHouseSearcher::AddAuction(), BattlegroundAV::AddAVCreature(), InstanceScript::AddDoor(), Player::AddItemToBuyBackSlot(), InstanceScript::AddMinion(), InstanceScript::AddObject(), InstanceScript::AddObject(), Vehicle::AddPassenger(), Player::AddQuestAndCheckCompletion(), Spell::AddUnitTarget(), npc_love_in_air_snivel::AllowAction(), Player::ApplyEquipCooldown(), ArcherAI::ArcherAI(), TotemAI::AttackStart(), npc_frostwing_vrykul::npc_frostwing_vrykulAI::AttackStart(), boss_brutallus::AttackStart(), npc_hyjal_ground_trash::AttackStart(), npc_suppresser::npc_suppresserAI::AttackStart(), boss_four_horsemen::boss_four_horsemenAI::AttackStart(), boss_kelthuzad_minion::boss_kelthuzad_minionAI::AttackStart(), npc_doctor::npc_doctorAI::BeginEvent(), boss_janalai::Boom(), boss_four_horsemen::boss_four_horsemenAI::boss_four_horsemenAI(), boss_freya_summons::boss_freya_summons(), boss_twin_valkyrAI::boss_twin_valkyrAI(), Player::BuildEnchantmentsInfoData(), Player::BuyItemFromVendorSlot(), boss_algalon_the_observer::CallConstellations(), npc_ulduar_hodir_priest::CanAIAttack(), npc_ulduar_hodir_druid::CanAIAttack(), npc_ulduar_hodir_shaman::CanAIAttack(), npc_ulduar_hodir_mage::CanAIAttack(), boss_anubarak_trial::boss_anubarak_trialAI::CanAIAttack(), npc_swarm_scarab::npc_swarm_scarabAI::CanAIAttack(), npc_nerubian_burrower::npc_nerubian_burrowerAI::CanAIAttack(), npc_high_overlord_saurfang_igb::npc_high_overlord_saurfang_igbAI::CanAIAttack(), npc_muradin_bronzebeard_igb::npc_muradin_bronzebeard_igbAI::CanAIAttack(), npc_igb_ship_crew::npc_igb_ship_crewAI::CanAIAttack(), npc_gunship_boarding_addAI::CanAIAttack(), boss_sindragosa::boss_sindragosaAI::CanAIAttack(), npc_tirion_fordring_tft::npc_tirion_fordringAI::CanAIAttack(), npc_terenas_menethil::npc_terenas_menethilAI::CanAIAttack(), npc_risen_archmage::npc_risen_archmageAI::CanAIAttack(), npc_expedition_defender::CanAIAttack(), npc_razorscale_dark_rune_watcher::CanAIAttack(), npc_razorscale_dark_rune_guardian::CanAIAttack(), npc_razorscale_dark_rune_sentinel::CanAIAttack(), boss_illidan_stormrage::CanAIAttack(), npc_thrall_bfu::npc_thrall_bfuAI::CanAIAttack(), npc_lady_sylvanas_windrunner_bfu::npc_lady_sylvanas_windrunner_bfuAI::CanAIAttack(), boss_tyrannus::boss_tyrannusAI::CanAIAttack(), npc_pos_freed_slave::npc_pos_freed_slaveAI::CanAIAttack(), boss_flame_leviathan_defense_turret::CanAIAttack(), npc_mindless_ghoul::npc_mindless_ghoulAI::CanAIAttack(), PetAI::CanAttack(), Player::CanBankItem(), Item::CanBeMergedPartlyWith(), npc_steam_powered_auctioneer::npc_steam_powered_auctioneerAI::CanBeSeen(), npc_mei_francis_mount::npc_mei_francis_mountAI::CanBeSeen(), npc_wg_demolisher_engineer::canBuild(), npc_wg_siege_machine::npc_wg_siege_machineAI::CanControlVehicle(), WorldObject::CanDetect(), Player::CanEquipItem(), Spell::CanOpenLock(), Creature::CanResetTalents(), Player::CanSeeSpellClickOn(), Player::CanSeeTrainer(), Player::CanSeeVendor(), Guild::BankMoveItemData::CanStore(), Player::CanStoreItem(), Player::CanStoreItems(), Player::CanTakeMoreSimilarItems(), Player::CanUnequipItem(), Player::CanUseItem(), Unit::CastPetAura(), spell_orbital_supports_aura::CheckAreaTarget(), spell_gen_av_drekthar_presence::CheckAreaTarget(), spell_demolisher_ride_vehicle::CheckCast(), spell_yogg_saron_in_the_maws_of_the_old_god::CheckCast(), Spell::CheckCast(), Spell::CheckEffectTarget(), Spell::CheckItems(), Spell::CheckPetCast(), spell_sindragosa_permeating_chill_aura::CheckProc(), spell_xt002_321_boombot_aura::CheckProc(), Item::CloneItem(), Player::CreatePet(), instance_blackrock_spire::CreatureLooted(), boss_yoggsaron_influence_tentacle::DamageTaken(), boss_sartharion::DamageTaken(), npc_gunship::npc_gunshipAI::DamageTaken(), npc_crok_scourgebane::npc_crok_scourgebaneAI::DamageTaken(), boss_thaddius_summon::boss_thaddius_summonAI::DamageTaken(), npc_molten_golem::DamageTaken(), boss_buru::DamageTaken(), boss_twinemperorsAI::DamageTaken(), boss_yoggsaron_sara::DamageTaken(), boss_razuvious::boss_razuviousAI::DamageTaken(), boss_kologarn::DamageTaken(), MotionMaster::DelayedDelete(), SummonList::DespawnEntry(), BattlegroundIC::DestroyGate(), BattlegroundSA::DestroyGate(), Player::DestroyItem(), Player::DestroyItemCount(), boss_twin_valkyrAI::DoAction(), boss_nightbane::DoAction(), npc_ball_of_flame::npc_ball_of_flameAI::DoAction(), npc_shattrath_daily_quest::DoAction(), npc_hor_leader_second::npc_hor_leader_secondAI::DoAction(), npc_pos_leader_second::npc_pos_leader_secondAI::DoAction(), boss_thaddius_summon::boss_thaddius_summonAI::DoAction(), npc_molten_golem::DoAction(), boss_yoggsaron_keeper::DoAction(), npc_ulduar_keeper::npc_ulduar_keeperAI::DoAction(), boss_illidari_council::DoAction(), Spell::DoAllEffectOnLaunchTarget(), Spell::DoAllEffectOnTarget(), boss_bug_trio::DoFinalSpell(), ScriptedAI::DoResetThreatList(), ScriptedAI::DoRewardPlayersInArea(), Spell::DoSpellHitOnUnit(), InstanceScript::DoUseDoorOrButton(), CreatureAI::DoZoneInCombat(), SummonList::DoZoneInCombat(), instance_blackrock_spire::Dragonspireroomcheck(), Spell::EffectActivateObject(), Spell::EffectAddHonor(), Spell::EffectDurabilityDamage(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectFeedPet(), Spell::EffectInebriate(), Spell::EffectPersistentAA(), Spell::EffectSummonChangeItem(), Spell::EffectSummonPet(), Spell::EffectWeaponDmg(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::EmpowerCultist(), GameObject::EnableCollision(), CreatureAI::EnterEvadeMode(), GuardAI::EnterEvadeMode(), spell_dk_death_grip::EntryCheck(), EntryEquals(), Player::EquipItem(), EquippedOk(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundIC::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerClickedOnFlag(), BattlegroundSA::EventPlayerClickedOnFlag(), BattlegroundSA::EventPlayerDamagedGO(), BattlegroundSA::EventPlayerUsedGO(), boss_sartharion_tenebron::ExecuteEvent(), Pet::FillPetInfo(), npc_escortAI::FillPointMovementListForCreature(), SmartScript::FillScript(), spell_crystal_weakness::FilterTargets(), spell_vem_vengeance::FilterTargets(), spell_mutate_explode_bug::FilterTargets(), spell_hadronox_web_grab::FilterTargets(), spell_razorscale_firebolt::FilterTargets(), spell_skadi_launch_harpoon::FilterTargets(), spell_lady_vashj_summons::FilterTargets(), spell_magtheridon_debris_target_selector::FilterTargets(), spell_blade_dance_targeting::FilterTargets(), Creature::GetAIName(), GameObject::GetAIName(), Unit::GetAllMinionsByEntry(), boss_hadronox::GetData(), boss_krik_thir::boss_krik_thirAI::GetData(), boss_dred::boss_dredAI::GetData(), boss_novos::GetData(), boss_slad_ran::boss_slad_ranAI::GetData(), boss_anomalus::GetData(), boss_magus_telestra::GetData(), GetDebugInfo(), npc_wg_quest_giver::GetDialogStatus(), Unit::GetEffectiveResistChance(), SummonList::GetEntryCount(), npc_arthas::npc_arthasAI::GetEventNpc(), NPCStaveQuestAI::GetFormEntry(), Player::GetItemCount(), Bag::GetItemCount(), GetLocalizeCreatureName(), Creature::GetNameForLocaleIdx(), GameObject::GetNameForLocaleIdx(), Player::GetNextQuest(), spell_gen_on_tournament_mount::GetPennatSpellId(), ToCloud9GrpcHandler::GetPlayerItemsByGuids(), Player::GetQuestDialogStatus(), SmartScript::GetScript(), Creature::GetScriptId(), boss_twin_valkyrAI::GetSister(), Unit::GetSpellModOwner(), Creature::GetSummonerGUID(), SmartScript::GetTargets(), Item::GetTemplate(), Creature::GetVendorItems(), npc_escortAI::GetWaypointPosition(), go_bells::go_bellsAI::go_bellsAI(), go_soulwell::go_soulwellAI::GossipHello(), WorldSession::HandleAcceptTradeOpcode(), spell_brewfest_fill_keg::HandleAfterHit(), WorldSession::HandleAuctionSellItem(), AuraEffect::HandleAuraDummy(), WorldSession::HandleAutoBankItemOpcode(), WorldSession::HandleAutoStoreBankItemOpcode(), spell_dk_death_grip::HandleBaseDummy(), WorldSession::HandleBattlemasterHelloOpcode(), WorldSession::HandleBuybackItem(), debug_commandscript::HandleDebugHostileRefListCommand(), spell_q13007_iron_colossus::HandleDummy(), spell_spawn_drakonid::HandleDummy(), spell_q12851_going_bearback::HandleEffectApply(), spell_riding_jokkum::HandleEffectRemove(), boss_sartharion_dragonAI::HandleExtraEvent(), WorldSession::HandleGameobjectReportUse(), gobject_commandscript::HandleGameObjectRespawn(), WorldSession::HandleGossipHelloOpcode(), spell_razorscale_flame_breath::HandleHit(), spell_chapter5_return_to_capital::HandleHit(), BattlefieldWG::HandleKill(), BattlegroundSA::HandleKillUnit(), BattlegroundAV::HandleKillUnit(), BattlegroundIC::HandleKillUnit(), WorldSession::HandleMailTakeItem(), npc_commandscript::HandleNpcAddVendorItemCommand(), npc_commandscript::HandleNpcDeleteVendorItemCommand(), npc_commandscript::HandleNpcDoActionCommand(), npc_commandscript::HandleNpcGuidCommand(), npc_commandscript::HandleNpcInfoCommandShowCreature(), npc_commandscript::HandleNpcSetDataCommand(), npc_commandscript::HandleNpcSetFactionIdCommand(), npc_commandscript::HandleNpcSetFlagCommand(), npc_commandscript::HandleNpcShowLootCommand(), spell_oculus_rider_aura::HandleOnEffectApply(), AuraEffect::HandlePeriodicHealthFunnelAuraTick(), WorldSession::HandlePetAction(), pet_commandscript::HandlePetCreateCommand(), WorldSession::HandlePetSetAction(), WorldSession::HandlePetSpellAutocastOpcode(), npc_echo_of_medivh::HandlePieceJustDied(), npc_echo_of_medivh::HandlePieceMove(), npc_echo_of_medivh::HandlePieceMoveByAI(), spell_vehicle_throw_passenger::HandleScript(), spell_gen_pet_summoned::HandleScript(), spell_pri_lightwell::HandleScriptEffect(), WorldSession::HandleSellItemOpcode(), WorldSession::HandleSendMail(), WorldSession::HandleSocketOpcode(), Unit::HandleSpellClick(), Battleground::HandleTriggerBuff(), WorldSession::HandleUseItemOpcode(), wp_commandscript::HandleWpLoadCommand(), wp_commandscript::HandleWpModifyCommand(), wp_commandscript::HandleWpShowCommand(), WorldSession::HandleWrapItemOpcode(), SummonList::HasEntry(), Creature::hasInvolvedQuest(), GameObject::hasInvolvedQuest(), Player::HasItemCount(), Player::HasItemOrGemWithIdEquipped(), Creature::hasQuest(), GameObject::hasQuest(), boss_yoggsaron_sara::InformCloud(), BfWGGameObjectBuilding::Init(), SmartAI::InitializeAI(), boss_felmyst::InitializeAI(), boss_twilight_corrupter::InitializeAI(), boss_lieutenant_drake::InitializeAI(), npc_sindragosa_trash::npc_sindragosa_trashAI::InitializeAI(), npc_pet_gen_imp_in_a_bottle::InitializeAI(), npc_pet_hunter_snake_trap::InitializeAI(), npc_chesspiece::InitializeCombatSpellsByEntry(), Pet::InitLevelupSpellsForLevel(), Guardian::InitStatsForLevel(), Totem::InitSummon(), Unit::InitTamedPet(), NPCStaveQuestAI::InNormalForm(), SmartScript::InstallTemplate(), Creature::isCanInteractWithBattleMaster(), Creature::IsDungeonBoss(), spell_item_unsated_craving::isException(), npc_hourglass_of_eternity::npc_hourglass_of_eternityAI::IsFuture(), Creature::IsImmuneToKnockback(), Pet::IsPermanentPetFor(), Unit::IsPetAura(), Minion::IsPetGhoul(), SmartScript::IsSmart(), SmartScript::IsSmart(), npc_corrupted_totem::IsSummonedBy(), boss_gahzranka::IsSummonedBy(), boss_attumen::IsSummonedBy(), npc_oculus_drake::npc_oculus_drakeAI::IsSummonedBy(), boss_kologarn_eyebeam::IsSummonedBy(), npc_spiritual_insight::npc_spiritual_insightAI::IsSummonedBy(), boss_sartharion_dragonAI::JustDied(), npc_gunship::npc_gunshipAI::JustDied(), npc_isle_of_conquest_turret::npc_isle_of_conquest_turretAI::JustDied(), npc_boss_gothik_minion::npc_boss_gothik_minionAI::JustDied(), boss_kelthuzad_minion::boss_kelthuzad_minionAI::JustDied(), boss_freya_summons::JustDied(), boss_kologarn_arms::JustDied(), boss_skarvald_the_constructor::JustDied(), boss_dalronn_the_controller::JustDied(), npc_necrotic_shard::JustDied(), boss_epoch_hunter::JustDied(), npc_buru_egg::JustDied(), npc_general_andorov::JustDied(), boss_freya_elder_stonebark::JustDied(), boss_freya_elder_brightleaf::JustDied(), boss_freya_elder_ironbranch::JustDied(), boss_sartharion_dragonAI::JustEngagedWith(), npc_lava_spawn::JustEngagedWith(), boss_servant_quarters::JustEngagedWith(), npc_coren_direbrew_sisters::JustEngagedWith(), npc_hyjal_ground_trash::JustEngagedWith(), npc_argent_soldier::npc_argent_soldierAI::JustEngagedWith(), npc_black_knight_ghoul::npc_black_knight_ghoulAI::JustEngagedWith(), boss_twin_valkyrAI::JustEngagedWith(), npc_frostwing_vrykul::npc_frostwing_vrykulAI::JustEngagedWith(), npc_boss_gothik_minion::npc_boss_gothik_minionAI::JustEngagedWith(), boss_kelthuzad_minion::boss_kelthuzad_minionAI::JustEngagedWith(), boss_freya_summons::JustEngagedWith(), boss_thorim_start_npcs::JustEngagedWith(), boss_thorim_gauntlet_npcs::JustEngagedWith(), boss_thorim_arena_npcs::JustEngagedWith(), npc_ulduar_storm_tempered_keeper::JustEngagedWith(), boss_thaddius_summon::boss_thaddius_summonAI::JustEngagedWith(), boss_brutallus::JustEngagedWith(), npc_rinji::npc_rinjiAI::JustEngagedWith(), npc_sindragosa_trash::npc_sindragosa_trashAI::JustEngagedWith(), boss_skarvald_the_constructor::JustEngagedWith(), boss_dalronn_the_controller::JustEngagedWith(), npc_mrfloppy::npc_mrfloppyAI::JustEngagedWith(), npc_time_lost_proto_drake::npc_time_lost_proto_drakeAI::JustEngagedWith(), boss_grand_warlock_nethekurse::JustEngagedWith(), npc_scholomance_occultist::npc_scholomance_occultistAI::JustReachedHome(), boss_kelthuzad_minion::boss_kelthuzad_minionAI::JustReachedHome(), npc_sindragosa_trash::npc_sindragosa_trashAI::JustRespawned(), npc_highlord_darion_mograine::JustSummoned(), boss_anubrekhan::JustSummoned(), boss_grobbulus::boss_grobbulusAI::JustSummoned(), boss_kelthuzad::boss_kelthuzadAI::JustSummoned(), boss_maexxna::boss_maexxnaAI::JustSummoned(), brann_bronzebeard::JustSummoned(), boss_flame_leviathan::JustSummoned(), boss_kologarn::JustSummoned(), boss_yoggsaron_brain::JustSummoned(), boss_muru::JustSummoned(), npc_eris_hevenfire::npc_eris_hevenfireAI::JustSummoned(), npc_time_rift::JustSummoned(), npc_ouro_spawner::JustSummoned(), npc_dirt_mound::JustSummoned(), npc_battle_at_valhalas::npc_battle_at_valhalasAI::JustSummoned(), boss_mekgineer_steamrigger::JustSummoned(), npc_archmage_landalock::npc_archmage_landalockAI::JustSummoned(), boss_eregos::boss_eregosAI::JustSummoned(), npc_ulduar_aerial_command_unit::JustSummoned(), boss_ingvar_the_plunderer::JustSummoned(), boss_rend_blackhand::JustSummoned(), boss_victor_nefarius::JustSummoned(), boss_majordomo::JustSummoned(), boss_ragnaros::JustSummoned(), boss_attumen::JustSummoned(), boss_midnight::JustSummoned(), npc_kiljaeden_controller::JustSummoned(), boss_kiljaeden::JustSummoned(), npc_kalecgos_kj::JustSummoned(), boss_halazzi::JustSummoned(), boss_janalai::JustSummoned(), boss_jindo::JustSummoned(), boss_captain_skarloc::JustSummoned(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::JustSummoned(), npc_medivh_bm::JustSummoned(), boss_onyxia::JustSummoned(), boss_taldaram::JustSummoned(), boss_hadronox::JustSummoned(), boss_sartharion::JustSummoned(), boss_sartharion_tenebron::JustSummoned(), boss_halion::boss_halionAI::JustSummoned(), boss_paletress::boss_paletressAI::JustSummoned(), boss_novos::JustSummoned(), boss_devourer_of_souls::JustSummoned(), boss_drakkari_colossus::boss_drakkari_colossusAI::JustSummoned(), boss_prince_taldaram_icc::boss_prince_taldaramAI::JustSummoned(), boss_prince_valanar_icc::boss_prince_valanarAI::JustSummoned(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustSummoned(), boss_professor_putricide::boss_professor_putricideAI::JustSummoned(), boss_sindragosa::boss_sindragosaAI::JustSummoned(), boss_the_lich_king::boss_the_lich_kingAI::JustSummoned(), boss_valithria_dreamwalker::boss_valithria_dreamwalkerAI::JustSummoned(), npc_the_lich_king_controller::npc_the_lich_king_controllerAI::JustSummoned(), npc_risen_archmage::npc_risen_archmageAI::JustSummoned(), boss_gluth::boss_gluthAI::JustSummoned(), boss_malygos::JustSummoned(), boss_volkhan::JustSummoned(), boss_algalon_the_observer::JustSummoned(), npc_ulduar_leviathan_mkii::JustSummoned(), npc_ulduar_vx001::JustSummoned(), boss_razorscale::JustSummoned(), boss_yoggsaron_sara::JustSummoned(), boss_skadi::boss_skadiAI::JustSummoned(), boss_svala::boss_svalaAI::JustSummoned(), npc_tirions_gambit_tirion::npc_tirions_gambit_tirionAI::JustSummoned(), npc_blessed_banner::npc_blessed_bannerAI::JustSummoned(), npc_overlord_drakuru_betrayal::JustSummoned(), boss_nexusprince_shaffar::JustSummoned(), boss_grandmaster_vorpil::JustSummoned(), boss_illidan_stormrage::JustSummoned(), npc_akama_illidan::JustSummoned(), npc_flame_of_azzinoth::JustSummoned(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::JustSummoned(), npc_creature_generator_akama::JustSummoned(), boss_supremus::JustSummoned(), boss_hydross_the_unstable::JustSummoned(), boss_lady_vashj::JustSummoned(), npc_ahune_bunny::JustSummoned(), boss_vazruden_the_herald::JustSummoned(), boss_harbinger_skyriss::JustSummoned(), boss_kaelthas::JustSummoned(), emerald_dragonAI::JustSummoned(), boss_vaelastrasz::JustSummoned(), boss_terestian_illhoof::JustSummoned(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::JustSummoned(), npc_thrall_bfu::npc_thrall_bfuAI::JustSummoned(), boss_archimonde::JustSummoned(), npc_wizzlecrank_shredder::npc_wizzlecrank_shredderAI::JustSummoned(), npc_deaths_door_fell_cannon_target_bunny::npc_deaths_door_fell_cannon_target_bunnyAI::JustSummoned(), npc_maghar_captive::npc_maghar_captiveAI::JustSummoned(), npc_kurenai_captive::npc_kurenai_captiveAI::JustSummoned(), npc_varian_wrynn::npc_varian_wrynnAI::JustSummoned(), boss_ayamiss::JustSummoned(), npc_buru_egg::JustSummoned(), Unit::Kill(), Player::KilledMonsterCredit(), boss_skarvald_the_constructor::KilledUnit(), boss_dalronn_the_controller::KilledUnit(), boss_sartharion_dragonAI::KilledUnit(), npc_general_andorov::KilledUnit(), boss_svala::boss_svalaAI::KilledUnit(), npc_akama_illidan::KilledUnit(), boss_gluth::boss_gluthAI::KilledUnit(), boss_thaddius_summon::boss_thaddius_summonAI::KilledUnit(), Movement::MoveSplineInit::Launch(), spell_ayamiss_swarmer_swarm::Load(), spell_ayamiss_swarmer_start_loop::Load(), spell_gen_ayamiss_swarmer_loop::Load(), spell_blood_queen_bloodbolt::Load(), VehicleAI::LoadConditions(), Creature::LoadEquipment(), Item::LoadFromDB(), LootItemStorage::LoadStoredLoot(), Guild::BankMoveItemData::LogAction(), Guild::PlayerMoveItemData::LogBankEvent(), Guild::BankMoveItemData::LogBankEvent(), MailSender::MailSender(), AchievementCriteriaData::Meets(), Unit::MeleeDamageBonusDone(), npc_brew_bubble::MoveInLineOfSight(), npc_dkc1_gothik::MoveInLineOfSight(), npc_andorhal_tower::npc_andorhal_towerAI::MoveInLineOfSight(), boss_nalorakk::MoveInLineOfSight(), npc_brewfest_bark_trigger::MoveInLineOfSight(), npc_cw_area_trigger::npc_cw_area_triggerAI::MoveInLineOfSight(), npc_love_in_air_snivel::MoveInLineOfSight(), boss_aeonus::MoveInLineOfSight(), boss_chrono_lord_deja::MoveInLineOfSight(), boss_temporus::MoveInLineOfSight(), npc_general_andorov::MoveInLineOfSight(), npc_kerlonian::npc_kerlonianAI::MoveInLineOfSight(), npc_aged_dying_ancient_kodo::MoveInLineOfSight(), npc_tooga::npc_toogaAI::MoveInLineOfSight(), npc_ringo::npc_ringoAI::MoveInLineOfSight(), boss_gluth::boss_gluthAI::MoveInLineOfSight(), npc_ulduar_snow_mound::MoveInLineOfSight(), npc_khunok_the_behemoth::npc_khunok_the_behemothAI::MoveInLineOfSight(), npc_jenny::MoveInLineOfSight(), npc_mageguard_dalaran::npc_mageguard_dalaranAI::MoveInLineOfSight(), npc_future_you::npc_future_youAI::MoveInLineOfSight(), npc_shattered_hand_scout::MoveInLineOfSight(), npc_ancestral_wolf::npc_ancestral_wolfAI::MoveInLineOfSight(), npc_creditmarker_visit_with_ancestors::npc_creditmarker_visit_with_ancestorsAI::MoveInLineOfSight(), Player::MoveItemToInventory(), MotionMaster::MoveLand(), boss_nightbane::MovementInform(), npc_gothik_the_harvester::MovementInform(), npc_stillpine_capitive::npc_stillpine_capitiveAI::MovementInform(), npc_fos_leader_second::npc_fos_leader_secondAI::MovementInform(), npc_pos_leader_second::npc_pos_leader_secondAI::MovementInform(), boss_four_horsemen::boss_four_horsemenAI::MovementInform(), npc_vehicle_d16_propelled_delivery::npc_vehicle_d16_propelled_deliveryAI::MovementInform(), boss_lieutenant_drake::MovementInform(), npc_injured_7th_legion_soldier::npc_injured_7th_legion_soldierAI::MovementInform(), npc_oculus_drakegiver::npc_oculus_drakegiverAI::MovementInform(), boss_flame_leviathan_safety_container::MovementInform(), MotionMaster::MoveTakeoff(), boss_four_horsemen::boss_four_horsemenAI::MoveToCorner(), npc_air_force_bots::npc_air_force_botsAI::npc_air_force_botsAI(), npc_ball_of_flame::npc_ball_of_flameAI::npc_ball_of_flameAI(), npc_batrider::npc_batrider(), npc_frostwing_vrykul::npc_frostwing_vrykulAI::npc_frostwing_vrykulAI(), npc_pet_gen_target_following_bomb::npc_pet_gen_target_following_bomb(), npc_wg_queue::npc_wg_queueAI::npc_wg_queueAI(), npc_chesspiece::OnCharmed(), achievement_hadronox_denied::OnCheck(), achievement_watch_him_die::OnCheck(), achievement_better_off_dred::OnCheck(), achievement_oh_novos::OnCheck(), achievement_share_the_love::OnCheck(), achievement_snakes_whyd_it_have_to_be_snakes::OnCheck(), achievement_all_you_can_eat::OnCheck(), achievement_portal_jockey::OnCheck(), achievement_chaos_theory::OnCheck(), achievement_split_personality::OnCheck(), achievement_assembly_of_iron::OnCheck(), achievement_smell_saronite::OnCheck(), achievement_shadowdodger::OnCheck(), achievement_cheese_the_freeze::OnCheck(), achievement_getting_cold_in_here::OnCheck(), achievement_i_could_say_that_this_cache_was_rare::OnCheck(), achievement_i_have_the_coolest_friends::OnCheck(), achievement_mimiron_firefighter::OnCheck(), achievement_mimiron_set_up_us_the_bomb_11::OnCheck(), achievement_mimiron_set_up_us_the_bomb_12::OnCheck(), achievement_mimiron_set_up_us_the_bomb_13::OnCheck(), achievement_yogg_saron_kiss_and_make_up::OnCheck(), instance_scholomance::instance_scholomance_InstanceMapScript::OnCreatureCreate(), BattlefieldWG::OnCreatureCreate(), instance_blackrock_depths::OnCreatureCreate(), instance_blackrock_spire::OnCreatureCreate(), instance_blackwing_lair::OnCreatureCreate(), instance_molten_core::OnCreatureCreate(), instance_gnomeregan::instance_gnomeregan_InstanceMapScript::OnCreatureCreate(), instance_karazhan::instance_karazhan_InstanceMapScript::OnCreatureCreate(), instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript::OnCreatureCreate(), instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript::OnCreatureCreate(), instance_stratholme::instance_stratholme_InstanceMapScript::OnCreatureCreate(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::OnCreatureCreate(), instance_uldaman::instance_uldaman_InstanceMapScript::OnCreatureCreate(), instance_zulaman::instance_zulaman_InstanceMapScript::OnCreatureCreate(), instance_zulgurub::instance_zulgurub_InstanceMapScript::OnCreatureCreate(), instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript::OnCreatureCreate(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::OnCreatureCreate(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::OnCreatureCreate(), instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript::OnCreatureCreate(), instance_the_black_morass::instance_the_black_morass_InstanceMapScript::OnCreatureCreate(), instance_dire_maul::instance_dire_maul_InstanceMapScript::OnCreatureCreate(), instance_ruins_of_ahnqiraj::instance_ruins_of_ahnqiraj_InstanceMapScript::OnCreatureCreate(), instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript::OnCreatureCreate(), instance_wailing_caverns::instance_wailing_caverns_InstanceMapScript::OnCreatureCreate(), instance_zulfarrak::instance_zulfarrak_InstanceMapScript::OnCreatureCreate(), instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::OnCreatureCreate(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::OnCreatureCreate(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::OnCreatureCreate(), instance_forge_of_souls::instance_forge_of_souls_InstanceScript::OnCreatureCreate(), instance_halls_of_reflection::OnCreatureCreate(), instance_pit_of_saron::instance_pit_of_saron_InstanceScript::OnCreatureCreate(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureCreate(), instance_naxxramas::OnCreatureCreate(), instance_eye_of_eternity::OnCreatureCreate(), instance_nexus::instance_nexus_InstanceMapScript::OnCreatureCreate(), instance_oculus::instance_oculus_InstanceMapScript::OnCreatureCreate(), instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::OnCreatureCreate(), instance_ulduar::instance_ulduar_InstanceMapScript::OnCreatureCreate(), instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript::OnCreatureCreate(), instance_vault_of_archavon::instance_vault_of_archavon_InstanceMapScript::OnCreatureCreate(), instance_violet_hold::instance_violet_hold_InstanceMapScript::OnCreatureCreate(), instance_shadow_labyrinth::instance_shadow_labyrinth_InstanceMapScript::OnCreatureCreate(), instance_black_temple::instance_black_temple_InstanceMapScript::OnCreatureCreate(), instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::OnCreatureCreate(), instance_the_slave_pens::instance_the_slave_pens_InstanceMapScript::OnCreatureCreate(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::OnCreatureCreate(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnCreatureCreate(), instance_shattered_halls::instance_shattered_halls_InstanceMapScript::OnCreatureCreate(), instance_mechanar::instance_mechanar_InstanceMapScript::OnCreatureCreate(), instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript::OnCreatureCreate(), instance_zulaman::instance_zulaman_InstanceMapScript::OnCreatureEvade(), instance_ruins_of_ahnqiraj::instance_ruins_of_ahnqiraj_InstanceMapScript::OnCreatureEvade(), instance_azjol_nerub::instance_azjol_nerub_InstanceScript::OnCreatureEvade(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnCreatureEvade(), instance_molten_core::OnCreatureRemove(), instance_the_black_morass::instance_the_black_morass_InstanceMapScript::OnCreatureRemove(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureRemove(), instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::OnCreatureRemove(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnCreatureRemove(), instance_deadmines::instance_deadmines_InstanceMapScript::OnGameObjectCreate(), instance_gnomeregan::instance_gnomeregan_InstanceMapScript::OnGameObjectCreate(), instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript::OnGameObjectCreate(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::OnGameObjectCreate(), instance_uldaman::instance_uldaman_InstanceMapScript::OnGameObjectCreate(), instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript::OnGameObjectCreate(), instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript::OnGameObjectCreate(), instance_dire_maul::instance_dire_maul_InstanceMapScript::OnGameObjectCreate(), instance_maraudon::instance_maraudon_InstanceMapScript::OnGameObjectCreate(), instance_razorfen_downs::instance_razorfen_downs_InstanceMapScript::OnGameObjectCreate(), instance_zulfarrak::instance_zulfarrak_InstanceMapScript::OnGameObjectCreate(), instance_gundrak::instance_gundrak_InstanceMapScript::OnGameObjectCreate(), instance_eye_of_eternity::OnGameObjectCreate(), instance_nexus::instance_nexus_InstanceMapScript::OnGameObjectCreate(), instance_ulduar::instance_ulduar_InstanceMapScript::OnGameObjectCreate(), instance_mechanar::instance_mechanar_InstanceMapScript::OnGameObjectCreate(), BattlefieldWG::OnGameObjectCreate(), instance_blackrock_depths::OnGameObjectCreate(), instance_blackrock_spire::OnGameObjectCreate(), instance_blackwing_lair::OnGameObjectCreate(), instance_molten_core::OnGameObjectCreate(), instance_karazhan::instance_karazhan_InstanceMapScript::OnGameObjectCreate(), instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript::OnGameObjectCreate(), instance_scholomance::instance_scholomance_InstanceMapScript::OnGameObjectCreate(), instance_stratholme::instance_stratholme_InstanceMapScript::OnGameObjectCreate(), instance_zulaman::instance_zulaman_InstanceMapScript::OnGameObjectCreate(), instance_zulgurub::instance_zulgurub_InstanceMapScript::OnGameObjectCreate(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::OnGameObjectCreate(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::OnGameObjectCreate(), instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript::OnGameObjectCreate(), instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript::OnGameObjectCreate(), instance_ahnkahet::instance_ahnkahet_InstanceScript::OnGameObjectCreate(), instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::OnGameObjectCreate(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::OnGameObjectCreate(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::OnGameObjectCreate(), instance_drak_tharon_keep::OnGameObjectCreate(), instance_halls_of_reflection::OnGameObjectCreate(), instance_pit_of_saron::instance_pit_of_saron_InstanceScript::OnGameObjectCreate(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnGameObjectCreate(), instance_naxxramas::OnGameObjectCreate(), instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::OnGameObjectCreate(), instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript::OnGameObjectCreate(), instance_violet_hold::instance_violet_hold_InstanceMapScript::OnGameObjectCreate(), instance_black_temple::instance_black_temple_InstanceMapScript::OnGameObjectCreate(), instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::OnGameObjectCreate(), instance_the_slave_pens::instance_the_slave_pens_InstanceMapScript::OnGameObjectCreate(), instance_steam_vault::instance_steam_vault_InstanceMapScript::OnGameObjectCreate(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::OnGameObjectCreate(), instance_hellfire_ramparts::instance_hellfire_ramparts_InstanceMapScript::OnGameObjectCreate(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnGameObjectCreate(), instance_arcatraz::instance_arcatraz_InstanceMapScript::OnGameObjectCreate(), instance_the_eye::instance_the_eye_InstanceMapScript::OnGameObjectCreate(), instance_oculus::instance_oculus_InstanceMapScript::OnGameObjectCreate(), instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript::OnGameObjectCreate(), instance_gundrak::instance_gundrak_InstanceMapScript::OnGameObjectRemove(), instance_nexus::instance_nexus_InstanceMapScript::OnGameObjectRemove(), instance_mechanar::instance_mechanar_InstanceMapScript::OnGameObjectRemove(), instance_blackwing_lair::OnGameObjectRemove(), instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::OnGameObjectRemove(), instance_drak_tharon_keep::OnGameObjectRemove(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnGameObjectRemove(), instance_naxxramas::OnGameObjectRemove(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnGameObjectRemove(), go_elune_fire::OnGossipHello(), go_razorscale_harpoon::OnGossipHello(), go_main_chambers_access_panel::OnGossipHello(), npcs_riverbreeze_and_silversky::OnGossipHello(), npc_essence_of_twin::OnGossipHello(), npc_fos_leader::OnGossipHello(), npc_hor_leader::OnGossipHello(), npc_oculus_drakegiver::OnGossipHello(), npc_ulduar_keeper::OnGossipHello(), npc_wg_quest_giver::OnGossipHello(), npc_innkeeper::OnGossipHello(), npc_prof_alchemy::OnGossipHello(), npc_prof_blacksmith::OnGossipHello(), npc_prof_leather::OnGossipHello(), npc_prof_tailor::OnGossipHello(), npc_taxi::OnGossipHello(), npc_elder_clearwater::OnGossipHello(), icecrown_citadel_teleport::OnGossipHello(), go_scourge_enclosure::OnGossipHello(), go_simon_cluster::OnGossipHello(), go_jotunheim_cage::OnGossipHello(), npc_zulaman_hostage::OnGossipSelect(), npc_oculus_drakegiver::OnGossipSelect(), npc_captain_saeed::OnGossipSelect(), npc_icc_buff_switcher::OnGossipSelect(), go_apexis_relic::OnGossipSelect(), Player::OnGossipSelect(), SmartScript::OnInitialize(), instance_blackrock_depths::OnUnitDeath(), instance_blackwing_lair::OnUnitDeath(), instance_karazhan::instance_karazhan_InstanceMapScript::OnUnitDeath(), instance_stratholme::instance_stratholme_InstanceMapScript::OnUnitDeath(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::OnUnitDeath(), instance_zulaman::instance_zulaman_InstanceMapScript::OnUnitDeath(), instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript::OnUnitDeath(), instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript::OnUnitDeath(), instance_zulfarrak::instance_zulfarrak_InstanceMapScript::OnUnitDeath(), instance_halls_of_reflection::OnUnitDeath(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnUnitDeath(), instance_oculus::instance_oculus_InstanceMapScript::OnUnitDeath(), instance_shadow_labyrinth::instance_shadow_labyrinth_InstanceMapScript::OnUnitDeath(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::OnUnitDeath(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnUnitDeath(), item_only_for_flight::OnUse(), WretchedGhoulCleaner::operator()(), npc_pallid_horror::FlameshockerCheck::operator()(), ValithriaDespawner::operator()(), ICCOrbControllerMinionSearch::operator()(), Acore::NearestCreatureEntryWithLiveStateInObjectRangeCheck::operator()(), Acore::NearestGameObjectEntryInObjectRangeCheck::operator()(), Acore::AllGameObjectsWithEntryInRange::operator()(), Acore::AllGameObjectsMatchingOneEntryInRange::operator()(), FrozenThroneResetWorker::operator()(), Acore::AllCreaturesOfEntryInRange::operator()(), Acore::AllCreaturesMatchingOneEntryInRange::operator()(), FrostwingVrykulSearcher::operator()(), FlameLeviathanPursuedTargetSelector::operator()(), IgbArtilleryCheck::operator()(), CreatureTextBuilder::operator()(), PlayerTextBuilder::operator()(), Unit::OutDebugInfo(), boss_chrono_lord_deja::OwnTalk(), boss_temporus::OwnTalk(), npc_vehicle_d16_propelled_delivery::npc_vehicle_d16_propelled_deliveryAI::PassengerBoarded(), npc_ulduar_leviathan_mkii::PassengerBoarded(), npc_ulduar_vx001::PassengerBoarded(), boss_xt002::PassengerBoarded(), npc_four_car_garage::npc_four_car_garageAI::PassengerBoarded(), npc_hover_disk::PassengerBoarded(), boss_kologarn::PassengerBoarded(), npc_preparations_for_war_vehicle::PassengerBoarded(), boss_nightbane::PathEndReached(), npc_eastvale_peasent::PathEndReached(), SmartAI::PausePath(), BattlegroundAV::PostUpdateImpl(), Spell::prepare(), Player::PrepareQuestMenu(), SmartScript::ProcessAction(), SmartScript::ProcessEvent(), BattlefieldWG::ProcessEvent(), Player::QuickEquipItem(), npc_lake_frog::npc_lake_frogAI::ReceiveEmote(), Creature::Regenerate(), boss_freya_iron_root::ReleaseRootedPlayer(), Unit::RemoveAllControlled(), Unit::RemoveAllMinionsByEntry(), Unit::RemoveFromWorld(), Player::RemoveItem(), Vehicle::RemovePassenger(), Player::RemovePet(), boss_servant_quarters::Reset(), boss_ayamiss::Reset(), boss_bug_trio::Reset(), npc_ahnkahar_nerubian::Reset(), npc_twilight_summon::Reset(), npc_sindragosa_trash::npc_sindragosa_trashAI::Reset(), npc_argent_captainAI::Reset(), npc_frostwing_vrykul::npc_frostwing_vrykulAI::Reset(), boss_four_horsemen::boss_four_horsemenAI::Reset(), boss_thaddius_summon::boss_thaddius_summonAI::Reset(), boss_freya_summons::Reset(), boss_thorim_start_npcs::Reset(), boss_thorim_gauntlet_npcs::Reset(), boss_thorim_arena_npcs::Reset(), boss_skarvald_the_constructor::Reset(), boss_dalronn_the_controller::Reset(), npc_injured_7th_legion_soldier::npc_injured_7th_legion_soldierAI::Reset(), npc_lake_frog::npc_lake_frogAI::Reset(), npc_tournament_training_dummy::npc_tournament_training_dummyAI::Reset(), npc_injured_patient::npc_injured_patientAI::Reset(), npc_minion_spawner::Reset(), Creature::Respawn(), KillRewarder::Reward(), Player::RewardPlayerAndGroupAtEvent(), Pet::SavePetToDB(), Item::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), boss_grand_champion::boss_grand_championAI::ScheduleAbilitiesEvents(), boss_jormungarAI::ScheduleEvents(), npc_necrotic_shard::ScheduleTasks(), boss_thorim_arena_npcs::SelectT(), CreatureTextMgr::SendChat(), npc_prof_alchemy::SendConfirmLearn(), npc_prof_blacksmith::SendConfirmLearn(), npc_prof_tailor::SendConfirmLearn(), npc_prof_alchemy::SendConfirmUnlearn(), npc_prof_blacksmith::SendConfirmUnlearn(), npc_prof_tailor::SendConfirmUnlearn(), Player::SendInitialPacketsBeforeAddToMap(), boss_sartharion::SendLavaWaves(), WorldSession::SendListInventory(), Player::SendLoot(), WorldSession::SendMailList(), MailDraft::SendMailTo(), npc_minigob_manabonk::SendMailToPlayer(), Player::SendNewItem(), WorldSession::SendPetNameQuery(), Spell::SendSpellCooldown(), WorldSession::SendTaxiMenu(), npc_corrupted_totem::SetAura(), BfCapturePoint::SetCapturePointData(), Unit::SetCharm(), Unit::SetCharmedBy(), boss_slad_ran::boss_slad_ranAI::SetData(), instance_halls_of_reflection::SetData(), boss_dred::boss_dredAI::SetData(), boss_novos::SetData(), boss_anomalus::SetData(), boss_keristrasza::SetData(), npc_argent_soldier::npc_argent_soldierAI::SetData(), Minion::setDeathState(), Item::SetEnchantment(), Unit::SetFacingToObject(), SpellCastTargets::SetItemTarget(), Unit::SetMinion(), BoardCell::SetPiece(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::SetPositionTraps(), InstanceScript::SetSummoner(), Player::SetViewpoint(), Player::SetVisibleItemSlot(), npc_chesspiece::sGossipHello(), npc_costumed_orphan_matron::sGossipHello(), npc_aged_dying_ancient_kodo::sGossipHello(), npc_chesspiece::sGossipSelect(), SmartAI::SmartAI(), Unit::SpellDamageBonusDone(), npc_argent_captainAI::SpellHit(), npc_isle_of_conquest_turret::npc_isle_of_conquest_turretAI::SpellHit(), npc_forest_frog::SpellHit(), npc_troll_volunteer::npc_troll_volunteerAI::SpellHit(), npc_tournament_training_dummy::npc_tournament_training_dummyAI::SpellHit(), boss_kaelthas::SpellHit(), advisor_baseAI::SpellHit(), npc_nether_drake::npc_nether_drakeAI::SpellHit(), npc_injured_patient::npc_injured_patientAI::SpellHit(), npc_necrotic_shard::SpellHit(), npc_dark_iron_attack_generator::SpellHit(), npc_hallows_end_train_fire::SpellHit(), npc_jungle_punch_target::npc_jungle_punch_targetAI::SpellHit(), npc_iron_watcher::npc_iron_watcherAI::SpellHit(), npc_necrotic_shard::SpellHitTarget(), npc_ulduar_rocket_strike_trigger::SpellHitTarget(), npc_chesspiece::SpellHitTarget(), npc_necropolis_health::SpellHitTarget(), Unit::SpellPctDamageModsDone(), Player::SplitItem(), npc_escortAI::Start(), npc_koltira_deathweaver::StartEvent(), boss_felmyst::StartIntro(), instance_ulduar::instance_ulduar_InstanceMapScript::StartLeviathanOutroSequence(), boss_thorim_start_npcs::StartMockBattle(), NPCStaveQuestAI::StoreAttackerGuidValue(), Guild::BankMoveItemData::StoreItem(), WorldObject::SummonCreatureGroup(), npc_bh_thalorien_dawnseeker::npc_bh_thalorien_dawnseekerAI::SummonedCreatureDespawn(), boss_ossirian::SummonedCreatureDespawn(), boss_drakkari_colossus::boss_drakkari_colossusAI::SummonedCreatureDespawn(), boss_sindragosa::boss_sindragosaAI::SummonedCreatureDespawn(), boss_valithria_dreamwalker::boss_valithria_dreamwalkerAI::SummonedCreatureDespawn(), boss_vazruden_the_herald::SummonedCreatureDespawn(), SmartGameObjectAI::SummonedCreatureDespawn(), npc_arthas::npc_arthasAI::SummonedCreatureDies(), boss_dorothee::SummonedCreatureDies(), npc_highlord_darion_mograine::SummonedCreatureDies(), boss_cthun::SummonedCreatureDies(), boss_victor_nefarius::SummonedCreatureDies(), boss_majordomo::SummonedCreatureDies(), boss_apothecary_hummel::boss_apothecary_hummelAI::SummonedCreatureDies(), npc_kiljaeden_controller::SummonedCreatureDies(), npc_koltira_deathweaver::SummonedCreatureDies(), npc_varian_wrynn::npc_varian_wrynnAI::SummonedCreatureDies(), npc_thrall_bfu::npc_thrall_bfuAI::SummonedCreatureDies(), npc_coren_direbrew::SummonedCreatureDies(), boss_elder_nadox::SummonedCreatureDies(), boss_anub_arak::SummonedCreatureDies(), boss_novos::SummonedCreatureDies(), boss_drakkari_colossus::boss_drakkari_colossusAI::SummonedCreatureDies(), boss_the_lich_king::boss_the_lich_kingAI::SummonedCreatureDies(), npc_icc_gauntlet_controller::npc_icc_gauntlet_controllerAI::SummonedCreatureDies(), boss_anubrekhan::SummonedCreatureDies(), boss_razorscale::SummonedCreatureDies(), boss_anzu::SummonedCreatureDies(), boss_vazruden_the_herald::SummonedCreatureDies(), npc_warden_mellichar::npc_warden_mellicharAI::SummonedCreatureDies(), boss_viscidus::SummonedCreatureDies(), boss_jedoga_shadowseeker::SummonedCreatureDies(), boss_hadronox::SummonedCreatureEvade(), npc_ranshalla::npc_ranshallaAI::SummonedMovementInform(), WorldObject::SummonGameObjectGroup(), boss_novos::SummonMovementInform(), Player::SummonPet(), Player::SwapItem(), npc_love_in_air_snivel_real::Talk(), Player::TeleportTo(), boss_janalai::ThrowBombs(), TurretAI::TurretAI(), NPCStaveQuestAI::UnitIsUnfair(), Totem::UnSummon(), Pet::Update(), GameObject::Update(), TempSummon::Update(), SpellCastTargets::Update(), npc_av_marshal_or_warmaster::npc_av_marshal_or_warmasterAI::UpdateAI(), npc_chesspiece::UpdateAI(), npc_scholomance_occultist::npc_scholomance_occultistAI::UpdateAI(), npc_balance_of_light_and_shadow::npc_balance_of_light_and_shadowAI::UpdateAI(), npc_grand_magister_rommath::npc_grand_magister_rommathAI::UpdateAI(), npc_forest_frog::UpdateAI(), npc_arthas::npc_arthasAI::UpdateAI(), npc_draenei_survivor::npc_draenei_survivorAI::UpdateAI(), npc_clintar_spirit::npc_clintar_spiritAI::UpdateAI(), npc_qiraj_war_spawn::npc_qiraj_war_spawnAI::UpdateAI(), npc_taldaram_flamesphere::UpdateAI(), npc_twilight_summon::UpdateAI(), boss_grand_champion::boss_grand_championAI::UpdateAI(), npc_toc_shaman::npc_toc_shamanAI::UpdateAI(), npc_toc_enh_shaman::npc_toc_enh_shamanAI::UpdateAI(), boss_twin_valkyrAI::UpdateAI(), npc_fos_leader::npc_fos_leaderAI::UpdateAI(), npc_hor_leader::npc_hor_leaderAI::UpdateAI(), npc_hor_leader_second::npc_hor_leader_secondAI::UpdateAI(), npc_pos_leader::npc_pos_leaderAI::UpdateAI(), npc_pos_martin_or_gorkun_second::npc_pos_martin_or_gorkun_secondAI::UpdateAI(), npc_pos_leader_second::npc_pos_leader_secondAI::UpdateAI(), npc_gunship_gunner::npc_gunship_gunnerAI::UpdateAI(), npc_cult_adherent::npc_cult_adherentAI::UpdateAI(), npc_frostwing_vrykul::npc_frostwing_vrykulAI::UpdateAI(), boss_four_horsemen::boss_four_horsemenAI::UpdateAI(), boss_gluth::boss_gluthAI::UpdateAI(), boss_thaddius::boss_thaddiusAI::UpdateAI(), boss_thaddius_summon::boss_thaddius_summonAI::UpdateAI(), npc_oculus_drakegiver::npc_oculus_drakegiverAI::UpdateAI(), npc_oculus_drake::npc_oculus_drakeAI::UpdateAI(), npc_molten_golem::UpdateAI(), boss_flame_leviathan_safety_container::UpdateAI(), npc_ulduar_icicle::UpdateAI(), boss_thorim_trap::UpdateAI(), npc_azure_invader::UpdateAI(), npc_azure_binder::UpdateAI(), npc_azure_mage_slayer::UpdateAI(), npc_azure_spellbreaker::UpdateAI(), npc_hidden_cultist::npc_hidden_cultistAI::UpdateAI(), npc_archmage_landalock::npc_archmage_landalockAI::UpdateAI(), npc_infra_green_bomber_generic::npc_infra_green_bomber_genericAI::UpdateAI(), npc_tournament_training_dummy::npc_tournament_training_dummyAI::UpdateAI(), npc_jungle_punch_target::npc_jungle_punch_targetAI::UpdateAI(), npc_illidari_spawn::npc_illidari_spawnAI::UpdateAI(), npc_doctor::npc_doctorAI::UpdateAI(), npc_warmage_coldarra::npc_warmage_coldarraAI::UpdateAI(), npc_gunship_rocketeer::npc_gunship_rocketeerAI::UpdateAI(), npc_suppresser::npc_suppresserAI::UpdateAI(), boss_sjonnir_dwarf::boss_sjonnir_dwarfAI::UpdateAI(), npc_warmage_violetstand::UpdateAI(), Player::UpdateAreaDependentAuras(), Guardian::UpdateAttackPowerAndDamage(), InstanceScript::UpdateDoorState(), Item::UpdateDuration(), Item::UpdateItemSuffixFactor(), Guardian::UpdateMaxHealth(), Guardian::UpdateMaxPower(), boss_twin_valkyrAI::UpdateSharedHealth(), SpellCastTargets::UpdateTradeSlotItem(), BfWGGameObjectBuilding::UpdateTurretAttack(), GameObject::Use(), Player::VehicleSpellInitialize(), Player::VisualizeItem(), npc_taretha::npc_tarethaAI::WaypointReached(), Bag::~Bag(), and Vehicle::~Vehicle().

◆ GetFloatValue()

◆ GetGUID() [1/2]

ObjectGuid Object::GetGUID ( ) const
inline
ObjectGuid GetGuidValue(uint16 index) const
Definition Object.cpp:335

References GetGuidValue(), and OBJECT_FIELD_GUID.

Referenced by Unit::_AddAura(), Player::_addSpell(), Player::_AddSpellCooldown(), Unit::_ApplyAuraEffect(), Unit::_CreateAuraApplication(), Player::_LoadActions(), Player::_LoadArenaTeamInfo(), Pet::_LoadAuras(), Player::_LoadAuras(), Player::_LoadBrewOfTheMonth(), Player::_LoadDailyQuestStatus(), Player::_LoadGroup(), Player::_LoadHomeBind(), Player::_LoadInventory(), Player::_LoadItem(), Player::_LoadMail(), Player::_LoadMonthlyQuestStatus(), Player::_LoadPetStable(), Player::_LoadQuestStatus(), Player::_LoadSeasonalQuestStatus(), Player::_LoadSkills(), Player::_LoadSpellCooldowns(), Player::_LoadSpells(), Player::_LoadWeeklyQuestStatus(), Player::_SaveActions(), Pet::_SaveAuras(), Player::_SaveAuras(), Player::_SaveCharacter(), Player::_SaveDailyQuestStatus(), Player::_SaveEntryPoint(), Player::_SaveEquipmentSets(), Player::_SaveGlyphs(), Player::_SaveInventory(), Player::_SaveMonthlyQuestStatus(), Player::_SavePlayerSettings(), Player::_SaveQuestStatus(), Player::_SaveSeasonalQuestStatus(), Player::_SaveSkills(), Player::_SaveSpellCooldowns(), Player::_SaveSpells(), Player::_SaveStats(), Player::_SaveTalents(), Player::_SaveWeeklyQuestStatus(), Player::_StoreItem(), Player::_StoreOrEquipNewItem(), Unit::_UnapplyAura(), Unit::_UnapplyAura(), Unit::_UpdateSpells(), Player::ActivateSpec(), Player::addActionButton(), Player::AddEnchantmentDuration(), Unit::AddGameObject(), WorldObject::AddObjectToRemoveList(), MotionTransport::AddPassenger(), StaticTransport::AddPassenger(), Player::AddQuest(), Pet::addSpell(), Corpse::AddToWorld(), Creature::AddToWorld(), DynamicObject::AddToWorld(), GameObject::AddToWorld(), Pet::AddToWorld(), Player::ApplyBaseModPctValue(), Player::ApplyEquipCooldown(), Unit::AttackerStateUpdate(), Player::BindToInstance(), Unit::BuildCooldownPacket(), Unit::BuildCooldownPacket(), BuildCreateUpdateBlockForPlayer(), BuildMovementUpdate(), BuildOutOfRangeUpdateBlock(), Player::BuildPlayerRepop(), Player::CanBankItem(), Item::CanBeTraded(), Player::CanRollForItemInLFG(), WorldObject::CanSeeOrDetect(), Player::CanUninviteFromGroup(), Unit::CastCustomSpell(), Unit::CastDelayedSpellWithPeriodicAmount(), Player::CastItemCombatSpell(), WorldObject::CastSpell(), WorldObject::CastSpell(), Unit::CastSpell(), Unit::CastSpell(), Unit::CastSpell(), GameObject::CastSpell(), Unit::CastSpell(), Player::CheckAreaExploreAndOutdoor(), Player::CheckSkillLearnedBySpell(), Unit::CleanupBeforeRemoveFromMap(), Item::ClearSoulboundTradeable(), Player::CompleteQuest(), Player::ContinueTaxiFlight(), Pet::CreateBaseAtCreature(), MotionTransport::CreateGOPassenger(), MotionTransport::CreateNPCPassenger(), Unit::DealDamageShieldDamage(), Unit::DelayOwnedAuras(), GameObject::Delete(), Creature::DeleteFromDB(), Item::DeleteFromDB(), Item::DeleteFromInventoryDB(), Item::DeleteRefundDataFromDB(), Creature::DespawnOnEvade(), GameObject::DespawnOrUnsummon(), DestroyForPlayer(), Player::DoRandomRoll(), Player::DuelComplete(), Player::EnvironmentalDamage(), Player::EquipItem(), Unit::ExitVehicle(), Creature::ForcedDespawn(), Unit::GetCharmerOrOwnerOrOwnGUID(), Player::GetCorpse(), GetDebugInfo(), WorldObject::GetFactionTemplateEntry(), Unit::GetFactionTemplateEntry(), Player::GetGameObjectIfCanInteractWith(), Bag::GetSlotByItemGUID(), Unit::GetUnitCriticalChance(), Player::HandleBaseModFlatValue(), Unit::HandleEmoteCommand(), Player::HaveAtClient(), Player::InitDisplayIds(), Totem::InitStats(), TempSummon::InitStats(), Guardian::InitSummon(), Unit::InitTamedPet(), Player::inRandomLfgDungeon(), Player::isAllowedToLoot(), Player::IsAtLootRewardDistance(), Unit::IsHighestExclusiveAuraEffect(), Player::IsUsingLfg(), Player::LearnCustomSpells(), Player::learnSpell(), Player::LeaveBattleground(), Corpse::LoadCorpseFromDB(), Creature::LoadCreaturesAddon(), Player::LoadFromDB(), Item::LoadFromDB(), Pet::LoadPetFromDB(), Player::ModifyArenaPoints(), Unit::ModifyAuraState(), Player::ModifyHonorPoints(), Player::ModifySpellCooldown(), Player::MoveItemToInventory(), Player::NeedSendSpectatorData(), Player::OnGossipSelect(), Unit::OutDebugInfo(), WorldObject::PlayDistanceSound(), Player::PrepareGossipMenu(), Player::PrettyPrintRequirementsAchievementsList(), Player::ProcessDelayedOperations(), Player::RefundItem(), DynamicObject::Remove(), Player::removeActionButton(), Unit::RemoveAllControlled(), Player::RemoveAtLoginFlag(), Unit::RemoveAura(), Unit::RemoveAura(), Unit::RemoveAurasByType(), Unit::RemoveCharmedBy(), Player::RemoveCorpse(), Player::RemovedInsignia(), Player::RemoveFromGroup(), GameObject::RemoveFromOwner(), Corpse::RemoveFromWorld(), Creature::RemoveFromWorld(), TempSummon::RemoveFromWorld(), DynamicObject::RemoveFromWorld(), GameObject::RemoveFromWorld(), Pet::RemoveFromWorld(), Unit::RemoveFromWorld(), Unit::RemoveGameObject(), Player::RemoveItemDependentAurasAndCasts(), Unit::RemoveNotOwnSingleTargetAuras(), Player::RemovePet(), Pet::RemoveSpellCooldown(), Creature::Respawn(), Unit::RestoreDisplayId(), Player::ResurrectPlayer(), Player::RewardReputation(), Player::Satisfy(), Player::SaveGoldToDB(), Item::SaveRefundDataToDB(), Item::SaveToDB(), Player::SendActionButtons(), Creature::SendAIReaction(), Player::SendClearCooldown(), Player::SendCooldownEvent(), GameObject::SendCustomAnim(), Player::SendEnchantmentDurations(), Player::SendInstanceResetWarning(), Player::SendItemRetrievalMail(), Player::SendItemRetrievalMail(), Player::SendLoot(), Unit::SendMeleeAttackStart(), Unit::SendMeleeAttackStop(), Unit::SendMovementFlagUpdate(), Player::SendNewItem(), Unit::SendPetActionSound(), Unit::SendPlaySpellVisual(), Player::SendQuestConfirmAccept(), Player::SendRaidInfo(), Player::SendRefundInfo(), Player::SendSavedInstances(), Unit::SendSpellDamageImmune(), Unit::SendSpellDamageResist(), WorldObject::SendSpellMiss(), Item::SendTimeUpdate(), Item::SendUpdateSockets(), Unit::SetAuraStack(), Unit::SetCharm(), Unit::SetCharmedBy(), Player::SetClientControl(), Unit::SetConfused(), Minion::setDeathState(), Player::setDeathState(), Player::SetDrunkValue(), Unit::SetFeared(), Unit::SetHealth(), Player::SetHomebind(), Player::SetInGuild(), Unit::SetLevel(), Unit::SetMaxHealth(), Unit::SetMaxPower(), Unit::SetMinion(), Player::SetMover(), Item::SetNotRefundable(), Unit::SetPower(), Unit::setPowerType(), Player::SetRandomWinner(), Player::SetSelection(), Item::SetState(), Unit::SetStunned(), Creature::SetTextRepeatId(), Player::SpawnCorpseBones(), Unit::SpellDamageBonusDone(), Unit::SpellPctDamageModsDone(), Unit::SpellTakenCritChance(), Player::StopCastingBindSight(), Player::StopCastingCharm(), Bag::StoreItem(), Player::StoreLootItem(), Player::SummonPet(), Player::TeleportTo(), Totem::UnSummon(), Pet::Update(), GameObject::Update(), Creature::Update(), Player::Update(), Player::UpdateHomebindTime(), Player::UpdateSoulboundTradeItems(), Player::UpdateSpecCount(), GameObject::Use(), Player::VisualizeItem(), and ~Object().

◆ GetGUID() [2/2]

static ObjectGuid Object::GetGUID ( Object const *  o)
inlinestatic
120{ return o ? o->GetGUID() : ObjectGuid::Empty; }
static ObjectGuid const Empty
Definition ObjectGuid.h:123

References ObjectGuid::Empty, and GetGUID().

Referenced by Aura::_ApplyForTarget(), Player::_ApplyItemMods(), Group::_cancelHomebindIfInstance(), Spell::_cast(), Map::_GetScriptCreature(), Map::_GetScriptCreatureSourceOrTarget(), Map::_GetScriptPlayer(), Map::_GetScriptPlayerSourceOrTarget(), Map::_GetScriptUnit(), Map::_GetScriptWorldObject(), Spell::_handle_finish_phase(), Guild::_HasRankRight(), AuraApplication::_InitFlags(), Guild::_IsLeader(), WorldObject::_IsWithinDist(), Player::_LoadItem(), Player::_LoadMailedItem(), at_hol_hall_of_watchers::_OnTrigger(), Player::_SaveInventory(), Map::_ScriptProcessDoor(), Guild::_SendBankContent(), Guild::_SendBankList(), PetAI::_stopAttack(), Player::_StoreItem(), Player::_StoreOrEquipNewItem(), Unit::_TryStackingOrRefreshingExistingAura(), Aura::_UnapplyForTarget(), AuctionHouseMgr::AddAItem(), LootItem::AddAllowedLooter(), npc_anubisath_sentinel::aqsentinelAI::AddBuddyToList(), Battleground::AddCreature(), FormationMgr::AddCreatureToGroup(), Player::AddEnchantmentDuration(), Unit::AddGameObject(), Spell::AddGOTarget(), BattlegroundQueue::AddGroup(), Group::AddInvite(), MailDraft::AddItem(), Player::AddItemToBuyBackSlot(), Group::AddLeaderInvite(), CreatureGroup::AddMember(), Group::AddMember(), Player::AddMItem(), Battleground::AddObject(), InstanceScript::AddObject(), Battlefield::AddOrSetPlayerToCorrectBfGroup(), Battleground::AddOrSetPlayerToCorrectBgGroup(), Vehicle::AddPassenger(), Battleground::AddPlayer(), Arena::AddPlayer(), BattlegroundAB::AddPlayer(), BattlegroundAV::AddPlayer(), BattlegroundEY::AddPlayer(), BattlegroundIC::AddPlayer(), BattlegroundSA::AddPlayer(), BattlegroundWS::AddPlayer(), Map::AddPlayerToMap(), InstanceMap::AddPlayerToMap(), spell_rog_killing_spree_aura::AddTarget(), ThreatManager::AddThreat(), Map::AddToMap(), Item::AddToUpdateQueueOf(), GameObject::AddUniqueUse(), Spell::AddUnitTarget(), BattlefieldWG::AddUpdateTenacity(), Channel::AddWatching(), spell_sindragosa_ice_tomb_trap_aura::AfterApply(), Channel::Announce(), Player::ApplyEnchantment(), Player::ApplyEquipCooldown(), Player::ApplyEquipSpell(), AuraEffect::ApplySpellMod(), Battlefield::AskToLeaveQueue(), Unit::Attack(), Unit::AttackerStateUpdate(), TotemAI::AttackStart(), boss_malygos::AttackStart(), npc_snobold_vassal::npc_snobold_vassalAI::AttackStart(), npc_vengeful_shade::npc_vengeful_shadeAI::AttackStart(), boss_kelthuzad_minion::boss_kelthuzad_minionAI::AttackStart(), npc_pet_dk_ebon_gargoyle::AttackStart(), BanMgr::BanCharacter(), BeforeVisibilityDestroy< Creature >(), npc_doctor::npc_doctorAI::BeginEvent(), boss_vaelastrasz::BeginSpeech(), Group::BroadcastPacket(), Group::BroadcastReadyCheck(), SocialMgr::BroadcastToFriendListers(), Guild::BroadcastToGuild(), Unit::BuildAuraStateUpdateForTarget(), ChatHandler::BuildChatPacket(), WorldSession::BuildPartyMemberStatsChangedPacket(), BattlegroundMgr::BuildPlayerJoinedBattlegroundPacket(), PathGenerator::BuildPointPath(), PathGenerator::BuildPolyPath(), GameObject::BuildValuesUpdate(), Unit::BuildValuesUpdate(), Unit::CalcAbsorbResist(), spell_sha_clearcasting::CalculateAmount(), CalculateSpellAmount(), boss_mandokir::boss_mandokirAI::CalculateThreat(), Creature::CallAssistance(), npc_inner_demon::CanAIAttack(), Player::CanAlwaysSee(), BGSpamProtect::CanAnnounce(), PetAI::CanAttack(), Spell::CanAutoCast(), Player::CanBankItem(), npc_inner_demon::CanBeSeen(), Spell::cancel(), Player::CanInteractWithQuestGiver(), Group::CanJoinBattlegroundQueue(), InstanceMap::CannotEnter(), BattlegroundMap::CannotEnter(), WorldSession::CanOpenMailBox(), npc_inner_demon::CanReceiveDamage(), npc_commander_dawnforge::npc_commander_dawnforgeAI::CanStartEvent(), Player::CanStoreItem(), Player::CanStoreItem_InBag(), Player::CanStoreItems(), WorldSession::CanUseBank(), Unit::CastDelayedSpellWithPeriodicAmount(), GameObject::CastSpell(), Pet::CastWhenWillAvailable(), Group::ChangeLeader(), CharacterActionIpLogger::CharacterIPLogAction(), Player::CharmSpellInitialize(), instance_obsidian_sanctum::instance_obsidian_sanctum_InstanceMapScript::CheckAchievementCriteriaMeet(), spell_pal_hand_of_protection::CheckCast(), spell_item_power_circle::CheckCaster(), AuraEffect::CheckEffectProc(), Spell::CheckEffectTarget(), SpellInfo::CheckExplicitTarget(), Spell::CheckItems(), spell_mage_focus_magic::CheckProc(), spell_pal_light_s_beacon::CheckProc(), spell_pri_vampiric_touch::CheckProc(), spell_rog_blade_flurry::CheckProc(), spell_sha_earthliving_weapon::CheckProc(), spell_warl_drain_soul::CheckProc(), spell_warl_improved_drain_soul::CheckProc(), spell_warr_sweeping_strikes::CheckProc(), ObjectVisibilityContainer::CleanVisibilityReferences(), violet_hold_trashAI::ClearDoorSealAura(), ThreatManager::ClearThreat(), Map::ConvertCorpseToBones(), Group::CountTheRoll(), Corpse::Create(), Item::Create(), Bag::Create(), Group::Create(), Guild::Create(), Aura::Create(), DynamicObject::CreateDynamicObject(), MotionTransport::CreateGOPassenger(), Item::CreateItem(), MotionTransport::CreateNPCPassenger(), boss_illidari_council_memberAI::DamageTaken(), boss_tenris_mirkblood::DamageTaken(), npc_training_dummy::DamageTaken(), boss_thorim_start_npcs::DamageTaken(), boss_bug_trio::DamageTaken(), Unit::DealDamage(), Unit::DealDamageShieldDamage(), Spell::DelayedChannel(), MailDraft::deleteIncludedItems(), SummonList::Despawn(), Player::DestroyItem(), Player::DestroyItemCount(), ObjectVisibilityContainer::DirectInsertVisiblePlayerReference(), Vehicle::Dismiss(), boss_mandokir::boss_mandokirAI::DoAction(), boss_illidari_council::DoAction(), Spell::DoAllEffectOnLaunchTarget(), Spell::DoAllEffectOnTarget(), PetAI::DoAttack(), boss_maexxna::boss_maexxnaAI::DoCastWebWrap(), Spell::DoCreateItem(), ConfusedMovementGenerator< T >::DoFinalize(), WaypointMovementGenerator< Creature >::DoInitialize(), WorldSession::DoLootRelease(), brann_bronzebeard::DoMarnakDarkMatter(), ScriptedAI::DoPlaySoundToSet(), FlightPathMovementGenerator::DoReset(), Spell::DoSpellHitOnUnit(), ScriptedAI::DoTeleportPlayer(), go_commandscript::DoTeleportToTransport(), Spell::DoTriggersOnSpellHit(), FlightPathMovementGenerator::DoUpdate(), ChaseMovementGenerator< T >::DoUpdate(), FollowMovementGenerator< T >::DoUpdate(), Player::DuelComplete(), Spell::EffectAddHonor(), Spell::EffectBind(), Spell::EffectCharge(), Spell::EffectDisEnchant(), Spell::EffectDispel(), Spell::EffectDispelMechanic(), Spell::EffectDuel(), Spell::EffectEnchantHeldItem(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectForceDeselect(), Spell::EffectHeal(), Spell::EffectInstaKill(), Spell::EffectLearnSpell(), Spell::EffectMilling(), Spell::EffectOpenLock(), Spell::EffectPersistentAA(), Spell::EffectPickPocket(), Spell::EffectProspecting(), Spell::EffectQuestStart(), Spell::EffectRedirectThreat(), Spell::EffectResurrect(), Spell::EffectResurrectNew(), Spell::EffectSanctuary(), Spell::EffectSchoolDMG(), Spell::EffectSkinning(), Spell::EffectStealBeneficialBuff(), Spell::EffectSummonChangeItem(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPlayer(), Spell::EffectSummonRaFFriend(), Spell::EffectSummonType(), Spell::EffectTransmitted(), Spell::EffectUnlearnSpecialization(), Spell::EffectUntrainTalents(), Spell::EffectWeaponDmg(), CombatReference::EndCombat(), boss_bug_trio::EnterCombatWithTrio(), boss_bug_trio::EvadeAllBosses(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundAV::EventPlayerClickedOnFlag(), BattlegroundEY::EventPlayerDroppedFlag(), BattlegroundWS::EventPlayerDroppedFlag(), BGQueueRemoveEvent::Execute(), AuraMunchingQueue::Execute(), IceTombSummonEvent::Execute(), ChatHandler::extractPlayerTarget(), Loot::FillFFALoot(), Loot::FillLoot(), Loot::FillNonQuestNonFFAConditionalLoot(), Loot::FillNotNormalLootFor(), Loot::FillQuestLoot(), spell_dk_death_pact::FilterTargets(), spell_send_mug_target_picker::FilterTargets(), spell_eoe_ph3_surge_of_power::FilterTargets(), spell_tsh_shoot_flame_arrow::FilterTargets(), BattlefieldWG::FindAndRemoveVehicleFromList(), PathGenerator::FindSmoothPath(), Spell::finish(), lfg::LFGMgr::FinishDungeon(), ThreatManager::FixateTarget(), Channel::FlagsNotify(), Creature::FocusTarget(), CreatureGroup::FormationReset(), boss_erekem::GetChainHealTargetGuid(), Unit::GetComboPoints(), Unit::GetComboTargetGUID(), Minion::GetDebugInfo(), GetGUID(), WorldSession::GetGuidLow(), npc_echo_of_medivh::GetHostileTargetForChangeFacing(), FollowerAI::GetLeaderForFollower(), Unit::GetMagicHitRedirectTarget(), Loot::GetMaxSlotInLootFor(), Unit::GetMeleeAttackPoint(), SpellCastTargets::GetObjectTargetChannel(), ChatHandler::GetPlayerGroupAndGUIDByName(), WorldSession::GetPlayerInfo(), GetPlayerInfo(), ToCloud9GrpcHandler::GetPlayerItemsByGuids(), Vehicle::GetSeatAddonForSeatOfPassenger(), Vehicle::GetSeatForPassenger(), Vehicle::GetSeatIteratorForPassenger(), SmartScript::GetTargets(), ThreatManager::GetThreat(), WorldObject::GetTransGUID(), Unit::GetTransGUID(), GetUpdateFieldData(), GetVelocity(), npc_anubisath_sentinel::aqsentinelAI::GiveBuddyMyList(), GmTicket::GmTicket(), go_shadowforge_brazier::GossipHello(), go_ossirian_crystal::go_ossirian_crystalAI::GossipHello(), go_chromaggus_lever::GossipHello(), go_wind_stone::go_wind_stoneAI::GossipHello(), go_gilded_brazier::go_gilded_brazierAI::GossipHello(), go_orb_of_domination::GossipHello(), boss_yoggsaron_constrictor_tentacle::GrabPlayer(), Group::GroupLoot(), Guild::HandleAcceptMember(), WorldSession::HandleAcceptTradeOpcode(), account_commandscript::HandleAccountCreateCommand(), spell_reflective_shield_aura::HandleAfterEffectAbsorb(), spell_rog_deadly_poison::HandleAfterHit(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), misc_commandscript::HandleAppearCommand(), spell_igb_on_gunship_deck_aura::HandleApply(), spell_dk_dancing_rune_weapon::HandleApply(), WorldSession::HandleAreaSpiritHealerQueueOpcode(), BattlegroundEY::HandleAreaTrigger(), BattlegroundWS::HandleAreaTrigger(), WorldSession::HandleAreaTriggerOpcode(), WorldSession::HandleArenaTeamAcceptOpcode(), WorldSession::HandleArenaTeamDisbandOpcode(), WorldSession::HandleArenaTeamLeaderOpcode(), WorldSession::HandleArenaTeamLeaveOpcode(), WorldSession::HandleArenaTeamRemoveOpcode(), WorldSession::HandleAuctionListItems(), WorldSession::HandleAuctionPlaceBid(), WorldSession::HandleAuctionRemoveItem(), WorldSession::HandleAuctionSellItem(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraLinked(), AuraEffect::HandleAuraOpenStable(), Aura::HandleAuraSpecificMods(), WorldSession::HandleAutostoreLootItemOpcode(), ban_commandscript::HandleBanInfoCharacterCommand(), WorldSession::HandleBattlefieldListOpcode(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlefieldStatusOpcode(), WorldSession::HandleBattlegroundPlayerPositionsOpcode(), WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), spell_brewfest_toss_mug::HandleBeforeHit(), WorldSession::HandleBfEntryInviteResponse(), WorldSession::HandleBuybackItem(), Guild::HandleBuyBankTab(), WorldSession::HandleBuyItemInSlotOpcode(), WorldSession::HandleCalendarAddEvent(), WorldSession::HandleCalendarArenaTeam(), WorldSession::HandleCalendarCopyEvent(), WorldSession::HandleCalendarEventInvite(), WorldSession::HandleCalendarEventModeratorStatus(), WorldSession::HandleCalendarEventRemoveInvite(), WorldSession::HandleCalendarEventRsvp(), WorldSession::HandleCalendarEventSignup(), WorldSession::HandleCalendarEventStatus(), WorldSession::HandleCalendarGetCalendar(), WorldSession::HandleCalendarGetEvent(), WorldSession::HandleCalendarGetNumPending(), WorldSession::HandleCalendarGuildFilter(), WorldSession::HandleCalendarRemoveEvent(), WorldSession::HandleCalendarUpdateEvent(), WorldSession::HandleChangeSeatsOnControlledVehicle(), character_commandscript::HandleCharacterCheckBankCommand(), debug_commandscript::HandleDebugGetItemStateCommand(), debug_commandscript::HandleDebugGetLootRecipientCommand(), debug_commandscript::HandleDebugGetValueCommand(), debug_commandscript::HandleDebugHostileRefListCommand(), debug_commandscript::HandleDebugMod32ValueCommand(), debug_commandscript::HandleDebugSendOpcodeCommand(), debug_commandscript::HandleDebugSetValueCommand(), debug_commandscript::HandleDebugThreatInfoCommand(), debug_commandscript::HandleDebugThreatListCommand(), debug_commandscript::HandleDebugUpdateCommand(), debug_commandscript::HandleDebugVisualCommand(), deserter_commandscript::HandleDeserterAdd(), WorldSession::HandleDismissControlledVehicle(), WorldSession::HandleDismissCritter(), WorldSession::HandleDuelAcceptedOpcode(), spell_thaddius_polarity_shift::HandleDummy(), spell_capacitus_polarity_shift::HandleDummy(), spell_dk_death_strike::HandleDummy(), spell_dk_scourge_strike::HandleDummy(), spell_item_underbelly_elixir::HandleDummy(), AuraEffect::HandleEffect(), WorldSession::HandleEquipmentSetSave(), WorldSession::HandleFarSightOpcode(), AuraEffect::HandleFeignDeath(), WorldSession::HandleForceSpeedChangeAck(), gobject_commandscript::HandleGameObjectInfoCommand(), gobject_commandscript::HandleGameObjectSetStateCommand(), gear_commandscript::HandleGearStatsCommand(), ticket_commandscript::HandleGMTicketAssignToCommand(), ticket_commandscript::HandleGMTicketCloseByIdCommand(), ticket_commandscript::HandleGMTicketCommentCommand(), ticket_commandscript::HandleGMTicketCompleteCommand(), ticket_commandscript::HandleGMTicketResponseDeleteCommand(), WorldSession::HandleGossipHelloOpcode(), OPvPCapturePointZM_Graveyard::HandleGossipOption(), WorldSession::HandleGossipSelectOptionOpcode(), WorldSession::HandleGroupAcceptOpcode(), WorldSession::HandleGroupChangeSubGroupOpcode(), WorldSession::HandleGroupInviteOpcode(), misc_commandscript::HandleGroupSummonCommand(), spell_dru_nourish::HandleHeal(), spell_chapter2_persuasive_strike::HandleHit(), spell_sindragosa_frost_breath::HandleInfusion(), WorldSession::HandleInitiateTradeOpcode(), WorldSession::HandleInspectArenaTeamsOpcode(), WorldSession::HandleInspectHonorStatsOpcode(), instance_commandscript::HandleInstanceListBindsCommand(), WorldSession::HandleInstanceLockResponse(), instance_commandscript::HandleInstanceUnbindCommand(), Guild::HandleInviteMember(), misc_commandscript::HandleKickPlayerCommand(), BattlegroundIC::HandleKillUnit(), Spell::HandleLaunchPhase(), Guild::HandleLeaveMember(), WorldSession::HandleLfgGetStatus(), WorldSession::HandleLfgLeaveOpcode(), WorldSession::HandleLfgPartyLockInfoRequestOpcode(), WorldSession::HandleLfgPlayerLockInfoRequestOpcode(), WorldSession::HandleLfgProposalResultOpcode(), WorldSession::HandleLfgSetBootVoteOpcode(), WorldSession::HandleLfgSetCommentOpcode(), WorldSession::HandleLfgSetRolesOpcode(), WorldSession::HandleLootMasterGiveOpcode(), WorldSession::HandleLootMoneyOpcode(), misc_commandscript::HandleMailBoxCommand(), WorldSession::HandleMailDelete(), WorldSession::HandleMailReturnToSender(), WorldSession::HandleMailTakeItem(), Guild::HandleMemberDepositMoney(), Guild::HandleMemberLogout(), Guild::HandleMemberWithdrawMoney(), WorldSession::HandleMessagechatOpcode(), modify_commandscript::HandleModifyFactionCommand(), WorldSession::HandleMountSpecialAnimOpcode(), misc_commandscript::HandleMovegensCommand(), WorldSession::HandleMoveKnockBackAck(), WorldSession::HandleMovementOpcodes(), WorldSession::HandleMoveNotActiveMover(), WorldSession::HandleMoveRootAck(), WorldSession::HandleMoverRelocation(), WorldSession::HandleMoveSplineDoneOpcode(), WorldSession::HandleMoveTeleportAck(), WorldSession::HandleMoveTimeSkippedOpcode(), WorldSession::HandleMoveWorldportAck(), misc_commandscript::HandleMuteCommand(), npc_commandscript::HandleNpcDoActionCommand(), npc_commandscript::HandleNpcGuidCommand(), npc_commandscript::HandleNpcInfoCommandShowCreature(), npc_commandscript::HandleNpcSetDataCommand(), npc_commandscript::HandleNpcSetLinkCommand(), AuraEffect::HandleObsModPowerAuraTick(), WorldSession::HandleOfferPetitionOpcode(), spell_yogg_saron_brain_link_aura::HandleOnEffectApply(), spell_oculus_rider_aura::HandleOnEffectApply(), WorldSession::HandleOpenItemOpcode(), WorldSession::HandleOpenWrappedItemCallback(), WorldSession::HandlePartyAssignmentOpcode(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicEnergizeAuraTick(), AuraEffect::HandlePeriodicHealAurasTick(), AuraEffect::HandlePeriodicHealthLeechAuraTick(), AuraEffect::HandlePeriodicManaLeechAuraTick(), WorldSession::HandlePetAbandon(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetitionBuyOpcode(), WorldSession::HandlePetitionDeclineOpcode(), WorldSession::HandlePetitionShowSignOpcode(), WorldSession::HandlePetitionSignOpcode(), WorldSession::HandlePetRename(), WorldSession::HandlePetSetAction(), npc_echo_of_medivh::HandlePieceJustDied(), npc_echo_of_medivh::HandlePieceMove(), npc_echo_of_medivh::HandlePieceMoveByAI(), npc_echo_of_medivh::HandlePieceRotate(), BfCapturePoint::HandlePlayerEnter(), OPvPCapturePoint::HandlePlayerEnter(), WorldState::HandlePlayerEnterZone(), BattlefieldMgr::HandlePlayerEnterZone(), OutdoorPvPMgr::HandlePlayerEnterZone(), Battlefield::HandlePlayerEnterZone(), OutdoorPvP::HandlePlayerEnterZone(), BfCapturePoint::HandlePlayerLeave(), OPvPCapturePoint::HandlePlayerLeave(), WorldState::HandlePlayerLeaveZone(), BattlefieldMgr::HandlePlayerLeaveZone(), OutdoorPvPMgr::HandlePlayerLeaveZone(), Battlefield::HandlePlayerLeaveZone(), OutdoorPvP::HandlePlayerLeaveZone(), WorldSession::HandlePlayerLoginFromDB(), WorldSession::HandlePlayerLoginOpcode(), pooltools_commandscript::HandlePoolAdd(), pooltools_commandscript::HandlePoolClear(), pooltools_commandscript::HandlePoolDef(), pooltools_commandscript::HandlePoolEnd(), pooltools_commandscript::HandlePoolRemove(), pooltools_commandscript::HandlePoolStart(), spell_rog_cut_to_the_chase::HandleProc(), spell_dru_leader_of_the_pack::HandleProc(), spell_pal_sacred_shield_dummy::HandleProc(), spell_rog_honor_among_thieves::HandleProc(), spell_hodir_toasty_fire_aura::HandleProc(), spell_dk_dancing_rune_weapon::HandleProc(), spell_dru_glyph_of_shred::HandleProc(), spell_hun_thrill_of_the_hunt::HandleProc(), spell_item_persistent_shield::HandleProc(), spell_pal_light_s_beacon::HandleProc(), spell_sha_glyph_of_earth_shield::HandleProc(), spell_sha_imp_water_shield::HandleProc(), spell_sha_static_shock::HandleProc(), spell_sha_t10_elemental_4p_bonus::HandleProc(), WorldSession::HandlePushQuestToParty(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), WorldSession::HandleQuestgiverChooseRewardOpcode(), WorldSession::HandleQuestgiverCompleteQuest(), WorldSession::HandleQuestgiverQueryQuestOpcode(), WorldSession::HandleQuestLogRemoveQuest(), WorldSession::HandleQuestPushResult(), WorldSession::HandleRaidReadyCheckOpcode(), WorldSession::HandleRaidTargetUpdateOpcode(), WorldSession::HandleReadItem(), spell_warr_improved_spell_reflection_trigger_aura::HandleRemove(), Guild::HandleRemoveMember(), WorldSession::HandleRequestAccountData(), WorldSession::HandleRequestPartyMemberStatsOpcode(), ArenaSpectator::HandleResetCommand(), WorldSession::HandleResetInstancesOpcode(), reset_commandscript::HandleResetSpellsCommand(), PetAI::HandleReturnMovement(), spell_prince_taldaram_conjure_flame_sphere::HandleScript(), spell_q12805_lifeblood_dummy::HandleScript(), spell_ioc_gunship_portal::HandleScript2(), spell_brewfest_toss_mug::HandleScriptEffect(), spell_winter_veil_shoot_air_rifle::HandleScriptEffect(), spell_dk_pestilence::HandleScriptEffect(), spell_dk_glyph_of_scourge_strike_script::HandleScriptEffect(), spell_dru_glyph_of_starfire::HandleScriptEffect(), spell_hun_chimera_shot::HandleScriptEffect(), spell_pal_seal_of_vengeance_aura::HandleSeal(), WorldSession::HandleSellItemOpcode(), send_commandscript::HandleSendItemsCommand(), WorldSession::HandleSendMail(), send_commandscript::HandleSendMailCommand(), send_commandscript::HandleSendMoneyCommand(), WorldSession::HandleSetActionButtonOpcode(), WorldSession::HandleSetActiveMoverOpcode(), WorldSession::HandleSetDungeonDifficultyOpcode(), Guild::HandleSetLeader(), WorldSession::HandleSetRaidDifficultyOpcode(), WorldSession::HandleSetSavedInstanceExtend(), WorldSession::HandleSetTradeItemOpcode(), AuraEffect::HandleShapeshiftBoosts(), spell_illidari_council_circle_of_healing::HandleSharedRule(), misc_commandscript::HandleSkirmishCommand(), WorldSession::HandleSocketOpcode(), ArenaSpectator::HandleSpectatorSpectateCommand(), ArenaSpectator::HandleSpectatorWatchCommand(), Unit::HandleSpellClick(), WorldSession::HandleStablePet(), WorldSession::HandleStableSwapPet(), spell_putricide_mutated_transformation::HandleSummon(), spell_wintergrasp_create_vehicle::HandleSummon(), misc_commandscript::HandleSummonCommand(), spell_capacitus_polarity_charge::HandleTargets(), spell_thaddius_pos_neg_charge::HandleTargets(), Battleground::HandleTriggerBuff(), spell_winter_veil_racer_rocket_slam::HandleTriggerSpell(), WorldSession::HandleTurnInPetitionOpcode(), misc_commandscript::HandleUnmuteCommand(), WorldSession::HandleUnstablePet(), Guild::HandleUpdateMemberRank(), WorldSession::HandleUseItemOpcode(), WorldSession::HandleWhoOpcode(), wp_commandscript::HandleWpModifyCommand(), WorldSession::HandleWrapItemOpcode(), Unit::HasAuraState(), Loot::hasItemFor(), Battlefield::HasPlayer(), OutdoorPvP::HasPlayer(), Player::HaveAtClient(), BfWGGameObjectBuilding::Init(), boss_twilight_corrupter::InitializeAI(), npc_pos_deathwhisper_necrolyte::npc_pos_deathwhisper_necrolyteAI::InitializeAI(), npc_pet_gen_imp_in_a_bottle::InitializeAI(), lfg::LFGMgr::InitializeLockedDungeons(), Guardian::InitStatsForLevel(), Vehicle::InstallAccessory(), Channel::Invite(), BattlegroundQueue::InviteGroupToBG(), Battlefield::InvitePlayersInZoneToWar(), Battlefield::InvitePlayerToQueue(), Battlefield::InvitePlayerToWar(), Unit::IsAlwaysDetectableFor(), GameObject::IsAlwaysVisibleFor(), Unit::IsAlwaysVisibleFor(), Item::IsBindedNotWith(), Unit::IsClientControlled(), CombatManager::IsInCombatWith(), BfCapturePoint::IsInsideObjective(), OPvPCapturePoint::IsInsideObjective(), GameObject::IsLootAllowedFor(), IsPaladinAuraDominant(), Battlefield::IsPlayerInWarOrInvited(), Unit::isPossessing(), Aura::IsRemovedOnShapeLost(), TriggerAI::IsSummonedBy(), npc_burning_spirit::IsSummonedBy(), npc_drakonid_spawner::IsSummonedBy(), npc_demon_chain::IsSummonedBy(), boss_maexxna_webwrap::boss_maexxna_webwrapAI::IsSummonedBy(), npc_eoe_wyrmrest_skytalon::IsSummonedBy(), npc_spiritual_insight::npc_spiritual_insightAI::IsSummonedBy(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::IsSummonedBy(), npc_infernal_attacker::npc_infernal_attackerAI::IsSummonedBy(), npc_korkron_or_wildhammer::IsSummonedBy(), npc_kservant::npc_kservantAI::IsSummonedBy(), npc_pet_gen_fetch_ball::IsSummonedBy(), npc_spirit_shade::npc_spirit_shadeAI::IsSummonedBy(), Creature::isTappedBy(), ThreatManager::IsThreatenedBy(), ThreatManager::IsThreateningTo(), boss_sapphiron::boss_sapphironAI::IsValidExplosionTarget(), Channel::JoinChannel(), lfg::LFGMgr::JoinLfg(), Channel::JoinNotify(), lfg::LFGMgr::JoinRaidBrowser(), npc_zulaman_hostage::npc_zulaman_hostageAI::JustDied(), npc_frost_tomb::JustDied(), npc_sunblade_scout::JustEngagedWith(), boss_akilzon::JustEngagedWith(), npc_amanishi_scout::JustEngagedWith(), boss_anub_arak::JustEngagedWith(), DarkFallenAI::JustEngagedWith(), boss_freya::JustEngagedWith(), boss_kurinnaxx::JustEngagedWith(), boss_eye_of_cthun::JustEngagedWith(), boss_novos::JustEngagedWith(), npc_training_dummy::JustEnteredCombat(), SmartAI::JustSummoned(), npc_time_rift::JustSummoned(), boss_skeram::JustSummoned(), npc_archmage_landalock::npc_archmage_landalockAI::JustSummoned(), boss_ingvar_the_plunderer::JustSummoned(), boss_razorgore::JustSummoned(), boss_ragnaros::JustSummoned(), boss_paletress::boss_paletressAI::JustSummoned(), boss_prince_taldaram_icc::boss_prince_taldaramAI::JustSummoned(), boss_prince_valanar_icc::boss_prince_valanarAI::JustSummoned(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustSummoned(), boss_sindragosa::boss_sindragosaAI::JustSummoned(), boss_valithria_dreamwalker::boss_valithria_dreamwalkerAI::JustSummoned(), npc_blessed_banner::npc_blessed_bannerAI::JustSummoned(), npc_overlord_drakuru_betrayal::JustSummoned(), boss_grandmaster_vorpil::JustSummoned(), boss_illidan_stormrage::JustSummoned(), emerald_dragonAI::JustSummoned(), boss_vaelastrasz::JustSummoned(), boss_archimonde::JustSummoned(), boss_ichoron::JustSummoned(), boss_xevozz::JustSummoned(), boss_zuramat::JustSummoned(), npc_vh_teleportation_portal::JustSummoned(), boss_broggok::JustSummoned(), npc_commander_dawnforge::npc_commander_dawnforgeAI::JustSummoned(), boss_ayamiss::JustSummoned(), Channel::KickOrBan(), WorldSession::KickPlayer(), Unit::Kill(), PetAI::KilledUnit(), boss_mandokir::boss_mandokirAI::KilledUnit(), npc_ohgan::npc_ohganAI::KilledUnit(), boss_anubrekhan::KilledUnit(), boss_malygos::KilledUnit(), boss_cyanigosa::KilledUnit(), boss_erekem::KilledUnit(), boss_ichoron::KilledUnit(), boss_xevozz::KilledUnit(), boss_zuramat::KilledUnit(), boss_ick::boss_ickAI::KilledUnit(), boss_felblood_kaelthas::LapseAction(), Player::LearnPetTalent(), Channel::LeaveChannel(), Channel::LeaveNotify(), lfg::LFGMgr::LfrSearchAdd(), lfg::LFGMgr::LfrSearchRemove(), lfg::LFGMgr::LfrSetComment(), ObjectVisibilityContainer::LinkWorldObjectVisibility(), Channel::List(), Player::LoadFromDB(), FlightPathMovementGenerator::LoadPath(), Pet::LoadPetFromDB(), LogCommandUsage(), WorldSession::LogoutPlayer(), Loot::LootItemInSlot(), MailReceiver::MailReceiver(), MailSender::MailSender(), MailSender::MailSender(), lfg::LFGMgr::MakeNewGroup(), ArenaTeam::MassInviteToEvent(), Guild::MassInviteToEvent(), Group::MasterLoot(), Condition::Meets(), Unit::MeleeDamageBonusTaken(), ArenaTeam::MemberLost(), ArenaTeam::MemberWon(), Creature::ModifyThreatPercentTemp(), MotionMaster::MoveCharge(), MotionMaster::MoveChase(), MotionMaster::MoveCirclePath(), MotionMaster::MoveConfused(), MotionMaster::MoveFleeing(), MotionMaster::MoveFollow(), npc_grand_magister_rommath::npc_grand_magister_rommathAI::MoveInLineOfSight(), npc_dkc1_gothik::MoveInLineOfSight(), npc_andorhal_tower::npc_andorhal_towerAI::MoveInLineOfSight(), npc_custodian_of_time::npc_custodian_of_timeAI::MoveInLineOfSight(), npc_tooga::npc_toogaAI::MoveInLineOfSight(), npc_twiggy_flathead::npc_twiggy_flatheadAI::MoveInLineOfSight(), npc_ringo::npc_ringoAI::MoveInLineOfSight(), npc_overlord_drakuru_betrayal::MoveInLineOfSight(), npc_creditmarker_visit_with_ancestors::npc_creditmarker_visit_with_ancestorsAI::MoveInLineOfSight(), MotionMaster::MoveJump(), PetAI::MovementInform(), npc_acherus_necromancer::MovementInform(), npc_gothik_the_harvester::MovementInform(), boss_garfrost::boss_garfrostAI::MovementInform(), boss_felmyst::MovementInform(), boss_kaelthas::MovementInform(), MotionMaster::MovePath(), MotionMaster::MovePoint(), MotionMaster::MovePointBackwards(), MotionMaster::MoveRandom(), MotionMaster::MoveSeekAssistance(), MotionMaster::MoveSeekAssistanceDistract(), MotionMaster::MoveTargetedHome(), MotionMaster::MoveTaxiFlight(), MotionMaster::MoveWaypoint(), Group::NeedBeforeGreed(), Loot::NotifyQuestItemRemoved(), npc_ancestral_wolf::npc_ancestral_wolfAI::npc_ancestral_wolfAI(), npc_scion_of_eternity::npc_scion_of_eternity(), BattlefieldWG::OnBattleStart(), npc_chesspiece::OnCharmed(), achievement_intense_cold::OnCheck(), achievement_once_bitten_twice_shy::OnCheck(), instance_scholomance::instance_scholomance_InstanceMapScript::OnCreatureCreate(), BattlefieldWG::OnCreatureCreate(), OutdoorPvP::OnCreatureCreate(), instance_blackrock_depths::OnCreatureCreate(), instance_blackrock_spire::OnCreatureCreate(), instance_blackwing_lair::OnCreatureCreate(), instance_molten_core::OnCreatureCreate(), instance_karazhan::instance_karazhan_InstanceMapScript::OnCreatureCreate(), instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript::OnCreatureCreate(), instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript::OnCreatureCreate(), instance_stratholme::instance_stratholme_InstanceMapScript::OnCreatureCreate(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::OnCreatureCreate(), instance_zulaman::instance_zulaman_InstanceMapScript::OnCreatureCreate(), instance_zulgurub::instance_zulgurub_InstanceMapScript::OnCreatureCreate(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::OnCreatureCreate(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::OnCreatureCreate(), instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript::OnCreatureCreate(), instance_the_black_morass::instance_the_black_morass_InstanceMapScript::OnCreatureCreate(), instance_dire_maul::instance_dire_maul_InstanceMapScript::OnCreatureCreate(), instance_ruins_of_ahnqiraj::instance_ruins_of_ahnqiraj_InstanceMapScript::OnCreatureCreate(), instance_wailing_caverns::instance_wailing_caverns_InstanceMapScript::OnCreatureCreate(), instance_zulfarrak::instance_zulfarrak_InstanceMapScript::OnCreatureCreate(), instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::OnCreatureCreate(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::OnCreatureCreate(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::OnCreatureCreate(), instance_forge_of_souls::instance_forge_of_souls_InstanceScript::OnCreatureCreate(), instance_halls_of_reflection::OnCreatureCreate(), instance_pit_of_saron::instance_pit_of_saron_InstanceScript::OnCreatureCreate(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureCreate(), instance_naxxramas::OnCreatureCreate(), instance_eye_of_eternity::OnCreatureCreate(), instance_nexus::instance_nexus_InstanceMapScript::OnCreatureCreate(), instance_oculus::instance_oculus_InstanceMapScript::OnCreatureCreate(), instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::OnCreatureCreate(), instance_ulduar::instance_ulduar_InstanceMapScript::OnCreatureCreate(), instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript::OnCreatureCreate(), instance_vault_of_archavon::instance_vault_of_archavon_InstanceMapScript::OnCreatureCreate(), instance_violet_hold::instance_violet_hold_InstanceMapScript::OnCreatureCreate(), instance_black_temple::instance_black_temple_InstanceMapScript::OnCreatureCreate(), instance_the_slave_pens::instance_the_slave_pens_InstanceMapScript::OnCreatureCreate(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnCreatureCreate(), instance_shattered_halls::instance_shattered_halls_InstanceMapScript::OnCreatureCreate(), instance_mechanar::instance_mechanar_InstanceMapScript::OnCreatureCreate(), instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript::OnCreatureCreate(), instance_zulaman::instance_zulaman_InstanceMapScript::OnCreatureEvade(), OutdoorPvP::OnCreatureRemove(), instance_the_black_morass::instance_the_black_morass_InstanceMapScript::OnCreatureRemove(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnCreatureRemove(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::OnGameObjectCreate(), instance_uldaman::instance_uldaman_InstanceMapScript::OnGameObjectCreate(), instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript::OnGameObjectCreate(), instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript::OnGameObjectCreate(), instance_zulfarrak::instance_zulfarrak_InstanceMapScript::OnGameObjectCreate(), instance_gundrak::instance_gundrak_InstanceMapScript::OnGameObjectCreate(), instance_ulduar::instance_ulduar_InstanceMapScript::OnGameObjectCreate(), OutdoorPvP::OnGameObjectCreate(), instance_blackrock_depths::OnGameObjectCreate(), instance_blackrock_spire::OnGameObjectCreate(), instance_blackwing_lair::OnGameObjectCreate(), instance_molten_core::OnGameObjectCreate(), instance_karazhan::instance_karazhan_InstanceMapScript::OnGameObjectCreate(), instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript::OnGameObjectCreate(), instance_scholomance::instance_scholomance_InstanceMapScript::OnGameObjectCreate(), instance_stratholme::instance_stratholme_InstanceMapScript::OnGameObjectCreate(), instance_zulgurub::instance_zulgurub_InstanceMapScript::OnGameObjectCreate(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::OnGameObjectCreate(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::OnGameObjectCreate(), instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript::OnGameObjectCreate(), instance_ahnkahet::instance_ahnkahet_InstanceScript::OnGameObjectCreate(), instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::OnGameObjectCreate(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::OnGameObjectCreate(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::OnGameObjectCreate(), instance_pit_of_saron::instance_pit_of_saron_InstanceScript::OnGameObjectCreate(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnGameObjectCreate(), instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::OnGameObjectCreate(), instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript::OnGameObjectCreate(), instance_violet_hold::instance_violet_hold_InstanceMapScript::OnGameObjectCreate(), instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::OnGameObjectCreate(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::OnGameObjectCreate(), instance_hellfire_ramparts::instance_hellfire_ramparts_InstanceMapScript::OnGameObjectCreate(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnGameObjectCreate(), instance_arcatraz::instance_arcatraz_InstanceMapScript::OnGameObjectCreate(), instance_the_eye::instance_the_eye_InstanceMapScript::OnGameObjectCreate(), instance_oculus::instance_oculus_InstanceMapScript::OnGameObjectCreate(), instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript::OnGameObjectCreate(), OutdoorPvP::OnGameObjectRemove(), instance_blackwing_lair::OnGameObjectRemove(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnGameObjectRemove(), npc_pet_gen_argent_pony_bridle::OnGossipHello(), npc_grandmother::OnGossipHello(), npc_barnes::OnGossipHello(), npc_varian_wrynn::OnGossipHello(), npc_thrall_bfu::OnGossipHello(), npc_zulaman_hostage::OnGossipHello(), npc_arthas::OnGossipHello(), npc_cos_chromie_middle::OnGossipHello(), npcs_riverbreeze_and_silversky::OnGossipHello(), npc_bunthen_plainswind::OnGossipHello(), npc_silva_filnaveth::OnGossipHello(), npc_plucky::OnGossipHello(), npc_announcer_toc5::OnGossipHello(), npc_announcer_toc10::OnGossipHello(), npc_fos_leader::OnGossipHello(), npc_hor_leader::OnGossipHello(), npc_high_overlord_saurfang_icc::OnGossipHello(), npc_muradin_bronzebeard_icc::OnGossipHello(), npc_oculus_drakegiver::OnGossipHello(), npc_ulduar_keeper::OnGossipHello(), npc_shandy_dalaran::OnGossipHello(), npc_mcmanus::OnGossipHello(), npc_vekjik::OnGossipHello(), npc_wg_demolisher_engineer::OnGossipHello(), npc_wg_spirit_guide::OnGossipHello(), npc_wg_queue::OnGossipHello(), npc_wg_quest_giver::OnGossipHello(), npc_finklestein::OnGossipHello(), npc_captain_saeed::OnGossipHello(), npc_innkeeper::OnGossipHello(), npc_prof_alchemy::OnGossipHello(), npc_prof_blacksmith::OnGossipHello(), npc_prof_leather::OnGossipHello(), npc_prof_tailor::OnGossipHello(), npc_artorius::OnGossipHello(), npc_simone::OnGossipHello(), npc_nelson::OnGossipHello(), npc_franklin::OnGossipHello(), npc_taxi::OnGossipHello(), npc_elder_clearwater::OnGossipHello(), npc_riggle_bassbait::OnGossipHello(), npc_sayge::OnGossipHello(), npc_locksmith::OnGossipHello(), npc_venomhide_hatchling::OnGossipHello(), npc_harrowmeiser::OnGossipHello(), npc_bombardier_petrov::OnGossipHello(), go_evil_book_for_dummies::OnGossipHello(), icecrown_citadel_teleport::OnGossipHello(), go_the_pearl_of_the_depths::OnGossipHello(), go_pressure_valve::OnGossipHello(), go_brazier::OnGossipHello(), go_finklestein_cauldron::OnGossipHello(), go_scourge_enclosure::OnGossipHello(), go_skull_pile::OnGossipHello(), go_ancient_skull_pile::OnGossipHello(), go_fel_crystalforge::OnGossipHello(), go_bashir_crystalforge::OnGossipHello(), go_table_theka::OnGossipHello(), go_amberpine_outhouse::OnGossipHello(), go_hive_pod::OnGossipHello(), npc_pet_gen_argent_pony_bridle::OnGossipSelect(), npc_grandmother::OnGossipSelect(), npc_barnes::OnGossipSelect(), npc_varian_wrynn::OnGossipSelect(), npc_thrall_bfu::OnGossipSelect(), npc_arthas::OnGossipSelect(), npc_bunthen_plainswind::OnGossipSelect(), npc_silva_filnaveth::OnGossipSelect(), npc_vekjik::OnGossipSelect(), npc_wg_quest_giver::OnGossipSelect(), npc_innkeeper::OnGossipSelect(), npc_oculus_drakegiver::OnGossipSelect(), npc_mcmanus::OnGossipSelect(), npc_finklestein::OnGossipSelect(), npc_captain_saeed::OnGossipSelect(), npc_icc_buff_switcher::OnGossipSelect(), npc_simone::OnGossipSelect(), npc_franklin::OnGossipSelect(), go_fel_crystalforge::OnGossipSelect(), go_bashir_crystalforge::OnGossipSelect(), go_apexis_relic::OnGossipSelect(), Player::OnGossipSelect(), go_enchanted_scarlet_thread::OnLootStateChanged(), BattlefieldWG::OnPlayerEnterZone(), lfg::LFGPlayerScript::OnPlayerLogin(), ServerMailReward::OnPlayerLogin(), lfg::LFGPlayerScript::OnPlayerLogout(), lfg::LFGPlayerScript::OnPlayerMapChanged(), Guild::OnPlayerStatusChange(), npc_kernobee::OnQuestAccept(), npc_eris_hevenfire::OnQuestAccept(), npc_deathstalker_erland::OnQuestAccept(), npc_tyrion::OnQuestAccept(), npc_daphne_stilwell::OnQuestAccept(), npc_mikhail::OnQuestAccept(), npc_prospector_remtravel::OnQuestAccept(), npc_cork_gizelton::OnQuestAccept(), npc_shenthul::OnQuestAccept(), npc_kaya_flathoof::OnQuestAccept(), npc_gilthares::OnQuestAccept(), npc_wizzlecrank_shredder::OnQuestAccept(), npc_lakota_windsong::OnQuestAccept(), npc_paoka_swiftmountain::OnQuestAccept(), npc_ame::OnQuestAccept(), npc_ranshalla::OnQuestAccept(), npc_lurgglbr::OnQuestAccept(), npc_mootoo_the_younger::OnQuestAccept(), npc_emily::OnQuestAccept(), npc_battle_at_valhalas::OnQuestAccept(), npc_engineer_helice::OnQuestAccept(), npc_finklestein::OnQuestAccept(), npc_maghar_captive::OnQuestAccept(), npc_kurenai_captive::OnQuestAccept(), npc_bessy::OnQuestAccept(), npc_maxx_a_million_escort::OnQuestAccept(), npc_isla_starmane::OnQuestAccept(), go_crystal_prison::OnQuestAccept(), go_crystalline_tear::OnQuestAccept(), npc_lady_sylvanas_windrunner::OnQuestReward(), npc_tharnarian::OnQuestReward(), spell_q12937_relief_for_the_fallen::OnRemove(), near_scarshield_infiltrator::OnTrigger(), at_karazhan_atiesh_aran::OnTrigger(), at_q24545_frostmourne_cavern::OnTrigger(), instance_blackrock_depths::OnUnitDeath(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::OnUnitDeath(), instance_zulaman::instance_zulaman_InstanceMapScript::OnUnitDeath(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::OnUnitDeath(), instance_azjol_nerub::instance_azjol_nerub_InstanceScript::OnUnitDeath(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnUnitDeath(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::OnUnitDeath(), CreatureTextLocalizer< Builder >::operator()(), Acore::AnyAttackableUnitExceptForOriginalCasterInObjectRangeCheck::operator()(), Acore::MostHPMissingGroupInRange::operator()(), BloodboltHitCheck::operator()(), SpectralBlastCheck::operator()(), Acore::ObjectGUIDCheck::operator()(), Acore::EmoteChatBuilder::operator()(), npc_wild_wyrm::PassengerBoarded(), boss_kologarn::PassengerBoarded(), npc_frosthound::PassengerBoarded(), Channel::Password(), Unit::PatchValuesUpdate(), npc_doctor::npc_doctorAI::PatientSaved(), AuraEffect::PeriodicTick(), spell_doomfire::PeriodicTick(), spell_pal_beacon_of_light::PeriodicTick(), InstanceMap::PermBindAllPlayers(), Unit::PetSpellFail(), Player::PetSpellInitialize(), Battlefield::PlayerAcceptInviteToQueue(), Battlefield::PlayerAcceptInviteToWar(), MapMgr::PlayerCannotEnter(), InstanceSaveMgr::PlayerGetDestinationInstanceId(), Player::PossessSpellInitialize(), Spell::prepare(), npc_dark_iron_attack_generator::PrepareEvent(), Player::PrepareGossipMenu(), SmartScript::ProcessAction(), AchievementMgr::ProcessOfflineUpdatesQueue(), WaypointMovementGenerator< Creature >::ProcessWaypointArrival(), CombatManager::PutReference(), ThreatManager::PutThreatenedByMeRef(), ThreatManager::PutThreatListRef(), spell_pet_gen_valkyr_guardian_smite::RecalculateDamage(), spell_dk_rune_of_the_fallen_crusader::RecalculateDamage(), PetAI::ReceiveEmote(), Player::RefundItem(), BattlefieldWG::RelocateDeadPlayers(), Map::RemoveAllObjectsInRemoveList(), Vehicle::RemoveAllPassengers(), Unit::RemoveAurasDueToSpellBySteal(), BanMgr::RemoveBanCharacter(), Unit::RemoveCharmedBy(), Player::RemovedInsignia(), Item::RemoveFromUpdateQueueOf(), Unit::RemoveGameObject(), ToCloud9GrpcHandler::RemoveItemsWithGuidsFromPlayer(), Vehicle::RemovePassenger(), BattlegroundEY::RemovePlayer(), BattlegroundWS::RemovePlayer(), Battleground::RemovePlayerAtLeave(), Arena::RemovePlayerAtLeave(), Battleground::RemovePlayerFromResurrectQueue(), npc_pet_dk_ebon_gargoyle::RemoveTargetAura(), BattlefieldWG::RemoveUpdateTenacity(), instance_blackrock_depths::ReplaceMoiraIfSaved(), Player::ReportedAfkBy(), AchievementMgr::Reset(), npc_image_of_medivh::npc_image_of_medivhAI::Reset(), npc_icc_orb_controller::Reset(), boss_leotheras_the_blind::Reset(), Vehicle::Reset(), Player::ResetInstances(), Group::ResetInstances(), Player::ResetPetTalents(), Player::RewardHonor(), Player::RewardPlayerAndGroupAtEvent(), Player::RewardQuest(), npc_finklestein::npc_finklesteinAI::RightClickCauldron(), AchievementMgr::SaveToDB(), ReputationMgr::SaveToDB(), ThreatManager::ScaleThreat(), boss_kiljaeden::ScheduleBasicAbilities(), instance_ulduar::instance_ulduar_InstanceMapScript::ScheduleLeviathanVehicleRespawn(), Map::ScriptCommandStart(), Map::ScriptsProcess(), Map::ScriptsStart(), PetAI::SelectNextTarget(), spell_the_lich_king_valkyr_target_search::SelectTarget(), AchievementMgr::SendAchievementEarned(), npc_sayge::SendAction(), npc_prof_alchemy::SendActionMenu(), npc_prof_blacksmith::SendActionMenu(), npc_prof_tailor::SendActionMenu(), AuctionHouseMgr::SendAuctionOutbiddedMail(), AuctionHouseMgr::SendAuctionWonMail(), Guild::SendBankTabsInfo(), Player::SendBuyError(), Spell::SendChannelStart(), CreatureTextMgr::SendChat(), Player::SendClearCooldown(), npc_prof_alchemy::SendConfirmLearn(), npc_prof_blacksmith::SendConfirmLearn(), npc_prof_tailor::SendConfirmLearn(), go_evil_book_for_dummies::SendConfirmLearn(), npc_prof_alchemy::SendConfirmUnlearn(), npc_prof_blacksmith::SendConfirmUnlearn(), npc_prof_tailor::SendConfirmUnlearn(), go_evil_book_for_dummies::SendConfirmUnlearn(), Player::SendEquipError(), SendGossipMenuFor(), Map::SendInitSelf(), WorldSession::SendLearnNewTaxiNode(), WorldSession::SendLfgBootProposalUpdate(), WorldSession::SendLfgUpdateProposal(), Guild::SendLoginInfo(), Player::SendLogXPGain(), Player::SendLoot(), Spell::SendLoot(), Group::SendLooter(), WorldSession::SendMailList(), MailDraft::SendMailTo(), Unit::SendMeleeAttackStart(), Unit::SendMeleeAttackStop(), Guild::SendMoneyInfo(), Group::SendPendingRollsToPlayer(), Guild::SendPermissions(), Player::SendPreparedGossip(), Player::SendPushToPartyResponse(), lfg::LFGMgr::SendRaidBrowserJoinedPacket(), Player::SendRefundInfo(), Spell::SendResurrectRequest(), MailDraft::SendReturnToSender(), SendRollWonItemViaMail(), Player::SendSellError(), ServerMailMgr::SendServerMail(), Spell::SendSpellCooldown(), Unit::SendSpellDamageImmune(), Unit::SendSpellDamageResist(), WorldObject::SendSpellMiss(), Spell::SendSpellStart(), WorldSession::SendTaxiMenu(), Player::SendTaxiNodeStatusMultiple(), spell_malygos_surge_of_power_warning_selector_25::SendThreeTargets(), Acore::VisibleNotifier::SendToSelf(), BfCapturePoint::SetCapturePointData(), Unit::SetCharm(), Unit::SetCharmedBy(), SpellCastTargets::SetCorpseTarget(), AchievementMgr::SetCriteriaProgress(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::SetData(), Movement::MoveSplineInit::SetFacing(), SmartAI::SetFollow(), SpellCastTargets::SetGOTarget(), CombatManager::SetInCombatWith(), TradeData::SetItem(), SpellCastTargets::SetItemTarget(), GameObject::SetLinkedTrap(), Creature::SetLootRecipient(), GameObject::SetLootState(), Unit::SetMinion(), Channel::SetMode(), Player::SetMover(), Channel::SetOwner(), BoardCell::SetPiece(), WorldSession::SetPlayer(), SmartAI::SetScript9(), SmartGameObjectAI::SetScript9(), TradeData::SetSpell(), BfGraveyard::SetSpirit(), ThreatManager::SetTauntStateForTesting(), SpellCastTargets::SetUnitTarget(), Player::SetViewpoint(), npc_echo_of_medivh::sGossipHello(), npc_chesspiece::sGossipHello(), npc_highlord_darion_mograine::sGossipHello(), npc_costumed_orphan_matron::sGossipHello(), npc_aged_dying_ancient_kodo::sGossipHello(), npc_sergeant_bly::npc_sergeant_blyAI::sGossipHello(), npc_weegli_blastfuse::npc_weegli_blastfuseAI::sGossipHello(), npc_chesspiece::sGossipSelect(), npc_sergeant_bly::npc_sergeant_blyAI::sGossipSelect(), npc_hidden_cultist::npc_hidden_cultistAI::sGossipSelect(), Spell::Spell(), Unit::SpellDamageBonusTaken(), Unit::SpellHealingBonusTaken(), npc_ulduar_flames_spread::SpellHit(), npc_forest_frog::SpellHit(), npc_midsummer_ribbon_pole_target::SpellHit(), npc_draenei_survivor::npc_draenei_survivorAI::SpellHit(), npc_sinkhole_kill_credit::npc_sinkhole_kill_creditAI::SpellHit(), npc_venture_co_straggler::npc_venture_co_stragglerAI::SpellHit(), npc_deaths_door_fell_cannon_target_bunny::npc_deaths_door_fell_cannon_target_bunnyAI::SpellHit(), npc_enslaved_netherwing_drake::SpellHit(), npc_dragonmaw_peon::npc_dragonmaw_peonAI::SpellHit(), npc_garments_of_quests::npc_garments_of_questsAI::SpellHit(), npc_icc_orb_controller::SpellHit(), npc_wild_wyrm::SpellHit(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::SpellHit(), boss_malchezaar::SpellHitTarget(), boss_lord_marrowgar::SpellHitTarget(), boss_rotface::boss_rotfaceAI::SpellHitTarget(), npc_ulduar_hodir_shaman::SpellHitTarget(), npc_chesspiece::SpellHitTarget(), boss_darkmaster_gandling::boss_darkmaster_gandlingAI::SpellHitTarget(), boss_zuljin::SpellHitTarget(), boss_headless_horseman::SpellHitTarget(), boss_yoggsaron_voice::SpellHitTarget(), npc_pet_gen_fetch_ball::SpellHitTarget(), Unit::SpellTakenCritChance(), Player::SplitItem(), dragonmaw_race_npc::sQuestAccept(), npc_professor_phizzlethorpe::npc_professor_phizzlethorpeAI::sQuestAccept(), npc_ranger_lilatha::sQuestAccept(), npc_rinji::npc_rinjiAI::sQuestAccept(), npc_corporal_keeshan::npc_corporal_keeshanAI::sQuestAccept(), npc_deathstalker_fearleia::sQuestAccept(), npc_muglash::npc_muglashAI::sQuestAccept(), npc_magwin::npc_magwinAI::sQuestAccept(), npc_wounded_blood_elf::npc_wounded_blood_elfAI::sQuestAccept(), npc_clintar_spirit::npc_clintar_spiritAI::StartEvent(), FollowerAI::StartFollow(), npc_stillpine_capitive::npc_stillpine_capitiveAI::StartMoving(), NPCStaveQuestAI::StoreAttackerGuidValue(), Bag::StoreItem(), Player::StoreNewItem(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::StorePrisoner(), SummonList::Summon(), Map::SummonCreature(), boss_darkmaster_gandling::boss_darkmaster_gandlingAI::SummonedCreatureDespawn(), npc_cork_gizelton::npc_cork_gizeltonAI::SummonedCreatureDespawn(), boss_ichoron::SummonedCreatureDespawn(), boss_xevozz::SummonedCreatureDespawn(), boss_zuramat::SummonedCreatureDespawn(), npc_vh_void_sentry::SummonedCreatureDespawn(), SmartAI::SummonedCreatureDespawn(), npc_time_rift::SummonedCreatureDies(), npc_cork_gizelton::npc_cork_gizeltonAI::SummonedCreatureDies(), npc_drakonid_spawner::SummonedCreatureDies(), boss_majordomo::SummonedCreatureDies(), boss_anubrekhan::SummonedCreatureDies(), boss_vexallus::SummonedCreatureDies(), boss_jedoga_shadowseeker::SummonedCreatureDies(), npc_vh_teleportation_portal::SummonedMobDied(), npc_air_force_bots::npc_air_force_botsAI::SummonGuard(), boss_elder_nadox::SummonHelpers(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::SummonInfernal(), npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI::SummonNextWave(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::SummonNextWave(), go_wind_stone::go_wind_stoneAI::SummonNPC(), Player::SummonPet(), Player::SwapItem(), Spell::TakeCastItem(), CreatureAI::Talk(), Trainer::Trainer::TeachSpell(), ticket_commandscript::TicketResponseAppend(), Channel::ToggleModeration(), Battlefield::TryRejoinAfterLogout(), Channel::UnBan(), Vehicle::Uninstall(), NPCStaveQuestAI::UnitIsUnfair(), ObjectVisibilityContainer::UnlinkVisibilityFromPlayer(), ObjectVisibilityContainer::UnlinkVisibilityFromWorldObject(), ObjectVisibilityContainer::UnlinkWorldObjectVisibility(), ThreatReference::UnregisterAndFree(), spell_illidari_council_deadly_strike_aura::Update(), OPvPCapturePoint::Update(), SpellCastTargets::Update(), TotemAI::UpdateAI(), SimpleCharmedAI::UpdateAI(), boss_drakkisath::UpdateAI(), npc_flamewaker_priest::UpdateAI(), boss_mr_smite::boss_mr_smiteAI::UpdateAI(), npc_balance_of_light_and_shadow::npc_balance_of_light_and_shadowAI::UpdateAI(), npc_acherus_necromancer::UpdateAI(), npc_gothik_the_harvester::UpdateAI(), npc_valkyr_battle_maiden::UpdateAI(), npc_pilgrims_bounty_chair::UpdateAI(), npc_arthas::npc_arthasAI::UpdateAI(), boss_skeram::UpdateAI(), npc_draenei_survivor::npc_draenei_survivorAI::UpdateAI(), npc_clintar_spirit::npc_clintar_spiritAI::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), boss_anub_arak::UpdateAI(), boss_twin_valkyrAI::UpdateAI(), npc_dark_nucleus::npc_dark_nucleusAI::UpdateAI(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::UpdateAI(), boss_festergut::boss_festergutAI::UpdateAI(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::UpdateAI(), npc_vengeful_shade::npc_vengeful_shadeAI::UpdateAI(), npc_putricide_oozeAI::UpdateAI(), npc_icc_ice_sphere::npc_icc_ice_sphereAI::UpdateAI(), boss_sjonnir_malformed_ooze::boss_sjonnir_malformed_oozeAI::UpdateAI(), boss_stormcaller_brundir::UpdateAI(), boss_vezax::UpdateAI(), boss_ignis::UpdateAI(), npc_ulduar_storm_tempered_keeper::UpdateAI(), boss_svala::boss_svalaAI::UpdateAI(), npc_sinkhole_kill_credit::npc_sinkhole_kill_creditAI::UpdateAI(), npc_conversing_with_the_depths_trigger::npc_conversing_with_the_depths_triggerAI::UpdateAI(), guard_shattrath_scryer::guard_shattrath_scryerAI::UpdateAI(), guard_shattrath_aldor::guard_shattrath_aldorAI::UpdateAI(), npc_doctor::npc_doctorAI::UpdateAI(), PetAI::UpdateAI(), npc_dark_fiend::UpdateAI(), PetAI::UpdateAllies(), Spell::UpdateChanneledTargetList(), Player::UpdateCharmedAI(), Group::UpdateLooterGuid(), Guild::UpdateMemberData(), Battleground::UpdatePlayerScore(), Spell::UpdatePointers(), boss_netherspite::UpdatePortals(), ThreatReference::UpdateTauntState(), SpellCastTargets::UpdateTradeSlotItem(), GameObject::Use(), SpellInfo::ValidateAttribute6SpellDamageMods(), Player::VehicleSpellInitialize(), Player::VisualizeItem(), CombatManager::~CombatManager(), SpellEvent::~SpellEvent(), and ThreatManager::~ThreatManager().

◆ GetGuidValue()

◆ GetInt32Value()

◆ GetObjectScale()

◆ GetPackGUID()

PackedGuid const & Object::GetPackGUID ( ) const
inline
122{ return m_PackGUID; }

References m_PackGUID.

Referenced by AchievementMgr::BuildAllDataPacket(), BuildCreateUpdateBlockForPlayer(), Unit::BuildHeartBeatMsg(), Unit::BuildMovementPacket(), BuildMovementUpdate(), BuildMovementUpdateBlock(), WorldSession::BuildPartyMemberStatsChangedPacket(), Player::BuildPlayerRepop(), BuildValuesUpdateBlockForPlayer(), AuraApplication::ClientUpdate(), Spell::Delayed(), Unit::Dismount(), Spell::EffectDispel(), Spell::EffectStealBeneficialBuff(), Spell::ExecuteLogEffectDurabilityDamage(), Spell::ExecuteLogEffectExtraAttacks(), Spell::ExecuteLogEffectInterruptCast(), Spell::ExecuteLogEffectOpenLock(), Spell::ExecuteLogEffectResurrect(), Spell::ExecuteLogEffectSummonObject(), Spell::ExecuteLogEffectTakeTargetPower(), Spell::ExecuteLogEffectUnsummonObject(), Player::GetAurasForTarget(), AuraEffect::HandleAuraSetVehicle(), debug_commandscript::HandleDebugSendOpcodeCommand(), WorldSession::HandleGrantLevel(), WorldSession::HandleInspectOpcode(), WorldSession::HandlePlayerLoginOpcode(), WorldSession::HandleRequestPartyMemberStatsOpcode(), Unit::JumpTo(), npc_gunship::npc_gunshipAI::JustDied(), Unit::KnockbackFrom(), Movement::MoveSplineInit::Launch(), Pet::LoadPetFromDB(), GameObject::ModifyHealth(), Unit::Mount(), AchievementMgr::SendAchievementEarned(), Unit::SendAttackStateUpdate(), Player::SendAutoRepeatCancel(), Spell::SendChannelStart(), Spell::SendChannelUpdate(), ThreatManager::SendClearAllThreatToClients(), Unit::SendClearTarget(), spell_igb_overheat_aura::SendClientControl(), Unit::SendComboPoints(), AchievementMgr::SendCriteriaUpdate(), InstanceScript::SendEncounterUnit(), Unit::SendEnergizeSpellLog(), Unit::SendHealSpellLog(), Player::SendInitialPacketsAfterAddToMap(), Spell::SendInterrupted(), Spell::SendLogExecute(), Group::SendLooter(), Unit::SendMonsterMove(), Unit::SendMovementFeatherFall(), Unit::SendMovementHover(), Unit::SendMovementWaterWalking(), Unit::SendMoveRoot(), Unit::SendPeriodicAuraLog(), ThreatManager::SendRemoveToClients(), AchievementMgr::SendRespondInspectAchievements(), Unit::SendSpeedToController(), Spell::SendSpellGo(), Unit::SendSpellNonMeleeDamageLog(), WorldObject::SendSpellNonMeleeDamageLog(), Unit::SendSpellNonMeleeReflectLog(), Spell::SendSpellStart(), Player::SendTeleportAckPacket(), Unit::SendTeleportPacket(), ThreatManager::SendThreatListToClients(), Unit::SetCanFly(), Player::SetClientControl(), Unit::SetDisableGravity(), Unit::SetFeatherFall(), Unit::SetHover(), Unit::SetPower(), Unit::SetSpeed(), Creature::SetSwim(), Creature::SetWalk(), Unit::SetWaterWalking(), Movement::MoveSplineInit::Stop(), boss_svala::boss_svalaAI::UpdateAI(), and SpellCastTargets::Write().

◆ GetTypeId()

◆ GetUInt16Value()

uint16 Object::GetUInt16Value ( uint16  index,
uint8  offset 
) const
329{
330 ASSERT(index < m_valuesCount || PrintIndexError(index, false));
331 ASSERT(offset < 2);
332 return *(((uint16*) &m_uint32Values[index]) + offset);
333}

References ASSERT, m_uint32Values, m_valuesCount, and PrintIndexError().

Referenced by Player::_SaveCharacter().

◆ GetUInt32Value()

uint32 Object::GetUInt32Value ( uint16  index) const
304{
305 ASSERT(index < m_valuesCount || PrintIndexError(index, false));
306 return m_uint32Values[index];
307}

References ASSERT, m_uint32Values, m_valuesCount, and PrintIndexError().

Referenced by Player::_ApplyAmmoBonuses(), _ConcatFields(), Player::_SaveCharacter(), Player::_SaveDailyQuestStatus(), Player::_SaveSkills(), Player::_SaveStats(), GameObject::ActivateToQuest(), Player::AddItemDurations(), Player::AddItemToBuyBackSlot(), Pet::AddToWorld(), ApplyModUInt32Value(), Unit::BuildAuraStateUpdateForTarget(), Corpse::BuildValuesUpdate(), Player::CanNoReagentCast(), Player::CanUseBattlegroundObject(), Player::CheckAreaExploreAndOutdoor(), Spell::CheckItems(), Item::CheckSoulboundTradeExpire(), SpellInfo::CheckTarget(), Item::CloneItem(), Map::ConvertCorpseToBones(), Player::CreateCorpse(), boss_grand_champion::boss_grand_championAI::DamageTaken(), Player::DurabilityLoss(), Player::DurabilityPointsLoss(), Player::DurabilityRepair(), Spell::EffectDestroyAllTotems(), Spell::EffectDummy(), Spell::EffectGameObjectDamage(), Spell::EffectSummonChangeItem(), Pet::FillPetInfo(), Spell::finish(), Player::GetArenaPersonalRating(), Player::GetArenaPoints(), Player::GetArenaTeamId(), Bag::GetBagSize(), Player::GetBaseSkillValue(), Unit::GetCollisionHeight(), Unit::GetCollisionWidth(), Item::GetCount(), Unit::GetCreateHealth(), Unit::GetCreateMana(), GameObject::GetDisplayId(), Unit::GetDisplayId(), GameObject::GetDynamicFlags(), Unit::GetDynamicFlags(), Item::GetEnchantmentCharges(), Item::GetEnchantmentDuration(), Item::GetEnchantmentId(), GetEntry(), GameObject::GetFaction(), Unit::GetFaction(), Player::GetFreePrimaryProfessionPoints(), Player::GetFreeTalentPoints(), GameObject::GetGameObjectFlags(), Player::GetGlyphSlot(), Player::GetGuildId(), Unit::GetHealth(), Player::GetHonorPoints(), Item::GetItemSuffixFactor(), Unit::GetLevel(), Unit::GetMaxHealth(), Unit::GetMaxPower(), Player::GetMaxSkillValue(), Player::GetMoney(), Unit::GetMountID(), Unit::GetNativeDisplayId(), Unit::GetNpcFlags(), StaticTransport::GetPauseTime(), MotionTransport::GetPeriod(), Item::GetPlayedTime(), Player::GetPlayerFlags(), ToCloud9GrpcHandler::GetPlayerItemsByGuids(), Unit::GetPower(), Player::GetPureMaxSkillValue(), Player::GetPureSkillValue(), Player::GetQuestSlotQuestId(), Player::GetQuestSlotState(), Player::GetQuestSlotTime(), Player::GetRank(), Player::GetRatingBonusValue(), Unit::GetResistance(), Player::GetSkillPermBonusValue(), Player::GetSkillStep(), Player::GetSkillTempBonusValue(), Player::GetSkillValue(), DynamicObject::GetSpellId(), Unit::GetStat(), Unit::GetUnitFlags(), Unit::GetUnitFlags2(), Unit::GetVirtualItemId(), Pet::GivePetXP(), Player::GiveXP(), WorldSession::HandleAuctionSellItem(), WorldSession::HandleBuybackItem(), character_commandscript::HandleCharacterTitlesCommand(), spell_gen_consumption::HandleDamageCalc(), debug_commandscript::HandleDebugGetItemValueCommand(), debug_commandscript::HandleDebugGetValueCommand(), debug_commandscript::HandleDebugMod32ValueCommand(), debug_commandscript::HandleDebugUpdateCommand(), spell_herald_volzaj_insanity::HandleDummyEffect(), spell_gen_model_visible::HandleEffectApply(), WorldSession::HandleFarSightOpcode(), misc_commandscript::HandleHideAreaCommand(), WorldSession::HandleInspectHonorStatsOpcode(), lookup_commandscript::HandleLookupTitleCommand(), WorldSession::HandleSelfResOpcode(), WorldSession::HandleSellItemOpcode(), WorldSession::HandleSendMail(), misc_commandscript::HandleShowAreaCommand(), WorldSession::HandleWrapItemOpcode(), Creature::HasWeapon(), npc_pet_mage_mirror_image::InitializeAI(), Totem::InitStats(), Totem::InitSummon(), Item::IsBroken(), Spell::IsChannelActive(), Player::IsDailyQuestDone(), go_wg_vehicle_teleporter::go_wg_vehicle_teleporterAI::IsFriendly(), Player::IsMaxLevel(), boss_terestian_illhoof::JustSummoned(), Unit::Kill(), Player::LoadFromDB(), Item::LoadFromDB(), Player::ModifySkillBonus(), WorldSession::moveItems(), npc_hidden_cultist::npc_hidden_cultistAI::npc_hidden_cultistAI(), spell_gen_clone_weapon_aura::OnApply(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::OnCreatureCreate(), Player::RemovePet(), Player::RewardHonor(), Player::SatisfyQuestDay(), Pet::SavePetToDB(), Corpse::SaveToDB(), Item::SaveToDB(), WorldSession::SendMailList(), WorldSession::SendPetNameQuery(), Item::SendTimeUpdate(), Player::SetAmmo(), Player::SetDailyQuestStatus(), Unit::SetMinion(), Player::SetRestBonus(), Player::SetSkill(), Player::SetTitle(), npc_netherspite_infernal::SpellHit(), Player::SwapQuestSlot(), Spell::TakeAmmo(), Totem::UnSummon(), Player::UnsummonPetTemporaryIfAny(), Creature::Update(), Player::Update(), AchievementMgr::UpdateAchievementCriteria(), npc_expedition_engineer::UpdateAI(), boss_ingvar_the_plunderer::UpdateAI(), Item::UpdateDuration(), Player::UpdateHonorFields(), Item::UpdatePlayedTime(), lfg::LFGMgr::UpdateRaidBrowser(), Player::UpdateSkill(), Player::UpdateSkillPro(), Player::UpdateSkillsForLevel(), Player::UpdateSkillsToMaxSkillsForLevel(), and Spell::WriteAmmoToPacket().

◆ GetUInt64Value()

◆ GetUpdateFieldData()

uint32 Object::GetUpdateFieldData ( Player const *  target,
uint32 *&  flags 
) const
protected
558{
559 uint32 visibleFlag = UF_FLAG_PUBLIC;
560
561 if (target == this)
562 visibleFlag |= UF_FLAG_PRIVATE;
563
564 switch (GetTypeId())
565 {
566 case TYPEID_ITEM:
567 case TYPEID_CONTAINER:
568 flags = ItemUpdateFieldFlags;
569 if (((Item*)this)->GetOwnerGUID() == target->GetGUID())
570 visibleFlag |= UF_FLAG_OWNER | UF_FLAG_ITEM_OWNER;
571 break;
572 case TYPEID_UNIT:
573 case TYPEID_PLAYER:
574 {
576 flags = UnitUpdateFieldFlags;
577 if (ToUnit()->GetOwnerGUID() == target->GetGUID())
578 visibleFlag |= UF_FLAG_OWNER;
579
581 if (ToUnit()->HasAuraTypeWithCaster(SPELL_AURA_EMPATHY, target->GetGUID()))
582 visibleFlag |= UF_FLAG_SPECIAL_INFO;
583
584 if (plr && plr->IsInSameRaidWith(target))
585 visibleFlag |= UF_FLAG_PARTY_MEMBER;
586 break;
587 }
590 if (ToGameObject()->GetOwnerGUID() == target->GetGUID())
591 visibleFlag |= UF_FLAG_OWNER;
592 break;
595 if (((DynamicObject*)this)->GetCasterGUID() == target->GetGUID())
596 visibleFlag |= UF_FLAG_OWNER;
597 break;
598 case TYPEID_CORPSE:
600 if (ToCorpse()->GetOwnerGUID() == target->GetGUID())
601 visibleFlag |= UF_FLAG_OWNER;
602 break;
603 case TYPEID_OBJECT:
604 break;
605 }
606
607 return visibleFlag;
608}
@ UNIT_DYNFLAG_SPECIALINFO
Definition SharedDefines.h:3358
@ SPELL_AURA_EMPATHY
Definition SpellAuraDefines.h:184
uint32 UnitUpdateFieldFlags[PLAYER_END]
Definition UpdateFieldFlags.cpp:162
uint32 CorpseUpdateFieldFlags[CORPSE_END]
Definition UpdateFieldFlags.cpp:1530
uint32 ItemUpdateFieldFlags[CONTAINER_END]
Definition UpdateFieldFlags.cpp:20
uint32 GameObjectUpdateFieldFlags[GAMEOBJECT_END]
Definition UpdateFieldFlags.cpp:1492
uint32 DynamicObjectUpdateFieldFlags[DYNAMICOBJECT_END]
Definition UpdateFieldFlags.cpp:1514
@ UF_FLAG_SPECIAL_INFO
Definition UpdateFieldFlags.h:32
@ UF_FLAG_ITEM_OWNER
Definition UpdateFieldFlags.h:31
@ UF_FLAG_PUBLIC
Definition UpdateFieldFlags.h:27
@ UF_FLAG_OWNER
Definition UpdateFieldFlags.h:29
@ UF_FLAG_PRIVATE
Definition UpdateFieldFlags.h:28
@ UF_FLAG_PARTY_MEMBER
Definition UpdateFieldFlags.h:33
Definition DynamicObject.h:35
Corpse * ToCorpse()
Definition Object.h:224
bool HasDynamicFlag(uint32 flag) const
Definition Object.h:130
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:120
Definition Player.h:1086
bool IsInSameRaidWith(Player const *p) const
Definition Player.h:1914
Player * GetCharmerOrOwnerPlayerOrPlayerItself() const
Definition Unit.cpp:7503

References CorpseUpdateFieldFlags, DynamicObjectUpdateFieldFlags, GameObjectUpdateFieldFlags, Unit::GetCharmerOrOwnerPlayerOrPlayerItself(), GetGUID(), GetTypeId(), HasDynamicFlag(), Player::IsInSameRaidWith(), ItemUpdateFieldFlags, SPELL_AURA_EMPATHY, ToCorpse(), ToGameObject(), ToUnit(), TYPEID_CONTAINER, TYPEID_CORPSE, TYPEID_DYNAMICOBJECT, TYPEID_GAMEOBJECT, TYPEID_ITEM, TYPEID_OBJECT, TYPEID_PLAYER, TYPEID_UNIT, UF_FLAG_ITEM_OWNER, UF_FLAG_OWNER, UF_FLAG_PARTY_MEMBER, UF_FLAG_PRIVATE, UF_FLAG_PUBLIC, UF_FLAG_SPECIAL_INFO, UNIT_DYNFLAG_SPECIALINFO, and UnitUpdateFieldFlags.

Referenced by BuildValuesUpdate(), and Corpse::BuildValuesUpdate().

◆ GetValuesCount()

◆ HasByteFlag()

◆ HasDynamicFlag()

bool Object::HasDynamicFlag ( uint32  flag) const
inline
130{ return (GetDynamicFlags() & flag) != 0; }
virtual uint32 GetDynamicFlags() const
Definition Object.h:129

References GetDynamicFlags().

Referenced by Creature::AtDisengage(), Unit::BuildValuesUpdate(), Unit::ClearInCombat(), GetUpdateFieldData(), and Player::SendLoot().

◆ HasFlag()

◆ HasFlag64()

bool Object::HasFlag64 ( uint16  index,
uint64  flag 
) const
974{
975 ASSERT(index < m_valuesCount || PrintIndexError(index, false));
976 return (GetUInt64Value(index) & flag) != 0;
977}
uint64 GetUInt64Value(uint16 index) const
Definition Object.cpp:309

References ASSERT, GetUInt64Value(), m_valuesCount, and PrintIndexError().

Referenced by ToggleFlag64().

◆ hasInvolvedQuest()

◆ hasQuest()

virtual bool Object::hasQuest ( uint32  ) const
inlinevirtual

◆ Heartbeat()

virtual void Object::Heartbeat ( )
inlinevirtual
233{}

Referenced by WorldObject::Update().

◆ IsCorpse()

bool Object::IsCorpse ( ) const
inline
223{ return GetTypeId() == TYPEID_CORPSE; }

References GetTypeId(), and TYPEID_CORPSE.

Referenced by BuildMovementUpdate(), ToCorpse(), and ToCorpse().

◆ IsCreature()

bool Object::IsCreature ( ) const
inline
211{ return GetTypeId() == TYPEID_UNIT; }

References GetTypeId(), and TYPEID_UNIT.

Referenced by Spell::_cast(), Unit::_ExitVehicle(), KillRewarder::_InitXP(), Unit::_IsValidAttackTarget(), Vehicle::AddPassenger(), Unit::ApplyDiminishingToDuration(), Unit::ApplyResilience(), npc_escortAI::AssistPlayerInCombatAgainst(), Unit::Attack(), Unit::CalcAbsorbResist(), boss_hodir::CanAIAttack(), boss_razorgore::CanAIAttack(), Creature::CanAssistTo(), WorldObject::CanBeAddedToMapUpdateList(), Creature::CanCreatureAttack(), WorldObject::CanNeverSee(), Unit::CanSparringWith(), Creature::CanStartAttack(), CharmInfo::CharmInfo(), Spell::CheckCast(), spell_mage_deep_freeze_immunity_state::CheckEffectProc(), Spell::CheckEffectTarget(), spell_dru_glyph_of_rake::CheckProc(), spell_item_lil_phylactery::CheckProc(), spell_item_unsated_craving::CheckProc(), Spell::CheckRange(), PathGenerator::CreateFilter(), boss_razuvious::boss_razuviousAI::DamageTaken(), Unit::DealDamage(), Unit::DealDamageMods(), Unit::DealHeal(), Unit::DealMeleeDamage(), Unit::DealSpellDamage(), spell_rotface_unstable_ooze_explosion_suicide_aura::DespawnSelf(), Unit::DisableRotate(), Spell::DoAllEffectOnTarget(), Spell::DoSpellHitOnUnit(), FormationMovementGenerator::DoUpdate(), CreatureAI::DoZoneInCombat(), Spell::EffectDummy(), Spell::EffectRenamePet(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectSkinning(), Spell::EffectSummonPet(), Spell::EffectTameCreature(), spell_kiljaeden_sinister_reflection_clone::FilterTargets(), RotateMovementGenerator::Finalize(), DistractMovementGenerator::Finalize(), EffectMovementGenerator::Finalize(), Spell::finish(), ThreatReference::FlagsAllowFighting(), Unit::GetAllMinionsByEntry(), Unit::GetCastingTimeForBonus(), ConditionMgr::GetConditionsForObjectVisibility(), Unit::GetNextRandomRaidMemberOrPet(), WorldObject::GetSightRange(), Unit::GetUnitParryChance(), GetVelocity(), WorldObject::GetVisibilityRange(), Player::GiveXP(), AuraEffect::HandleAuraAllowFlight(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraModDisarm(), AuraEffect::HandleAuraModIncreaseFlightSpeed(), WorldSession::HandleCastSpellOpcode(), spell_gen_consumption::HandleDamageCalc(), misc_commandscript::HandleDamageCommand(), debug_commandscript::HandleDebugCombatListCommand(), debug_commandscript::HandleDebugHostileRefListCommand(), debug_commandscript::HandleDebugThreatListCommand(), misc_commandscript::HandleDieCommand(), WorldSession::HandleDismissCritter(), spell_valanar_kinetic_bomb_aura::HandleDummyTick(), spell_gen_feign_death_all_flags::HandleEffectApply(), spell_gen_feign_death_no_dyn_flag::HandleEffectApply(), spell_gen_feign_death_no_prevent_emotes::HandleEffectApply(), spell_hodir_flash_freeze_aura::HandleEffectPeriodic(), spell_gen_feign_death_all_flags::HandleEffectRemove(), spell_gen_feign_death_no_dyn_flag::HandleEffectRemove(), spell_gen_feign_death_no_prevent_emotes::HandleEffectRemove(), OutdoorPvP::HandleKill(), OutdoorPvPNA::HandleKill(), AuraEffect::HandleModPossess(), AuraEffect::HandleModPossessPet(), misc_commandscript::HandleMovegensCommand(), WorldSession::HandleMoveRootAck(), npc_commandscript::HandleNpcSetEntryCommand(), spell_shadow_sickle_periodic_damage::HandlePeriodic(), spell_voa_overcharge_aura::HandlePeriodicDummy(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetSetAction(), misc_commandscript::HandleRespawnCommand(), spell_festergut_pungent_blight::HandleScript(), spell_vehicle_grab_pyrite::HandleScript(), WorldSession::HandleTextEmoteOpcode(), CharmInfo::InitPossessCreateSpells(), TempSummon::InitSummon(), Vehicle::Install(), Vehicle::InstallAccessory(), Unit::InterruptSpell(), SmartScript::IsCreature(), DisableMgr::IsDisabledFor(), Player::isHonorOrXPTarget(), Unit::IsInPartyWith(), Unit::IsInRaidWith(), Unit::isSpellBlocked(), npc_burning_spirit::IsSummonedBy(), npc_risen_guardian::npc_risen_guardianAI::IsSummonedBy(), npc_little_ooze::npc_little_oozeAI::IsSummonedBy(), npc_spirit_shade::npc_spirit_shadeAI::IsSummonedBy(), npc_arcanite_dragonling::IsSummonedBy(), SmartScript::IsUnit(), Unit::JumpTo(), Unit::Kill(), npc_tiger_matriarch::npc_tiger_matriarchAI::KilledUnit(), spell_hate_to_zero::Load(), spell_mc_play_dead_aura::Load(), spell_uldaman_stoned_aura::Load(), spell_electrial_storm::Load(), spell_herald_volzaj_insanity::Load(), spell_volazj_whisper::Load(), spell_halion_twilight_phasing::Load(), spell_dtk_raise_dead_aura::Load(), spell_deathbringer_boiling_blood::Load(), spell_festergut_pungent_blight::Load(), spell_igb_check_for_players::Load(), spell_igb_cannon_blast::Load(), spell_putricide_ooze_channel::Load(), spell_the_lich_king_vile_spirit_move_target_search::Load(), spell_malygos_vortex_dummy::Load(), spell_malygos_vortex_visual::Load(), spell_eoe_ph3_surge_of_power::Load(), spell_malygos_surge_of_power_warning_selector_25::Load(), spell_malygos_surge_of_power_25::Load(), spell_boss_magus_telestra_summon_telestra_clones_aura::Load(), spell_kologarn_focused_eyebeam::Load(), spell_ulduar_stone_grip_cast_target::Load(), spell_q11919_q11940_drake_hunt_aura::Load(), spell_shredder_delivery::Load(), spell_illidan_demon_transform1_aura::Load(), spell_illidan_demon_transform2_aura::Load(), spell_illidan_cage_trap::Load(), spell_illidari_council_empyreal_balance::Load(), spell_illidari_council_empyreal_equivalency::Load(), spell_teron_gorefiend_shadowy_construct::Load(), spell_kaelthas_flame_strike::Load(), spell_gen_vehicle_scaling_aura::Load(), spell_gen_despawn_self::Load(), spell_gen_submerge_visual::Load(), spell_pri_lightwell::Load(), spell_q13011_bear_flank_master::Load(), spell_q12690_burst_at_the_seams::Load(), WorldObject::MagicSpellHitResult(), AchievementCriteriaData::Meets(), Unit::MeleeDamageBonusDone(), Unit::MeleeSpellHitResult(), MotionMaster::MoveFall(), MotionMaster::MoveFormation(), boss_aeonus::MoveInLineOfSight(), boss_chrono_lord_deja::MoveInLineOfSight(), boss_temporus::MoveInLineOfSight(), npc_khunok_the_behemoth::npc_khunok_the_behemothAI::MoveInLineOfSight(), npc_mageguard_dalaran::npc_mageguard_dalaranAI::MoveInLineOfSight(), npc_marzon_silent_blade::npc_marzon_silent_bladeAI::MovementInform(), MotionMaster::MoveRandom(), MotionMaster::MoveTargetedHome(), ScriptMgr::OnAddPassenger(), spell_pilgrims_bounty_serve_generic::OnAuraRemove(), achievement_flu_shot_shortage::OnCheck(), achievement_smell_saronite::OnCheck(), achievement_shadowdodger::OnCheck(), achievement_cheese_the_freeze::OnCheck(), achievement_getting_cold_in_here::OnCheck(), achievement_i_could_say_that_this_cache_was_rare::OnCheck(), achievement_i_have_the_coolest_friends::OnCheck(), achievement_ignis_shattered::OnCheck(), achievement_mimiron_firefighter::OnCheck(), achievement_mimiron_set_up_us_the_bomb_11::OnCheck(), achievement_mimiron_set_up_us_the_bomb_12::OnCheck(), achievement_mimiron_set_up_us_the_bomb_13::OnCheck(), achievement_quick_shave::OnCheck(), Player::OnGossipSelect(), ScriptMgr::OnInstall(), ScriptMgr::OnInstallAccessory(), ScriptMgr::OnRemovePassenger(), ScriptMgr::OnReset(), ScriptMgr::OnUninstall(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::OnUnitDeath(), instance_ulduar::instance_ulduar_InstanceMapScript::OnUnitDeath(), instance_blood_furnace::instance_blood_furnace_InstanceMapScript::OnUnitDeath(), SplineHandler::operator()(), Acore::AnyUnfriendlyUnitInObjectRangeCheck::operator()(), Acore::AnyUnfriendlyNoTotemUnitInObjectRangeCheck::operator()(), Acore::NearestAttackableNoTotemUnitInObjectRangeCheck::operator()(), DoorsGuidCheck::operator()(), VehicleCheck::operator()(), Unit::PetSpellFail(), FollowMovementGenerator< T >::PositionOkay(), Spell::prepare(), Spell::prepareDataForTriggerSystem(), Player::PrepareGossipMenu(), spell_q11653_youre_not_so_big_now::PrepareSpellScript(), WorldSession::ProcessMovementInfo(), Unit::ProcessTerrainStatusUpdate(), Unit::RemoveAllMinionsByEntry(), Unit::RemoveCharmedBy(), Vehicle::RemovePassenger(), Player::RewardPlayerAndGroupAtEvent(), Unit::RollMeleeOutcomeAgainst(), Map::ScriptsProcess(), Player::SendPreparedGossip(), Player::SendQuestGiverStatusMultiple(), Unit::SendTeleportPacket(), Unit::SetCharmedBy(), Player::SetClientControl(), Unit::SetControlled(), Unit::SetFaction(), Unit::SetHealth(), Player::SetMover(), Unit::SetPhaseMask(), WorldObject::SetPositionDataUpdate(), Unit::SetSpeed(), Unit::SetStunned(), WorldObject::SetVisibilityDistanceOverride(), Unit::SpellDamageBonusDone(), Unit::SpellDoneCritChance(), Unit::SpellHealingBonusDone(), npc_living_constellation::SpellHit(), WorldObject::SpellHitResult(), WorldObject::SpellHitResult(), npc_frostwing_vrykul::npc_frostwing_vrykulAI::SpellHitTarget(), npc_q24545_lich_king::npc_q24545_lich_kingAI::SpellHitTarget(), Unit::SpellPctDamageModsDone(), Unit::SpellPctHealingModsDone(), Player::StopCastingCharm(), WorldObject::SummonCreatureGroup(), WorldObject::SummonGameObject(), WorldObject::SummonGameObjectGroup(), WorldObject::SummonTrigger(), ToCreature(), ToCreature(), ToUnit(), ToUnit(), CreatureAI::TriggerAlert(), Vehicle::Uninstall(), Unit::UpdateAuraForGroup(), Player::UpdateCharmedAI(), Player::UpdateForQuestWorldObjects(), CombatManager::UpdateOwnerCombatState(), Unit::UpdateSpeed(), Unit::UpdateSplineMovement(), Player::UpdateTriggerVisibility(), Player::UpdateVisibilityOf(), and Player::UpdateWeaponSkill().

◆ IsDynamicObject()

◆ IsGameObject()

◆ IsInWorld()

bool Object::IsInWorld ( ) const
inline
115{ return m_inWorld; }

References m_inWorld.

Referenced by Unit::_AddAura(), Player::_addSpell(), Battleground::_ProcessResurrect(), Player::_SaveCharacter(), Player::_StoreItem(), Battlefield::AddOrSetPlayerToCorrectBfGroup(), Vehicle::AddPassenger(), Player::addSpell(), Map::AddToMap(), WorldObject::AddToMapVisibilityOverrideContainers(), Corpse::AddToWorld(), Creature::AddToWorld(), DynamicObject::AddToWorld(), GameObject::AddToWorld(), Pet::AddToWorld(), Unit::AddToWorld(), Unit::CalcAbsorbResist(), Aura::CanBeAppliedOn(), CombatManager::CanBeginCombat(), WorldObject::CanNeverSee(), Unit::CleanupBeforeRemoveFromMap(), WorldObject::CleanupsBeforeDelete(), GameObject::CleanupsBeforeDelete(), Aura::Create(), Map::DelayedUpdate(), WorldObject::DestroyForVisiblePlayers(), Player::DestroyItem(), Player::DestroyItemCount(), Player::DestroyItemCount(), WorldSession::DoLootRelease(), UnitAI::DoMeleeAttackIfReady(), boss_mandokir::boss_mandokirAI::DoMeleeAttackIfReady(), boss_ambassador_hellmaw::DoMeleeAttackIfReady(), Spell::EffectAddFarsight(), Spell::EffectPersistentAA(), Spell::EffectResurrect(), Spell::EffectResurrectNew(), Spell::EffectSelfResurrect(), Player::EquipItem(), AuraMunchingQueue::Execute(), Unit::ExecuteDelayedUnitAINotifyEvent(), Unit::ExecuteDelayedUnitRelocationEvent(), ObjectAccessor::FindPlayer(), WorldObject::GetFloorZ(), Player::GetNextQuest(), Player::GetNPCIfCanInteractWith(), Player::GetPet(), AuraEffect::HandleAuraOpenStable(), AuraEffect::HandleAuraOverrideSpells(), AuraEffect::HandleAuraSetVehicle(), WorldSession::HandleDismissControlledVehicle(), WorldSession::HandleMoveKnockBackAck(), WorldSession::HandleMovementOpcodes(), WorldSession::HandleMoveNotActiveMover(), WorldSession::HandlePetAbandon(), WorldSession::HandlePetAction(), WorldSession::HandlePlayerLoginFromDB(), WorldSession::HandlePlayerLoginOpcode(), ArenaSpectator::HandleResetCommand(), WorldSession::HandleSellItemOpcode(), WorldSession::HandleSetActiveMoverOpcode(), WorldSession::HandleSetDungeonDifficultyOpcode(), WorldSession::HandleSetRaidDifficultyOpcode(), misc_commandscript::HandleSkirmishCommand(), ArenaSpectator::HandleSpectatorSpectateCommand(), ArenaSpectator::HandleSpectatorWatchCommand(), WorldSession::HandleSpellClick(), WorldObject::IsInMap(), WorldObject::IsNeverVisible(), Player::IsPetNeedBeTemporaryUnsummoned(), IsValidCombatTarget(), WorldObject::IsWithinLOS(), npc_escortAI::JustExitedCombat(), Player::LearnCustomSpells(), Player::learnSkillRewardedSpells(), Player::learnSpell(), Player::LoadFromDB(), Player::LoadPet(), Pet::LoadPetFromDB(), Group::MasterLoot(), AchievementCriteriaData::Meets(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllDynamicObjectsInMoveList(), Map::MoveAllGameObjectsInMoveList(), npc_mageguard_dalaran::npc_mageguard_dalaranAI::MoveInLineOfSight(), boss_twin_valkyrAI::myDoMeleeAttackIfReady(), Spell::OnSpellLaunch(), Unit::OutDebugInfo(), Player::PrepareQuestMenu(), MapSessionFilter::Process(), WorldSessionFilter::Process(), Player::QuickEquipItem(), DynamicObject::Remove(), WorldObject::RemoveFromMapVisibilityOverrideContainers(), Corpse::RemoveFromWorld(), Creature::RemoveFromWorld(), TempSummon::RemoveFromWorld(), Minion::RemoveFromWorld(), Puppet::RemoveFromWorld(), DynamicObject::RemoveFromWorld(), GameObject::RemoveFromWorld(), WorldObject::RemoveFromWorld(), Pet::RemoveFromWorld(), Player::RemoveFromWorld(), Unit::RemoveFromWorld(), Player::RemoveItem(), Vehicle::RemovePassenger(), Player::RemovePet(), WorldObject::ResetMap(), Player::SelectCharmedAIGroupTarget(), AchievementMgr::SendAchievementEarned(), WorldObject::SendMessageToSet(), Unit::SendMoveRoot(), Player::SendNewMail(), Map::SendObjectUpdates(), Map::SendZoneMessage(), WorldObject::setActive(), Unit::SetCanFly(), Unit::SetCharm(), Unit::SetCharmedBy(), Unit::SetDisableGravity(), Unit::SetFeatherFall(), GameObject::SetGoState(), Unit::SetHover(), TestCreature::SetInWorld(), WorldObject::SetMap(), Player::SetMover(), WorldObject::SetPhaseMask(), Unit::SetPhaseMask(), Unit::SetWaterWalking(), Spell::Spell(), Player::SplitItem(), Unit::StopMoving(), Unit::StopMovingOnCurrentPos(), WorldObject::SummonGameObject(), Player::SwapItem(), Player::TeleportTo(), TempSummon::UnSummon(), Map::Update(), StaticTransport::Update(), WorldSession::Update(), Creature::Update(), Puppet::Update(), Player::Update(), Unit::Update(), AchievementMgr::UpdateAchievementCriteria(), GameObject::UpdateModel(), Map::UpdateNonPlayerObjects(), Player::UpdateObjectVisibility(), StaticTransport::UpdatePassengerPositions(), MotionTransport::UpdatePassengerPositions(), Group::UpdatePlayerOutOfRange(), Spell::UpdatePointers(), Player::UpdateTriggerVisibility(), and ~Object().

◆ IsItem()

bool Object::IsItem ( ) const
inline

◆ IsPlayer()

bool Object::IsPlayer ( ) const
inline
207{ return GetTypeId() == TYPEID_PLAYER; }

References GetTypeId(), and TYPEID_PLAYER.

Referenced by Aura::_ApplyForTarget(), Spell::_cast(), boss_marli::_chargePlayer(), Unit::_CreateAuraApplication(), Unit::_EnterVehicle(), Unit::_ExitVehicle(), Spell::_handle_finish_phase(), Unit::_IsValidAssistTarget(), Unit::_IsValidAttackTarget(), KillRewarder::_RewardPlayer(), Aura::_UnapplyForTarget(), Unit::_UpdateAutoRepeatSpell(), Unit::AddGameObject(), Vehicle::AddPassenger(), Unit::AddPetAura(), Player::AddQuest(), CharmInfo::AddSpellToActionBar(), Pet::AddToWorld(), Acore::AnyAoETargetUnitInObjectRangeCheck::AnyAoETargetUnitInObjectRangeCheck(), Unit::ApplyDiminishingToDuration(), Unit::ApplyResilience(), AuraEffect::ApplySpellMod(), Unit::Attack(), Unit::AttackerStateUpdate(), TotemAI::AttackStart(), Unit::AtTargetAttacked(), npc_toc5_player_vehicle::npc_toc5_player_vehicleAI::BeforeSpellClick(), WorldObject::BuildUpdate(), Unit::CalcArmorReducedDamage(), Unit::CalculateLevelPenalty(), Unit::CalculateMeleeDamage(), boss_hodir::CanAIAttack(), npc_lk_wicked_spirit::npc_lk_wicked_spiritAI::CanAIAttack(), npc_argent_captainAI::CanAIAttack(), npc_arcanite_dragonling::CanAIAttack(), boss_flame_leviathan_defense_turret::CanAIAttack(), npc_parasitic_shadowfiend::CanAIAttack(), Spell::cancel(), Spell::CancelGlobalCooldown(), Creature::CanCreatureAttack(), WorldObject::CanDetect(), WorldObject::CanDetectStealthOf(), Spell::CanOpenLock(), WorldObject::CanSeeOrDetect(), Creature::CanStartAttack(), Pet::CastPetAuras(), Player::CharmSpellInitialize(), spell_igb_rocket_pack_useable_aura::CheckAreaTarget(), spell_gen_area_aura_select_players::CheckAreaTarget(), spell_gen_area_aura_select_players_and_caster::CheckAreaTarget(), spell_igb_on_gunship_deck_aura::CheckAreaTarget(), spell_portal_effect_acherus::CheckCast(), spell_dk_death_grip::CheckCast(), spell_hun_disengage::CheckCast(), spell_hun_tame_beast::CheckCast(), spell_hun_bestial_wrath::CheckCast(), spell_hun_kill_command::CheckCast(), spell_pal_righteous_defense::CheckCast(), spell_scourge_invasion_scourge_strike::CheckCast(), Spell::CheckCast(), Spell::CheckEffectTarget(), Spell::CheckItems(), Spell::CheckPower(), spell_dk_rime::CheckProc(), spell_dk_improved_blood_presence_triggered::CheckProc(), spell_dk_dancing_rune_weapon::CheckProc(), spell_dk_death_rune::CheckProc(), spell_dru_eclipse::CheckProc(), spell_hun_t9_4p_bonus::CheckProc(), spell_item_unsated_craving::CheckProc(), Spell::CheckRange(), spell_ulduar_teleporter::CheckRequirement(), Spell::CheckRuneCost(), SpellInfo::CheckTarget(), SpellInfo::CheckTargetCreatureType(), Unit::ClearAllReactives(), Unit::CombatStop(), Player::CreatePet(), Unit::CreateTamedPetFrom(), Unit::CreateTamedPetFrom(), CreatureUnitRelocationWorker(), boss_prince_keleseth_icc::boss_prince_kelesethAI::DamageDealt(), boss_prince_taldaram_icc::boss_prince_taldaramAI::DamageDealt(), boss_prince_valanar_icc::boss_prince_valanarAI::DamageDealt(), npc_ball_of_flame::npc_ball_of_flameAI::DamageDealt(), boss_thorim_start_npcs::DamageTaken(), npc_heated_battle::npc_heated_battleAI::DamageTaken(), boss_thorim::DamageTaken(), Unit::DealDamage(), Unit::DealMeleeDamage(), Spell::DelayedChannel(), Unit::Dismount(), MotionMaster::DistanceYourself(), Spell::DoAllEffectOnLaunchTarget(), Spell::DoAllEffectOnTarget(), UnitAI::DoCast(), Spell::DoCreateItem(), Spell::DoSpellHitOnUnit(), FollowMovementGenerator< T >::DoUpdate(), Spell::EffectActivateRune(), Spell::EffectAddFarsight(), Spell::EffectAddHonor(), Spell::EffectApplyGlyph(), Spell::EffectBlock(), Spell::EffectCastButtons(), Spell::EffectChargeDest(), Spell::EffectCreateTamedPet(), Spell::EffectDuel(), Spell::EffectDummy(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectEnergize(), Spell::EffectEnergizePct(), Spell::EffectEnvironmentalDMG(), Spell::EffectInstaKill(), Spell::EffectJump(), Spell::EffectJumpDest(), Spell::EffectKnockBack(), Spell::EffectLeapBack(), Spell::EffectLearnSkill(), Spell::EffectLearnSpell(), Spell::EffectMilling(), Spell::EffectOpenLock(), Spell::EffectParry(), Spell::EffectPickPocket(), Spell::EffectProficiency(), Spell::EffectProspecting(), Spell::EffectPullTowards(), Spell::EffectRechargeManaGem(), Spell::EffectResurrectNew(), Spell::EffectSanctuary(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectSelfResurrect(), Spell::EffectSkinning(), Spell::EffectSkinPlayerCorpse(), Spell::EffectStuck(), Spell::EffectSummonChangeItem(), Spell::EffectSummonPet(), Spell::EffectSummonRaFFriend(), Spell::EffectTameCreature(), Spell::EffectTeleportUnits(), Spell::EffectTitanGrip(), Spell::EffectTradeSkill(), Spell::EffectTransmitted(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), Spell::EffectUntrainTalents(), Spell::EffectWeaponDmg(), boss_magmadar::ExecuteEvent(), spell_class_call_polymorph::FilterTargets(), spell_nightbane_fireball_barrage::FilterTargets(), spell_moam_mana_drain_filter::FilterTargets(), spell_darkfallen_blood_mirror::FilterTargets(), spell_mimiron_rocket_strike_target_select::FilterTargets(), spell_xt002_tympanic_tantrum::FilterTargets(), spell_lurker_below_spout_cone::FilterTargets(), Spell::finish(), Unit::GetAPMultiplier(), Unit::GetClientControlling(), Unit::GetCollisionWidth(), Unit::GetCreatePowers(), Unit::GetCreatureType(), Unit::GetDefenseSkillValue(), Unit::GetModelForForm(), Unit::GetNextRandomRaidMemberOrPet(), ObjectAccessor::GetObjectByTypeMask(), Unit::GetPartyMembers(), Aura::GetProcEffectMask(), Unit::getRace(), Unit::GetReactionTo(), Unit::GetUnitCriticalChance(), Unit::GetUnitDodgeChance(), go_soulwell::go_soulwellAI::GossipHello(), spell_dru_berserk::HandleAfterCast(), spell_infected_worgen_bite_aura::HandleAfterEffectApply(), AuraEffect::HandleAuraAllowOnlyAbility(), AuraEffect::HandleAuraConvertRune(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraFeatherFall(), AuraEffect::HandleAuraGhost(), AuraEffect::HandleAuraModAttackPowerOfArmor(), AuraEffect::HandleAuraModBlockPercent(), AuraEffect::HandleAuraModCritPct(), AuraEffect::HandleAuraModDisarm(), AuraEffect::HandleAuraModDodgePercent(), AuraEffect::HandleAuraModExpertise(), AuraEffect::HandleAuraModFaction(), AuraEffect::HandleAuraModIncreaseFlightSpeed(), AuraEffect::HandleAuraModParryPercent(), AuraEffect::HandleAuraModPetTalentsPoints(), AuraEffect::HandleAuraModRangedAttackPowerOfStatPercent(), AuraEffect::HandleAuraModResistance(), AuraEffect::HandleAuraModResistanceExclusive(), AuraEffect::HandleAuraModResistenceOfStatPercent(), AuraEffect::HandleAuraModShapeshift(), AuraEffect::HandleAuraModSkill(), AuraEffect::HandleAuraModStalked(), AuraEffect::HandleAuraModStat(), AuraEffect::HandleAuraModTotalThreat(), AuraEffect::HandleAuraOpenStable(), Unit::HandleAuraRaidProcFromChargeWithValue(), AuraEffect::HandleAuraRetainComboPoints(), AuraEffect::HandleAuraSetVehicle(), Aura::HandleAuraSpecificMods(), AuraEffect::HandleAuraTrackCreatures(), AuraEffect::HandleAuraTrackResources(), AuraEffect::HandleAuraTrackStealthed(), AuraEffect::HandleAuraTransform(), AuraEffect::HandleBindSight(), WorldSession::HandleCastSpellOpcode(), AuraEffect::HandleChannelDeathItem(), spell_thaddius_pos_neg_charge::HandleDamage(), misc_commandscript::HandleDamageCommand(), debug_commandscript::HandleDebugSendOpcodeCommand(), debug_commandscript::HandleDebugUpdateCommand(), AuraEffect::HandleDetectAmore(), misc_commandscript::HandleDieCommand(), spell_herald_volzaj_insanity::HandleDummyEffect(), spell_dk_master_of_ghouls::HandleEffectApply(), spell_yogg_saron_sanity_well_aura::HandleEffectPeriodic(), spell_rog_prey_on_the_weak::HandleEffectPeriodic(), spell_hodir_flash_freeze_aura::HandleEffectPeriodic(), spell_dk_master_of_ghouls::HandleEffectRemove(), AuraEffect::HandleFarSight(), AuraEffect::HandleFeignDeath(), spell_midsummer_juggling_torch::HandleFinish(), spell_hun_volley_trigger::HandleFinish(), AuraEffect::HandleForceReaction(), OutdoorPvPGH::HandleKill(), BattlefieldWG::HandleKill(), OutdoorPvPHP::HandleKillImpl(), OutdoorPvPNA::HandleKillImpl(), OutdoorPvPZM::HandleKillImpl(), WorldSession::HandleMirrorImageDataRequest(), AuraEffect::HandleModDamageDone(), AuraEffect::HandleModDamagePercentDone(), AuraEffect::HandleModHealingDone(), AuraEffect::HandleModHitChance(), modify_commandscript::HandleModifyBitCommand(), modify_commandscript::HandleModifyPhaseCommand(), modify_commandscript::HandleModifyTalentCommand(), AuraEffect::HandleModInvisibility(), AuraEffect::HandleModInvisibilityDetect(), AuraEffect::HandleModManaRegen(), AuraEffect::HandleModPercentStat(), AuraEffect::HandleModPossessPet(), AuraEffect::HandleModPowerRegen(), AuraEffect::HandleModRating(), AuraEffect::HandleModRatingFromStat(), AuraEffect::HandleModResistancePercent(), AuraEffect::HandleModSpellCritChance(), AuraEffect::HandleModSpellCritChanceShool(), AuraEffect::HandleModSpellDamagePercentFromAttackPower(), AuraEffect::HandleModSpellDamagePercentFromStat(), AuraEffect::HandleModSpellHealingPercentFromAttackPower(), AuraEffect::HandleModSpellHealingPercentFromStat(), AuraEffect::HandleModSpellHitChance(), AuraEffect::HandleModStealth(), AuraEffect::HandleModStealthDetect(), AuraEffect::HandleModStealthLevel(), AuraEffect::HandleModTargetResistance(), AuraEffect::HandleModTotalPercentStat(), modify_commandscript::HandleMorphMountCommand(), modify_commandscript::HandleMorphResetCommand(), modify_commandscript::HandleMorphTargetCommand(), misc_commandscript::HandleMovegensCommand(), WorldSession::HandleMoveKnockBackAck(), WorldSession::HandleMoverRelocation(), AuraEffect::HandleNoReagentUseAura(), spell_enveloping_webs::HandleOnHit(), AuraEffect::HandlePeriodicDummyAuraTick(), AuraEffect::HandlePeriodicEnergizeAuraTick(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), WorldSession::HandlePetAction(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCastSpellOpcode(), pet_commandscript::HandlePetCreateCommand(), WorldSession::HandlePetRename(), AuraEffect::HandlePreventFleeing(), AuraEffect::HandlePreventResurrection(), spell_warr_sword_and_board::HandleProc(), spell_dru_leader_of_the_pack::HandleProc(), spell_hun_thrill_of_the_hunt::HandleProc(), spell_warr_deep_wounds_aura::HandleProc(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), AuraEffect::HandleRangedAmmoHaste(), spell_the_flag_of_ownership::HandleScript(), spell_gen_teleporting::HandleScript(), spell_kaelthas_remove_enchanted_weapons::HandleScriptEffect(), spell_q1846_bending_shinbone::HandleScriptEffect(), Unit::HandleSpellClick(), AuraEffect::HandleSpiritOfRedemption(), spell_warl_drain_soul::HandleTick(), AuraEffect::HandleWaterBreathing(), Spell::HasGlobalCooldown(), Creature::HasMechanicTemplateImmunity(), CharmInfo::InitCharmCreateSpells(), TempSummon::InitStats(), Guardian::InitStatsForLevel(), Pet::InitTalentForLevel(), Unit::InitTamedPet(), Unit::InterruptSpell(), Unit::IsClientControlled(), DisableMgr::IsDisabledFor(), Creature::IsDungeonBoss(), Creature::IsImmuneToKnockback(), Unit::IsInPartyWith(), Unit::IsInRaidWith(), Unit::IsPetAura(), SmartScript::IsPlayer(), npc_eoe_wyrmrest_skytalon::IsSummonedBy(), npc_oculus_drake::npc_oculus_drakeAI::IsSummonedBy(), npc_spiritual_insight::npc_spiritual_insightAI::IsSummonedBy(), npc_infra_green_bomber_generic::npc_infra_green_bomber_genericAI::IsSummonedBy(), npc_pet_dk_ghoul::IsSummonedBy(), npc_venomhide_hatchling::npc_venomhide_hatchlingAI::IsSummonedBy(), npc_arcanite_dragonling::IsSummonedBy(), Unit::isTargetableForAttack(), SmartScript::IsUnit(), WorldObject::IsWithinLOS(), WorldObject::IsWithinLOSInMap(), npc_obsidian_destroyer::JustEngagedWith(), npc_ohgan::npc_ohganAI::JustEngagedWith(), boss_vem::JustEngagedWith(), npc_gilthares::npc_giltharesAI::JustEngagedWith(), boss_trollgore::boss_trollgoreAI::JustEngagedWith(), npc_living_mojo::npc_living_mojoAI::JustEngagedWith(), Unit::Kill(), boss_sathrovarr::KilledUnit(), boss_curator::KilledUnit(), boss_maiden_of_virtue::KilledUnit(), boss_attumen::KilledUnit(), boss_terestian_illhoof::KilledUnit(), boss_priestess_delrissa::KilledUnit(), boss_selin_fireheart::KilledUnit(), boss_vexallus::KilledUnit(), boss_sacrolash::KilledUnit(), boss_alythess::KilledUnit(), boss_kiljaeden::KilledUnit(), boss_twilight_corrupter::KilledUnit(), boss_halazzi::KilledUnit(), boss_mandokir::boss_mandokirAI::KilledUnit(), npc_ohgan::npc_ohganAI::KilledUnit(), boss_azuregos::boss_azuregosAI::KilledUnit(), boss_epoch_hunter::KilledUnit(), boss_lieutenant_drake::KilledUnit(), boss_aeonus::KilledUnit(), boss_chrono_lord_deja::KilledUnit(), boss_temporus::KilledUnit(), boss_buru::KilledUnit(), boss_twinemperorsAI::KilledUnit(), boss_elder_nadox::KilledUnit(), boss_volazj::KilledUnit(), boss_taldaram::KilledUnit(), boss_sartharion::KilledUnit(), boss_black_knight::boss_black_knightAI::KilledUnit(), boss_devourer_of_souls::KilledUnit(), boss_prince_keleseth_icc::boss_prince_kelesethAI::KilledUnit(), boss_prince_taldaram_icc::boss_prince_taldaramAI::KilledUnit(), boss_prince_valanar_icc::boss_prince_valanarAI::KilledUnit(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::KilledUnit(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::KilledUnit(), boss_festergut::boss_festergutAI::KilledUnit(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::KilledUnit(), boss_lord_marrowgar::KilledUnit(), boss_professor_putricide::boss_professor_putricideAI::KilledUnit(), boss_rotface::boss_rotfaceAI::KilledUnit(), boss_sindragosa::boss_sindragosaAI::KilledUnit(), npc_argent_captainAI::KilledUnit(), boss_anubrekhan::KilledUnit(), boss_bjarngrim::KilledUnit(), boss_ionar::KilledUnit(), boss_loken::KilledUnit(), boss_volkhan::KilledUnit(), boss_algalon_the_observer::KilledUnit(), boss_auriaya::KilledUnit(), boss_freya::KilledUnit(), boss_ignis::KilledUnit(), boss_thorim::KilledUnit(), boss_keleseth::KilledUnit(), boss_palehoof::boss_palehoofAI::KilledUnit(), boss_svala::boss_svalaAI::KilledUnit(), boss_exarch_maladaar::KilledUnit(), boss_nexusprince_shaffar::KilledUnit(), boss_pandemonius::KilledUnit(), boss_darkweaver_syth::KilledUnit(), boss_talon_king_ikiss::KilledUnit(), boss_ambassador_hellmaw::KilledUnit(), boss_blackheart_the_inciter::KilledUnit(), boss_grandmaster_vorpil::KilledUnit(), boss_doomlord_kazzak::boss_doomlordkazzakAI::KilledUnit(), boss_doomwalker::KilledUnit(), boss_hydromancer_thespia::KilledUnit(), boss_mekgineer_steamrigger::KilledUnit(), boss_warlord_kalithresh::KilledUnit(), boss_the_maker::KilledUnit(), boss_warbringer_omrogg::KilledUnit(), boss_warchief_kargath_bladefist::KilledUnit(), boss_dalliah_the_doomsayer::KilledUnit(), boss_harbinger_skyriss::KilledUnit(), boss_wrath_scryer_soccothrates::KilledUnit(), boss_zereketh_the_unbound::KilledUnit(), boss_commander_sarannis::KilledUnit(), boss_high_botanist_freywinn::KilledUnit(), boss_thorngrin_the_tender::KilledUnit(), boss_warp_splinter::KilledUnit(), boss_kaelthas::KilledUnit(), boss_gatewatcher_gyrokill::KilledUnit(), boss_gatewatcher_iron_hand::KilledUnit(), boss_mechano_lord_capacitus::KilledUnit(), boss_nethermancer_sepethrea::KilledUnit(), boss_pathaleon_the_calculator::KilledUnit(), boss_akilzon::KilledUnit(), boss_jedoga_shadowseeker::KilledUnit(), boss_eadric::boss_eadricAI::KilledUnit(), boss_paletress::boss_paletressAI::KilledUnit(), boss_anubarak_trial::boss_anubarak_trialAI::KilledUnit(), boss_twin_valkyrAI::KilledUnit(), boss_bronjahm::KilledUnit(), boss_falric::KilledUnit(), boss_marwyn::KilledUnit(), boss_garfrost::boss_garfrostAI::KilledUnit(), boss_ick::boss_ickAI::KilledUnit(), boss_tyrannus::boss_tyrannusAI::KilledUnit(), boss_faerlina::boss_faerlinaAI::KilledUnit(), boss_four_horsemen::boss_four_horsemenAI::KilledUnit(), boss_gluth::boss_gluthAI::KilledUnit(), boss_gothik::boss_gothikAI::KilledUnit(), npc_boss_gothik_minion::npc_boss_gothik_minionAI::KilledUnit(), boss_grobbulus::boss_grobbulusAI::KilledUnit(), boss_grobbulus_poison_cloud::boss_grobbulus_poison_cloudAI::KilledUnit(), boss_heigan::KilledUnit(), boss_kelthuzad::boss_kelthuzadAI::KilledUnit(), boss_kelthuzad_minion::boss_kelthuzad_minionAI::KilledUnit(), boss_loatheb::boss_loathebAI::KilledUnit(), boss_maexxna::boss_maexxnaAI::KilledUnit(), boss_noth::boss_nothAI::KilledUnit(), boss_patchwerk::boss_patchwerkAI::KilledUnit(), boss_razuvious::boss_razuviousAI::KilledUnit(), boss_razuvious_minion::boss_razuvious_minionAI::KilledUnit(), boss_sapphiron::boss_sapphironAI::KilledUnit(), boss_thaddius::boss_thaddiusAI::KilledUnit(), boss_thaddius_summon::boss_thaddius_summonAI::KilledUnit(), boss_steelbreaker::KilledUnit(), boss_runemaster_molgeim::KilledUnit(), boss_stormcaller_brundir::KilledUnit(), boss_flame_leviathan::KilledUnit(), boss_vezax::KilledUnit(), boss_hodir::KilledUnit(), npc_ulduar_leviathan_mkii::KilledUnit(), npc_ulduar_vx001::KilledUnit(), npc_ulduar_aerial_command_unit::KilledUnit(), boss_xt002::KilledUnit(), boss_yoggsaron_sara::KilledUnit(), boss_skadi::boss_skadiAI::KilledUnit(), npc_q24545_vegard::npc_q24545_vegardAI::KilledUnit(), emerald_dragonAI::KilledUnit(), boss_emeriss::boss_emerissAI::KilledUnit(), KillRewarder::KillRewarder(), spell_chapter2_persuasive_strike::Load(), spell_ioc_gunship_portal::Load(), spell_wyrmrest_skytalon_summon_red_dragon_buddy::Load(), spell_dk_blood_boil::Load(), spell_dk_icebound_fortitude::Load(), spell_dk_raise_dead::Load(), spell_dk_death_rune::Load(), spell_dru_rip::Load(), spell_dru_swift_flight_passive::Load(), spell_dru_t10_restoration_4p_bonus::Load(), spell_gen_arena_drink::Load(), spell_gen_pet_summoned::Load(), spell_pvp_trinket_wotf_shared_cd::Load(), spell_gen_divine_storm_cd_reset::Load(), spell_gen_profession_research::Load(), spell_gen_seaforium_blast::Load(), spell_gen_vehicle_scaling_aura::Load(), spell_gen_oracle_wolvar_reputation::Load(), spell_gen_spirit_healer_res::Load(), spell_gen_on_tournament_mount::Load(), spell_gen_tournament_pennant::Load(), spell_hun_aspect_of_the_beast::Load(), spell_hun_readiness::Load(), spell_hun_scatter_shot::Load(), spell_item_feast::Load(), spell_item_deviate_fish::Load(), spell_item_make_a_wish::Load(), spell_item_noggenfogger_elixir::Load(), spell_item_savory_deviate_delight::Load(), spell_item_scroll_of_recall::Load(), spell_item_dimensional_ripper_area52::Load(), spell_item_underbelly_elixir::Load(), spell_item_book_of_glyph_mastery::Load(), spell_item_ashbringer::Load(), spell_item_purify_helboar_meat::Load(), spell_item_demon_broiled_surprise::Load(), spell_item_teach_language::Load(), spell_item_rocket_boots::Load(), spell_item_healing_injector::Load(), spell_item_mana_injector::Load(), spell_item_chicken_cover::Load(), spell_item_worn_troll_dice::Load(), spell_item_mind_control_cap::Load(), spell_item_decahedral_dwarven_dice::Load(), spell_mage_cold_snap::Load(), spell_pal_ardent_defender::Load(), spell_pri_penance::Load(), spell_pri_renew::Load(), spell_q5206_test_fetid_skull::Load(), spell_q6124_6129_apply_salve::Load(), spell_q11730_ultrasonic_screwdriver::Load(), spell_q12937_relief_for_the_fallen::Load(), spell_q12659_ahunaes_knife::Load(), spell_q9874_liquid_fire::Load(), spell_q12805_lifeblood_dummy::Load(), spell_q9452_cast_net::Load(), spell_rog_deadly_poison::Load(), spell_rog_preparation::Load(), spell_rog_rupture::Load(), spell_rog_shiv::Load(), spell_warl_improved_demonic_tactics::Load(), spell_warl_life_tap::Load(), spell_warl_curse_of_doom::Load(), Pet::LoadPetFromDB(), WorldObject::MagicSpellHitResult(), AchievementCriteriaData::Meets(), Unit::MeleeSpellHitResult(), Unit::MeleeSpellMissChance(), CreatureAI::MoveBackwardsChecks(), MotionMaster::MoveCharge(), MotionMaster::MoveChase(), CreatureAI::MoveCircleChecks(), MotionMaster::MoveConfused(), MotionMaster::MoveFall(), MotionMaster::MoveFleeing(), MotionMaster::MoveFollow(), boss_muru::MoveInLineOfSight(), boss_twilight_corrupter::MoveInLineOfSight(), npc_grand_magister_rommath::npc_grand_magister_rommathAI::MoveInLineOfSight(), npc_andorhal_tower::npc_andorhal_towerAI::MoveInLineOfSight(), boss_nalorakk::MoveInLineOfSight(), npc_brewfest_keg_thrower::MoveInLineOfSight(), npc_brewfest_keg_reciver::MoveInLineOfSight(), npc_brewfest_bark_trigger::MoveInLineOfSight(), npc_coren_direbrew::MoveInLineOfSight(), npc_love_in_air_supply_sentry::MoveInLineOfSight(), npc_love_in_air_snivel::MoveInLineOfSight(), npc_cos_stratholme_citizien::npc_cos_stratholme_citizienAI::MoveInLineOfSight(), npc_medivh_bm::MoveInLineOfSight(), boss_eye_of_cthun::MoveInLineOfSight(), npc_ouro_spawner::MoveInLineOfSight(), npc_draenei_survivor::npc_draenei_survivorAI::MoveInLineOfSight(), npc_twiggy_flathead::npc_twiggy_flatheadAI::MoveInLineOfSight(), boss_anub_arak::MoveInLineOfSight(), boss_krik_thir::boss_krik_thirAI::MoveInLineOfSight(), boss_anubarak_trial::boss_anubarak_trialAI::MoveInLineOfSight(), npc_blood_queen_lana_thel::npc_blood_queen_lana_thelAI::MoveInLineOfSight(), boss_lord_marrowgar::MoveInLineOfSight(), npc_icc_valkyr_herald::npc_icc_valkyr_heraldAI::MoveInLineOfSight(), npc_icc_nerubar_broodkeeper::npc_icc_nerubar_broodkeeperAI::MoveInLineOfSight(), boss_anubrekhan::MoveInLineOfSight(), boss_faerlina::boss_faerlinaAI::MoveInLineOfSight(), boss_kelthuzad::boss_kelthuzadAI::MoveInLineOfSight(), boss_kelthuzad_minion::boss_kelthuzad_minionAI::MoveInLineOfSight(), boss_loken::MoveInLineOfSight(), boss_kologarn::MoveInLineOfSight(), npc_ulduar_snow_mound::MoveInLineOfSight(), npc_black_knight_graveyard::npc_black_knight_graveyardAI::MoveInLineOfSight(), npc_guardian_pavilion::npc_guardian_pavilionAI::MoveInLineOfSight(), boss_exarch_maladaar::MoveInLineOfSight(), boss_nexusprince_shaffar::MoveInLineOfSight(), boss_talon_king_ikiss::MoveInLineOfSight(), boss_grandmaster_vorpil::MoveInLineOfSight(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::MoveInLineOfSight(), boss_doomwalker::MoveInLineOfSight(), boss_lady_vashj::MoveInLineOfSight(), boss_warlord_kalithresh::MoveInLineOfSight(), boss_watchkeeper_gargolmar::MoveInLineOfSight(), npc_shattered_hand_scout::MoveInLineOfSight(), boss_wrath_scryer_soccothrates::MoveInLineOfSight(), boss_thorngrin_the_tender::MoveInLineOfSight(), boss_kaelthas::MoveInLineOfSight(), npc_daranelle::npc_daranelleAI::MoveInLineOfSight(), MotionMaster::MoveJumpTo(), MotionMaster::MoveKnockbackFrom(), MotionMaster::MovePoint(), MotionMaster::MovePointBackwards(), MotionMaster::MoveSeekAssistance(), MotionMaster::MoveSeekAssistanceDistract(), MotionMaster::MoveSplinePath(), MotionMaster::MoveTargetedHome(), MotionMaster::MoveTaxiFlight(), MotionMaster::MoveWaypoint(), npc_pet_dk_ebon_gargoyle::MySelectNextTarget(), npc_pet_mage_mirror_image::MySelectNextTarget(), Unit::NearTeleportTo(), npc_ancestral_wolf::npc_ancestral_wolfAI::npc_ancestral_wolfAI(), spell_gen_aura_service_uniform::OnApply(), spell_gen_aura_service_uniform::OnRemove(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::OnUnitDeath(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::OnUnitDeath(), instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::OnUnitDeath(), instance_ulduar::instance_ulduar_InstanceMapScript::OnUnitDeath(), Acore::AnyFriendlyUnitInObjectRangeCheck::operator()(), Acore::AnyFriendlyNotSelfUnitInObjectRangeCheck::operator()(), Acore::NearestHostileUnitCheck::operator()(), Acore::MostHPMissingGroupInRange::operator()(), NotInStomachSelector::operator()(), NecroticPlagueTargetCheck::operator()(), CatsTargetSelector::operator()(), ChargeTargetSelector::operator()(), DefaultTargetSelector::operator()(), NonTankTargetSelector::operator()(), PowerUsersSelector::operator()(), RangeSelector::operator()(), ClassCallSelector::operator()(), VampiricBiteTargetSelector::operator()(), BoneStormMoveTargetSelector::operator()(), MalleableGooSelector::operator()(), LastPhaseIceTombTargetSelector::operator()(), ShadowTrapLKTargetSelector::operator()(), NonTankLKTargetSelector::operator()(), DefileTargetSelector::operator()(), WebTargetSelector::operator()(), IgbArtilleryCheck::operator()(), VehicleCheck::operator()(), PlayerOrPetCheck::operator()(), npc_eoe_wyrmrest_skytalon::PassengerBoarded(), npc_oculus_drake::npc_oculus_drakeAI::PassengerBoarded(), boss_flame_leviathan_seat::PassengerBoarded(), npc_pilgrims_bounty_chair::PassengerBoarded(), npc_hover_disk::PassengerBoarded(), npc_dusk::PassengerBoarded(), npc_frosthound::PassengerBoarded(), npc_hyldsmeet_protodrake::PassengerBoarded(), AuraEffect::PeriodicTick(), Pet::Pet(), Spell::prepare(), spell_item_toy_train_set::PrepareSpellScript(), spell_sha_lava_lash::PrepareSpellScript(), SmartScript::ProcessEvent(), Unit::ProcSkillsAndReactives(), NPCStaveQuestAI::QuestIncomplete(), Unit::RecalculateObjectScale(), boss_priestess_lackey_commonAI::RecalculateThreat(), boss_faction_championsAI::RecalculateThreat(), Creature::Regenerate(), Unit::RemoveAllControlled(), Unit::RemoveCharmedBy(), spell_warl_drain_soul::RemoveEffect(), spell_warl_shadowburn::RemoveEffect(), Unit::RemoveGameObject(), Vehicle::RemovePassenger(), Unit::RemovePetAura(), Vehicle::Reset(), Pet::resetTalents(), Unit::RestoreFaction(), Player::RewardHonor(), Player::RewardReputation(), Unit::RollMeleeOutcomeAgainst(), Pet::SavePetToDB(), Map::ScriptsProcess(), Spell::SelectEffectTypeImplicitTargets(), Unit::SendAttackStateUpdate(), Spell::SendCastResult(), Spell::SendChannelStart(), CreatureTextMgr::SendChat(), CreatureTextMgr::SendChatPacket(), Unit::SendMeleeAttackStop(), CreatureTextMgr::SendNonChatPacket(), Unit::SendPeriodicAuraLog(), Unit::SendPetActionFeedback(), Unit::SendPetAIReaction(), WorldObject::SendPlayMusic(), Spell::SendResurrectRequest(), Spell::SendSpellCooldown(), Spell::SendSpellGo(), Unit::SendSpellNonMeleeDamageLog(), WorldObject::SendSpellNonMeleeDamageLog(), Unit::SendSpellNonMeleeReflectLog(), Spell::SendSpellStart(), Unit::SendTeleportPacket(), WorldObject::setActive(), Unit::SetCharm(), Unit::SetCharmedBy(), Unit::SetConfused(), Unit::SetControlled(), Unit::SetFeared(), Unit::SetHealth(), Unit::SetLevel(), Unit::SetMaxHealth(), Unit::SetMaxPower(), Unit::SetMinion(), Unit::SetPower(), Unit::setPowerType(), Unit::setRace(), Unit::SetSpeed(), Unit::SetStandState(), Unit::SetStunned(), Unit::SpellBaseDamageBonusDone(), Unit::SpellBaseHealingBonusDone(), Unit::SpellDoneCritChance(), npc_forest_frog::SpellHit(), npc_venture_co_straggler::npc_venture_co_stragglerAI::SpellHit(), npc_nether_drake::npc_nether_drakeAI::SpellHit(), npc_dragonmaw_peon::npc_dragonmaw_peonAI::SpellHit(), npc_midsummer_bonfire::SpellHit(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::SpellHit(), npc_imprisoned_beryl_sorcerer::npc_imprisoned_beryl_sorcererAI::SpellHit(), boss_onyxia::SpellHitTarget(), boss_ick::boss_ickAI::SpellHitTarget(), npc_pos_collapsing_icicle::npc_pos_collapsing_icicleAI::SpellHitTarget(), npc_pos_leader_second::npc_pos_leader_secondAI::SpellHitTarget(), boss_sindragosa::boss_sindragosaAI::SpellHitTarget(), boss_vezax::SpellHitTarget(), npc_ulduar_rocket_strike_trigger::SpellHitTarget(), boss_lethon::boss_lethonAI::SpellHitTarget(), boss_thorim::SpellHitTarget(), Unit::SpellTakenCritChance(), PetAI::StartChase(), SmartAI::StartPath(), Unit::StopAttackFaction(), Unit::StopAttackingInvalidTarget(), NPCStaveQuestAI::StoreAttackerGuidValue(), WorldObject::SummonGameObject(), Spell::SummonGuardian(), WorldObject::SummonTrigger(), Pet::SynchronizeLevelWithOwner(), Spell::TakeAmmo(), Spell::TakeCastItem(), Spell::TakePower(), Spell::TakeReagents(), Spell::TakeRunePower(), ToPlayer(), ToPlayer(), ToUnit(), ToUnit(), CreatureAI::TriggerAlert(), Spell::TriggerGlobalCooldown(), NPCStaveQuestAI::UnitIsUnfair(), Unit::UnsummonAllTotems(), Spell::update(), GameObject::Update(), Creature::Update(), Unit::Update(), SpellCastTargets::Update(), AchievementMgr::UpdateAchievementCriteria(), boss_ragnaros::UpdateAI(), boss_mandokir::boss_mandokirAI::UpdateAI(), npc_aquementas::npc_aquementasAI::UpdateAI(), npc_snobold_vassal::npc_snobold_vassalAI::UpdateAI(), boss_patchwerk::boss_patchwerkAI::UpdateAI(), boss_yoggsaron_cloud::UpdateAI(), guard_shattrath_scryer::guard_shattrath_scryerAI::UpdateAI(), guard_shattrath_aldor::guard_shattrath_aldorAI::UpdateAI(), PetAI::UpdateAI(), PetAI::UpdateAllies(), Unit::UpdateAuraForGroup(), Spell::UpdateChanneledTargetList(), Unit::UpdateCharmAI(), Player::UpdateCharmedAI(), AuraEffect::UpdatePeriodic(), Spell::UpdatePointers(), boss_netherspite::UpdatePortals(), Unit::UpdatePosition(), Unit::UpdateSpeed(), Unit::UpdateSplinePosition(), GameObject::Use(), Vehicle::Vehicle(), Spell::WriteAmmoToPacket(), and SpellEvent::~SpellEvent().

◆ isType()

◆ IsUnit()

◆ operator=()

Object & Object::operator= ( Object const &  )
private

◆ PrintIndexError()

bool Object::PrintIndexError ( uint32  index,
bool  set 
) const
private
992{
993 LOG_INFO("misc", "Attempt {} non-existed value field: {} (count: {}) for object typeid: {} type mask: {}",
994 (set ? "set value to" : "get value from"), index, m_valuesCount, GetTypeId(), m_objectType);
995
996 // ASSERT must fail after function call
997 return false;
998}
#define LOG_INFO(filterType__,...)
Definition Log.h:153

References GetTypeId(), LOG_INFO, m_objectType, and m_valuesCount.

Referenced by AddGuidValue(), GetByteValue(), GetFloatValue(), GetGuidValue(), GetInt32Value(), GetUInt16Value(), GetUInt32Value(), GetUInt64Value(), HasByteFlag(), HasFlag(), HasFlag64(), RemoveByteFlag(), RemoveFlag(), RemoveGuidValue(), SetByteFlag(), SetByteValue(), SetFlag(), SetFloatValue(), SetGuidValue(), SetInt32Value(), SetUInt16Value(), SetUInt32Value(), SetUInt64Value(), and UpdateUInt32Value().

◆ RemoveByteFlag()

void Object::RemoveByteFlag ( uint16  index,
uint8  offset,
uint8  newFlag 
)

◆ RemoveDynamicFlag()

◆ RemoveFieldNotifyFlag()

void Object::RemoveFieldNotifyFlag ( uint16  flag)
inline
202{ _fieldNotifyFlags &= ~flag; }

References _fieldNotifyFlags.

Referenced by Group::AddMember(), and Unit::SetOwnerGUID().

◆ RemoveFlag()

◆ RemoveFlag64()

void Object::RemoveFlag64 ( uint16  index,
uint64  oldFlag 
)
955{
956 uint64 oldval = GetUInt64Value(index);
957 uint64 newval = oldval & ~oldFlag;
958 SetUInt64Value(index, newval);
959}
void SetUInt64Value(uint16 index, uint64 value)
Definition Object.cpp:669

References GetUInt64Value(), and SetUInt64Value().

Referenced by ApplyModFlag64(), and ToggleFlag64().

◆ RemoveFromObjectUpdate()

virtual void Object::RemoveFromObjectUpdate ( )
protectedpure virtual

Implemented in Item, and WorldObject.

Referenced by ClearUpdateMask().

◆ RemoveFromWorld()

◆ RemoveGuidValue()

bool Object::RemoveGuidValue ( uint16  index,
ObjectGuid  value 
)
703{
704 ASSERT(index + 1 < m_valuesCount || PrintIndexError(index, true));
705
706 if (value && *((ObjectGuid*)&(m_uint32Values[index])) == value)
707 {
708 m_uint32Values[index] = 0;
709 m_uint32Values[index + 1] = 0;
710 _changesMask.SetBit(index);
711 _changesMask.SetBit(index + 1);
712
714
715 return true;
716 }
717
718 return false;
719}

References _changesMask, AddToObjectUpdateIfNeeded(), ASSERT, m_uint32Values, m_valuesCount, PrintIndexError(), and UpdateMask::SetBit().

Referenced by Unit::SetCharm(), Unit::SetMinion(), and Player::SetViewpoint().

◆ ReplaceAllDynamicFlags()

virtual void Object::ReplaceAllDynamicFlags ( uint32  flag)
inlinevirtual

Reimplemented in GameObject, and Unit.

133{ }

Referenced by RemoveDynamicFlag(), and SetDynamicFlag().

◆ SendUpdateToPlayer()

void Object::SendUpdateToPlayer ( Player *  player)

◆ SetByteFlag()

◆ SetByteValue()

void Object::SetByteValue ( uint16  index,
uint8  offset,
uint8  value 
)

◆ SetDynamicFlag()

◆ SetEntry()

◆ SetFieldNotifyFlag()

void Object::SetFieldNotifyFlag ( uint16  flag)
inline
201{ _fieldNotifyFlags |= flag; }

References _fieldNotifyFlags.

Referenced by Group::AddMember(), and Unit::SetOwnerGUID().

◆ SetFlag()

void Object::SetFlag ( uint16  index,
uint32  newFlag 
)

◆ SetFlag64()

void Object::SetFlag64 ( uint16  index,
uint64  newFlag 
)
948{
949 uint64 oldval = GetUInt64Value(index);
950 uint64 newval = oldval | newFlag;
951 SetUInt64Value(index, newval);
952}

References GetUInt64Value(), and SetUInt64Value().

Referenced by Player::AddKnownCurrency(), ApplyModFlag64(), and ToggleFlag64().

◆ SetFloatValue()

void Object::SetFloatValue ( uint16  index,
float  value 
)
736{
737 ASSERT(index < m_valuesCount || PrintIndexError(index, true));
738
739 if (m_floatValues[index] != value)
740 {
741 m_floatValues[index] = value;
742 _changesMask.SetBit(index);
743
745 }
746}

References _changesMask, AddToObjectUpdateIfNeeded(), ASSERT, m_floatValues, m_valuesCount, PrintIndexError(), and UpdateMask::SetBit().

Referenced by Unit::ApplyAttackTimePercentMod(), Unit::ApplyCastTimePercentMod(), ApplyModPositiveFloatValue(), ApplyModSignedFloatValue(), Player::Create(), DynamicObject::CreateDynamicObject(), debug_commandscript::HandleDebugSetValueCommand(), spell_dk_dancing_rune_weapon_visual::HandleEffectApply(), AuraEffect::HandleModDamagePercentDone(), spell_moorabi_mojo_frenzy_aura::HandlePeriodic(), spell_dk_dancing_rune_weapon::HandleProc(), Creature::InitEntry(), Player::InitRunes(), Player::InitStatsForLevel(), Guardian::InitStatsForLevel(), Player::LoadFromDB(), boss_grobbulus_poison_cloud::boss_grobbulus_poison_cloudAI::Reset(), npc_boombot::Reset(), Unit::SetAttackTime(), Creature::SetDisplayId(), SetObjectScale(), Creature::SetObjectScale(), Player::SetObjectScale(), SetStatFloatValue(), GameObject::SetTransportPathRotation(), boss_grobbulus_poison_cloud::boss_grobbulus_poison_cloudAI::UpdateAI(), boss_svala::boss_svalaAI::UpdateAI(), Creature::UpdateAttackPowerAndDamage(), Guardian::UpdateAttackPowerAndDamage(), Player::UpdateAttackPowerAndDamage(), Unit::UpdateResistanceBuffModsMod(), Player::UpdateRuneRegen(), Player::UpdateSpellCritChance(), and Unit::UpdateStatBuffMod().

◆ SetGuidValue()

void Object::SetGuidValue ( uint16  index,
ObjectGuid  value 
)
722{
723 ASSERT(index + 1 < m_valuesCount || PrintIndexError(index, true));
724
725 if (*((ObjectGuid*)&(m_uint32Values[index])) != value)
726 {
727 *((ObjectGuid*)&(m_uint32Values[index])) = value;
728 _changesMask.SetBit(index);
729 _changesMask.SetBit(index + 1);
730
732 }
733}

References _changesMask, AddToObjectUpdateIfNeeded(), ASSERT, m_uint32Values, m_valuesCount, PrintIndexError(), and UpdateMask::SetBit().

Referenced by _Create(), Player::_StoreItem(), Player::AddItemToBuyBackSlot(), Map::ConvertCorpseToBones(), Corpse::Create(), Item::Create(), Bag::Create(), DynamicObject::CreateDynamicObject(), Player::DestroyItem(), Spell::DoCreateItem(), Player::DuelComplete(), Spell::EffectDuel(), Spell::EffectTransmitted(), Creature::FocusTarget(), Unit::GetCharm(), WorldSession::HandleAcceptTradeOpcode(), WorldSession::HandleOpenWrappedItemCallback(), WorldSession::HandleWrapItemOpcode(), boss_novos::JustEngagedWith(), Corpse::LoadCorpseFromDB(), Player::LoadFromDB(), Item::LoadFromDB(), Bag::LoadFromDB(), WorldSession::LogoutPlayer(), Creature::ReleaseFocus(), Player::RemoveItem(), Bag::RemoveItem(), Player::RemoveItemFromBuyBackSlot(), Spell::SendChannelStart(), Spell::SendChannelUpdate(), Unit::SetCharmerGUID(), Unit::SetCreatorGUID(), Unit::SetCritterGUID(), Unit::SetMinionGUID(), Item::SetOwnerGUID(), GameObject::SetOwnerGUID(), Unit::SetOwnerGUID(), Player::SetSelection(), Creature::SetTarget(), boss_devourer_of_souls::SpellHitTarget(), Bag::StoreItem(), boss_icehowl::boss_icehowlAI::UpdateAI(), boss_stormcaller_brundir::UpdateAI(), boss_vezax::UpdateAI(), and Player::VisualizeItem().

◆ SetInt16Value()

void Object::SetInt16Value ( uint16  index,
uint8  offset,
int16  value 
)
inline
162{ SetUInt16Value(index, offset, (uint16)value); }
void SetUInt16Value(uint16 index, uint8 offset, uint16 value)
Definition Object.cpp:768

References SetUInt16Value().

◆ SetInt32Value()

◆ SetObjectScale()

◆ SetStatFloatValue()

◆ SetStatInt32Value()

void Object::SetStatInt32Value ( uint16  index,
int32  value 
)
797{
798 if (value < 0)
799 value = 0;
800
801 SetUInt32Value(index, uint32(value));
802}

References SetUInt32Value().

Referenced by Unit::SetMaxPower(), Unit::SetPower(), Unit::SetResistance(), Unit::SetStat(), and Player::UpdateSpellDamageAndHealingBonus().

◆ SetUInt16Value()

void Object::SetUInt16Value ( uint16  index,
uint8  offset,
uint16  value 
)
769{
770 ASSERT(index < m_valuesCount || PrintIndexError(index, true));
771
772 if (offset > 1)
773 {
774 LOG_ERROR("entities.object", "Object::SetUInt16Value: wrong offset {}", offset);
775 return;
776 }
777
778 if (uint16(m_uint32Values[index] >> (offset * 16)) != value)
779 {
780 m_uint32Values[index] &= ~uint32(uint32(0xFFFF) << (offset * 16));
781 m_uint32Values[index] |= uint32(uint32(value) << (offset * 16));
782 _changesMask.SetBit(index);
783
785 }
786}

References ASSERT, m_valuesCount, and PrintIndexError().

Referenced by Player::ApplyEnchantment(), AuraEffect::HandleAuraOverrideSpells(), Player::LoadFromDB(), SetInt16Value(), and Player::SetVisibleItemSlot().

◆ SetUInt32Value()

void Object::SetUInt32Value ( uint16  index,
uint32  value 
)
649{
650 ASSERT(index < m_valuesCount || PrintIndexError(index, true));
651
652 if (m_uint32Values[index] != value)
653 {
654 m_uint32Values[index] = value;
655 _changesMask.SetBit(index);
656
658 }
659}

References _changesMask, AddToObjectUpdateIfNeeded(), ASSERT, m_uint32Values, m_valuesCount, PrintIndexError(), and UpdateMask::SetBit().

Referenced by _Create(), ToCloud9GrpcHandler::AddExistingItemToPlayer(), ApplyModUInt32Value(), Item::ClearEnchantment(), Item::CloneItem(), Map::ConvertCorpseToBones(), Item::Create(), Bag::Create(), GameObject::Create(), StaticTransport::Create(), Player::CreateCorpse(), DynamicObject::CreateDynamicObject(), MotionTransport::CreateMoTrans(), Player::DurabilityPointsLoss(), Player::DurabilityRepair(), Spell::EffectDuel(), BattlegroundIC::EventPlayerClickedOnFlag(), debug_commandscript::HandleDebugSet32BitCommand(), debug_commandscript::HandleDebugSetItemValueCommand(), debug_commandscript::HandleDebugSetValueCommand(), WorldSession::HandleMailCreateTextItem(), WorldSession::HandleOpenWrappedItemCallback(), WorldSession::HandlePetitionBuyOpcode(), WorldSession::HandleSellItemOpcode(), WorldSession::HandleWrapItemOpcode(), Corpse::LoadCorpseFromDB(), Item::LoadFromDB(), Bag::LoadFromDB(), WorldSession::moveItems(), BattlefieldWG::OnBattleStart(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnGameObjectCreate(), BattlegroundIC::PostUpdateImpl(), BfWGGameObjectBuilding::Rebuild(), GameObject::ReplaceAllDynamicFlags(), GameObject::ReplaceAllGameObjectFlags(), BattlegroundSA::ResetObjs(), SendRollWonItemViaMail(), Item::SetCount(), GameObject::SetDisplayId(), Item::SetEnchantment(), Item::SetEnchantmentCharges(), Item::SetEnchantmentDuration(), SetEntry(), StaticTransport::SetPauseTime(), MotionTransport::SetPeriod(), SetStatInt32Value(), Unit::SetUInt32Value(), BattlefieldWG::SetupBattlefield(), Player::StoreNewItem(), Item::UpdateDuration(), Item::UpdateItemSuffixFactor(), and Item::UpdatePlayedTime().

◆ SetUInt64Value()

void Object::SetUInt64Value ( uint16  index,
uint64  value 
)
670{
671 ASSERT(index + 1 < m_valuesCount || PrintIndexError(index, true));
672
673 if (*((uint64*) & (m_uint32Values[index])) != value)
674 {
675 m_uint32Values[index] = PAIR64_LOPART(value);
676 m_uint32Values[index + 1] = PAIR64_HIPART(value);
677 _changesMask.SetBit(index);
678 _changesMask.SetBit(index + 1);
679
681 }
682}
uint32 PAIR64_LOPART(uint64 x)
Definition ObjectDefines.h:78
uint32 PAIR64_HIPART(uint64 x)
Definition ObjectDefines.h:73

References _changesMask, AddToObjectUpdateIfNeeded(), ASSERT, m_uint32Values, m_valuesCount, PAIR64_HIPART(), PAIR64_LOPART(), PrintIndexError(), and UpdateMask::SetBit().

Referenced by Player::Create(), titles_commandscript::HandleTitlesSetMaskCommand(), Player::LoadFromDB(), RemoveFlag64(), SetFlag64(), Player::SetQuestSlotCounter(), and boss_koralon::boss_koralonAI::UpdateAI().

◆ ToCorpse() [1/2]

Corpse * Object::ToCorpse ( )
inline
224{ if (IsCorpse()) return reinterpret_cast<Corpse*>(this); else return nullptr; }
Definition Corpse.h:49

References IsCorpse().

Referenced by CastSpellTargetArg::CastSpellTargetArg(), SpellInfo::CheckTarget(), SpellCastTargets::GetCorpseTarget(), GetUpdateFieldData(), and Acore::WorldObjectSpellTargetCheck::operator()().

◆ ToCorpse() [2/2]

Corpse const * Object::ToCorpse ( ) const
inline
225{ if (IsCorpse()) return reinterpret_cast<Corpse const*>(this); else return nullptr; }

References IsCorpse().

◆ ToCreature() [1/2]

Creature * Object::ToCreature ( )
inline
212{ if (IsCreature()) return reinterpret_cast<Creature*>(this); else return nullptr; }
Definition Creature.h:47
bool IsCreature() const
Definition Object.h:211

References IsCreature().

Referenced by Aura::_ApplyForTarget(), Spell::_cast(), Map::_GetScriptCreature(), Map::_GetScriptCreatureSourceOrTarget(), KillRewarder::_InitXP(), Unit::_IsValidAssistTarget(), Unit::_IsValidAttackTarget(), KillRewarder::_RewardKillCredit(), KillRewarder::_RewardXP(), Unit::_UnapplyAura(), Aura::_UnapplyForTarget(), Vehicle::AddPassenger(), Player::AddQuestAndCheckCompletion(), CharmInfo::AddSpellToActionBar(), Map::AddWorldObjectToFarVisibleMap(), Vehicle::ApplyAllImmunities(), Unit::ApplyDiminishingToDuration(), Map::ApplyDynamicModeRespawnScaling(), npc_escortAI::AssistPlayerInCombatAgainst(), Creature::AtEngage(), Unit::Attack(), Unit::AttackStop(), Unit::AtTargetAttacked(), PathGenerator::BuildPolyPath(), Spell::CalculateJumpSpeeds(), spell_igb_cannon_blast::CalculatePower(), SpellEffectInfo::CalcValue(), npc_high_overlord_saurfang_igb::npc_high_overlord_saurfang_igbAI::CanAIAttack(), npc_muradin_bronzebeard_igb::npc_muradin_bronzebeard_igbAI::CanAIAttack(), boss_renataki::boss_renatakiAI::CanAlwaysBeDetectable(), Creature::CanAssistTo(), Creature::CanCreatureAttack(), WorldObject::CanDetectInvisibilityOf(), WorldObject::CanDetectStealthOf(), Unit::CanHaveThreatList(), ThreatManager::CanHaveThreatList(), Map::CanReachPositionAndGetValidCoords(), boss_renataki::boss_renatakiAI::CanSeeAlways(), WorldObject::CanSeeOrDetect(), Unit::CanSparringWith(), Pet::CastPendingSpell(), npc_zuljin_vortex::ChangeToNewPlayer(), CharmInfo::CharmInfo(), Player::CharmSpellInitialize(), spell_dk_death_pact::CheckCast(), spell_q5561_kodo_roundup_kodo_kombobulator::CheckCast(), Spell::CheckCast(), spell_mage_deep_freeze_immunity_state::CheckEffectProc(), boss_moroes::CheckGuestsInRoom(), Spell::CheckPetCast(), spell_item_lil_phylactery::CheckProc(), Spell::CheckRange(), SpellInfo::CheckTarget(), spell_the_lich_king_shadow_trap_periodic::CheckTargetCount(), spell_the_lich_king_ice_burst_target_search::CheckTargetCount(), Unit::ClearInCombat(), Unit::CombatStop(), Player::CreatePet(), Player::CreatePet(), Unit::DealDamage(), Unit::DealDamageMods(), Unit::DealHeal(), Unit::DealMeleeDamage(), Unit::DealSpellDamage(), MotionTransport::DelayedTeleportTransport(), spell_rotface_unstable_ooze_explosion_suicide_aura::DespawnSelf(), Vehicle::Dismiss(), ChaseMovementGenerator< T >::DispatchSplineToPosition(), boss_thorim::DoAction(), npc_creature_generator_akama::DoAction(), Spell::DoAllEffectOnTarget(), ChaseMovementGenerator< T >::DoFinalize(), Spell::DoSpellHitOnUnit(), FormationMovementGenerator::DoUpdate(), ChaseMovementGenerator< T >::DoUpdate(), FollowMovementGenerator< T >::DoUpdate(), CreatureAI::DoZoneInCombat(), Spell::EffectCreateTamedPet(), Spell::EffectDummy(), Spell::EffectForceDeselect(), Spell::EffectKnockBack(), Spell::EffectSanctuary(), Spell::EffectScriptEffect(), Spell::EffectSkinning(), Spell::EffectSummonPet(), Spell::EffectTameCreature(), UnitAI::EvadeTimerExpired(), VehicleDespawnEvent::Execute(), Unit::ExecuteDelayedUnitRelocationEvent(), spell_kiljaeden_sinister_reflection_clone::FilterTargets(), spell_mutate_explode_bug::FilterTargets(), spell_kelthuzad_frost_blast::FilterTargets(), spell_sapphiron_frost_explosion::FilterTargets(), spell_eoe_ph3_surge_of_power::FilterTargets(), spell_malygos_surge_of_power_25::FilterTargets(), spell_xt002_tympanic_tantrum::FilterTargets(), spell_dk_aotd_taunt::FilterTargets(), spell_kologarn_focused_eyebeam::FilterTargetsInitial(), TimedFleeingMovementGenerator::Finalize(), RotateMovementGenerator::Finalize(), DistractMovementGenerator::Finalize(), AssistanceDistractMovementGenerator::Finalize(), AssistanceMovementGenerator::Finalize(), EffectMovementGenerator::Finalize(), Spell::finish(), ThreatReference::FlagsAllowFighting(), Acore::XP::Gain(), Unit::GetAllMinionsByEntry(), Unit::GetCreatureType(), Player::GetDefaultGossipMenuForSource(), Unit::GetFactionTemplateEntry(), WorldObject::GetGridActivationRange(), SpellScript::GetHitCreature(), boss_ick::boss_ickAI::GetKrick(), Player::GetQuestDialogStatus(), Unit::GetRandomContactPoint(), Unit::GetReactionTo(), WorldObject::GetSightRange(), WorldObject::GetSpellModOwner(), Unit::GetUnitBlockChance(), Unit::GetUnitDodgeChance(), Unit::GetUnitParryChance(), ObjectMgr::GetVehicleAccessoryList(), Unit::GetVehicleCreatureBase(), Player::GiveXP(), Group::GroupLoot(), spell_herald_volzaj_insanity::HandleAfterCast(), spell_illidari_council_empyreal_balance::HandleAfterCast(), spell_marli_transform::HandleApply(), spell_boss_magus_telestra_summon_telestra_clones_aura::HandleApply(), AuraEffect::HandleAuraModDisarm(), Aura::HandleAuraSpecificMods(), AuraEffect::HandleAuraTransform(), WorldSession::HandleCastSpellOpcode(), misc_commandscript::HandleDamageCommand(), debug_commandscript::HandleDebugCombatListCommand(), debug_commandscript::HandleDebugHostileRefListCommand(), debug_commandscript::HandleDebugSpawnVehicleCommand(), debug_commandscript::HandleDebugThreatListCommand(), misc_commandscript::HandleDieCommand(), WorldSession::HandleDismissCritter(), spell_q13007_iron_colossus::HandleDummy(), spell_gen_despawn_self::HandleDummy(), spell_item_lil_xt::HandleDummy(), spell_shadowblink::HandleDummy(), spell_pos_slave_trigger_closest::HandleDummy(), spell_warhead_detonate::HandleDummy(), spell_q11296_rivenwood_captives::HandleDummy(), spell_q12589_shoot_rjr::HandleDummy(), spell_q5561_kodo_roundup_kodo_kombobulator_despawn::HandleDummyEffect(), spell_herald_volzaj_insanity::HandleDummyEffect(), spell_item_rocket_chicken::HandleDummyTick(), spell_mc_play_dead_aura::HandleEffectApply(), spell_uldaman_stoned_aura::HandleEffectApply(), spell_teron_gorefiend_shadowy_construct::HandleEffectApply(), spell_hydross_cleansing_field_aura::HandleEffectApply(), spell_gen_feign_death_all_flags::HandleEffectApply(), spell_gen_feign_death_no_dyn_flag::HandleEffectApply(), spell_gen_feign_death_no_prevent_emotes::HandleEffectApply(), spell_valkyr_ball_periodic_dummy_aura::HandleEffectPeriodic(), spell_ulduar_random_aggro_periodic::HandleEffectPeriodic(), spell_hodir_flash_freeze_aura::HandleEffectPeriodic(), spell_mc_play_dead_aura::HandleEffectRemove(), spell_uldaman_stoned_aura::HandleEffectRemove(), spell_dtk_raise_dead_aura::HandleEffectRemove(), spell_q11919_q11940_drake_hunt_aura::HandleEffectRemove(), spell_riding_jokkum::HandleEffectRemove(), spell_hydross_cleansing_field_aura::HandleEffectRemove(), spell_gen_feign_death_all_flags::HandleEffectRemove(), spell_gen_feign_death_no_dyn_flag::HandleEffectRemove(), spell_gen_feign_death_no_prevent_emotes::HandleEffectRemove(), AuraEffect::HandleFeignDeath(), spell_mirkblood_blood_mirror_target_picker::HandleHit(), spell_hate_to_zero::HandleHit(), spell_chapter5_return_to_capital::HandleHit(), spell_item_toxic_wasteling::HandleJump(), npc_commandscript::HandleNpcSetEntryCommand(), npc_commandscript::HandleNpcSetFactionTempIdCommand(), npc_commandscript::HandleNpcSetOriginalFaction(), spell_burning_maul::HandleOnApply(), spell_hun_taming_the_beast::HandleOnEffectApply(), spell_warhead_fuse_aura::HandleOnEffectRemove(), spell_hun_taming_the_beast::HandleOnEffectRemove(), spell_mutate_explode_bug::HandleOnHit(), spell_burning_maul::HandleOnRemove(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), AuraEffect::HandlePeriodicTriggerSpellWithValueAuraTick(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCastSpellOpcode(), AuraEffect::HandlePhase(), WorldSession::HandleQuestgiverChooseRewardOpcode(), WorldSession::HandleQuestgiverStatusQueryOpcode(), spell_kiljaeden_darkness_aura::HandleRemove(), spell_marli_transform::HandleRemove(), spell_boss_magus_telestra_summon_telestra_clones_aura::HandleRemove(), misc_commandscript::HandleRespawnCommand(), spell_taldaram_summon_flame_ball::HandleScript(), spell_putricide_unstable_experiment::HandleScript(), spell_the_lich_king_vile_spirit_move_target_search::HandleScript(), spell_shazzrah_gate_dummy::HandleScript(), spell_ayamiss_swarmer_swarm::HandleScript(), spell_gen_ayamiss_swarmer_loop::HandleScript(), spell_festergut_pungent_blight::HandleScript(), spell_rotface_little_ooze_combine::HandleScript(), spell_rotface_large_ooze_combine::HandleScript(), spell_rotface_large_ooze_buff_combine::HandleScript(), spell_malygos_vortex_dummy::HandleScript(), spell_vehicle_grab_pyrite::HandleScript(), spell_freya_attuned_to_nature_dose_reduction::HandleScript(), spell_shredder_delivery::HandleScript(), spell_despawn_underbog_mushrooms::HandleScript(), spell_q13011_bear_flank_master::HandleScript(), spell_q12690_burst_at_the_seams::HandleScript(), spell_illidan_cage_trap::HandleScriptEffect(), spell_volazj_whisper::HandleScriptEffect(), spell_gluth_decimate::HandleScriptEffect(), spell_hawk_hunting::HandleScriptEffect(), spell_pri_lightwell::HandleScriptEffect(), Unit::HandleSpellClick(), spell_q11065_wrangle_some_aether_rays_aura::if(), CharmInfo::InitCharmCreateSpells(), CharmInfo::InitPossessCreateSpells(), TempSummon::InitSummon(), Vehicle::InstallAccessory(), Unit::InterruptSpell(), SmartScript::IsCharmedCreature(), Player::isHonorOrXPTarget(), Unit::IsInPartyWith(), Unit::IsInRaidWith(), Unit::isSpellBlocked(), npc_burning_spirit::IsSummonedBy(), npc_risen_guardian::npc_risen_guardianAI::IsSummonedBy(), boss_freya_summons::IsSummonedBy(), npc_supremus_punch_invisible_stalker::IsSummonedBy(), npc_infernal_attacker::npc_infernal_attackerAI::IsSummonedBy(), PathGenerator::IsSwimmableSegment(), npc_gunship::npc_gunshipAI::JustDied(), npc_pallid_horror::JustDied(), npc_rinji::npc_rinjiAI::JustEngagedWith(), boss_hexlord_malacrass::JustEngagedWith(), boss_fathomguard_sharkkis::JustEngagedWith(), boss_high_astromancer_solarian::JustEngagedWith(), Unit::Kill(), npc_netherspite_infernal::KilledUnit(), spell_svalna_revive_champion::Land(), spell_malchezaar_enfeeble::Load(), Pet::LoadPetFromDB(), WorldObject::MagicSpellHitResult(), Condition::Meets(), Unit::MeleeSpellHitResult(), npc_brew_bubble::MoveInLineOfSight(), npc_dkc1_gothik::MoveInLineOfSight(), npc_aged_dying_ancient_kodo::MoveInLineOfSight(), npc_khunok_the_behemoth::npc_khunok_the_behemothAI::MoveInLineOfSight(), npc_ancestral_wolf::npc_ancestral_wolfAI::MoveInLineOfSight(), boss_captain_skarloc::MovementInform(), npc_hover_disk::MovementInform(), npc_enslaved_proto_drake::MovementInform(), npc_janalai_hatcher::MovementInform(), MotionMaster::MoveSeekAssistance(), MotionMaster::MoveTargetedHome(), Group::NeedBeforeGreed(), npc_claw_tentacle::npc_claw_tentacle(), npc_eye_tentacle::npc_eye_tentacle(), npc_giant_claw_tentacle::npc_giant_claw_tentacle(), npc_giant_eye_tentacle::npc_giant_eye_tentacle(), ScriptMgr::OnAddPassenger(), spell_scholomance_boon_of_life_aura::OnApply(), spell_halion_twilight_phasing_aura::OnApply(), spell_systems_shutdown_aura::OnApply(), spell_gen_steal_weapon::OnApply(), spell_pilgrims_bounty_serve_generic::OnAuraRemove(), achievement_volunteer_work::OnCheck(), achievement_ive_gone_and_made_a_mess::OnCheck(), achievement_flu_shot_shortage::OnCheck(), achievement_smell_saronite::OnCheck(), achievement_shadowdodger::OnCheck(), achievement_cheese_the_freeze::OnCheck(), achievement_getting_cold_in_here::OnCheck(), achievement_i_could_say_that_this_cache_was_rare::OnCheck(), achievement_i_have_the_coolest_friends::OnCheck(), achievement_ignis_shattered::OnCheck(), achievement_mimiron_firefighter::OnCheck(), achievement_mimiron_set_up_us_the_bomb_11::OnCheck(), achievement_mimiron_set_up_us_the_bomb_12::OnCheck(), achievement_mimiron_set_up_us_the_bomb_13::OnCheck(), achievement_quick_shave::OnCheck(), spell_item_mind_amplify_dish::OnDummyEffect(), Player::OnGossipSelect(), SmartScript::OnInitialize(), ScriptMgr::OnInstall(), ScriptMgr::OnInstallAccessory(), spell_illidan_demon_transform1_aura::OnPeriodic(), spell_item_eye_of_grillok_aura::OnPeriodic(), spell_illidan_demon_transform2_aura::OnPeriodic(), spell_scholomance_boon_of_life_aura::OnRemove(), spell_electrial_storm::OnRemove(), spell_threatening_gaze_aura::OnRemove(), spell_halion_twilight_phasing_aura::OnRemove(), spell_malygos_vortex_visual::OnRemove(), spell_systems_shutdown_aura::OnRemove(), spell_dragonblight_devour_ghoul_periodic::OnRemove(), spell_kaelthas_flame_strike::OnRemove(), spell_gen_steal_weapon::OnRemove(), spell_q12937_relief_for_the_fallen::OnRemove(), ScriptMgr::OnRemovePassenger(), ScriptMgr::OnReset(), ScriptMgr::OnUninstall(), instance_karazhan::instance_karazhan_InstanceMapScript::OnUnitDeath(), instance_zulaman::instance_zulaman_InstanceMapScript::OnUnitDeath(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::OnUnitDeath(), instance_ruins_of_ahnqiraj::instance_ruins_of_ahnqiraj_InstanceMapScript::OnUnitDeath(), instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript::OnUnitDeath(), instance_azjol_nerub::instance_azjol_nerub_InstanceScript::OnUnitDeath(), instance_gundrak::instance_gundrak_InstanceMapScript::OnUnitDeath(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnUnitDeath(), instance_ulduar::instance_ulduar_InstanceMapScript::OnUnitDeath(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnUnitDeath(), SplineHandler::operator()(), Acore::AnyUnfriendlyUnitInObjectRangeCheck::operator()(), Acore::AnyUnfriendlyNoTotemUnitInObjectRangeCheck::operator()(), Acore::NearestAttackableNoTotemUnitInObjectRangeCheck::operator()(), Acore::AnyAoETargetUnitInObjectRangeCheck::operator()(), DoorsGuidCheck::operator()(), Acore::WorldObjectSpellAreaTargetCheck::operator()(), FlameLeviathanPursuedTargetSelector::operator()(), MysticBuffetTargetFilter::operator()(), npc_ulduar_leviathan_mkii::PassengerBoarded(), npc_ulduar_vx001::PassengerBoarded(), npc_wintergarde_gryphon::PassengerBoarded(), Unit::PatchValuesUpdate(), spell_summoning_rhyme_aura::PeriodicTick(), Unit::PetSpellFail(), spell_halion_twilight_phasing::Phase(), boss_kaelthas::PhaseEnchantedWeaponsExecute(), Spell::prepare(), Spell::prepareDataForTriggerSystem(), Player::PrepareGossipMenu(), SmartScript::ProcessAction(), ThreatManager::ProcessAIUpdates(), Unit::ProcessTerrainStatusUpdate(), Unit::RemoveAllMinionsByEntry(), Map::RemoveAllObjectsInRemoveList(), Unit::RemoveCharmedBy(), Vehicle::RemovePassenger(), Map::RemoveWorldObjectFromFarVisibleMap(), boss_felblood_kaelthas::Reset(), npc_zuljin_vortex::Reset(), Unit::RestoreFaction(), CharmInfo::RestoreState(), KillRewarder::Reward(), Player::RewardHonor(), Player::RewardReputation(), Unit::RollMeleeOutcomeAgainst(), Spell::SelectImplicitTrajTargets(), FactorySelector::SelectMovementGenerator(), boss_selin_fireheart::SelectNearestCrystal(), PetAI::SelectNextTarget(), spell_putricide_ooze_channel::SelectTarget(), spell_the_lich_king_valkyr_target_search::SelectTarget(), spell_item_sleepy_willy::SelectTarget(), spell_item_fetch_ball::SelectTarget(), Player::SendPreparedGossip(), Player::SendTaxiNodeStatusMultiple(), spell_malygos_surge_of_power_warning_selector_25::SendThreeTargets(), Unit::SetCharmedBy(), Player::SetClientControl(), Unit::SetControlled(), Unit::SetFacingToObject(), Unit::SetFaction(), Unit::SetHealth(), Unit::SetMaxHealth(), Unit::SetMaxPower(), Unit::SetPower(), Unit::setPowerType(), Unit::SpellDamageBonusDone(), npc_ulduar_flames_spread::SpellHit(), npc_living_constellation::SpellHit(), npc_soh_fire_trigger::SpellHit(), boss_magus_telestra::SpellHit(), WorldObject::SpellHitResult(), WorldObject::SpellHitResult(), npc_q24545_lich_king::npc_q24545_lich_kingAI::SpellHitTarget(), npc_pilgrims_bounty_chair::SpellHitTarget(), npc_anubisath_sentinel::aqsentinelAI::SpellHitTarget(), boss_krik_thir::boss_krik_thirAI::SpellHitTarget(), npc_necropolis_health::SpellHitTarget(), spell_putricide_ooze_channel::StartAttack(), Player::StopCastingCharm(), Map::SummonCreature(), Player::SummonPet(), ThreatReferenceImpl::ThreatReferenceImpl(), spell_igb_check_for_players::TriggerWipe(), Map::Update(), Spell::update(), SimpleCharmedAI::UpdateAI(), boss_gothik::boss_gothikAI::UpdateAI(), boss_thaddius::boss_thaddiusAI::UpdateAI(), WorldObject::UpdateAllowedPositionZ(), Unit::UpdateCharmAI(), Player::UpdateCharmedAI(), StaticTransport::UpdatePassengerPositions(), MotionTransport::UpdatePassengerPositions(), Unit::UpdatePosition(), Unit::UpdateSpeed(), Unit::UpdateSplinePosition(), Player::UpdateVisibilityOf(), Player::UpdateWeaponSkill(), Player::VehicleSpellInitialize(), and Acore::AIRelocationNotifier::Visit().

◆ ToCreature() [2/2]

Creature const * Object::ToCreature ( ) const
inline
213{ if (IsCreature()) return reinterpret_cast<Creature const*>(this); else return nullptr; }

References IsCreature().

◆ ToDynObject() [1/2]

DynamicObject * Object::ToDynObject ( )
inline

◆ ToDynObject() [2/2]

DynamicObject const * Object::ToDynObject ( ) const
inline
229{ if (IsDynamicObject()) return reinterpret_cast<DynamicObject const*>(this); else return nullptr; }

References IsDynamicObject().

◆ ToGameObject() [1/2]

GameObject * Object::ToGameObject ( )
inline
220{ if (IsGameObject()) return reinterpret_cast<GameObject*>(this); else return nullptr; }
bool IsGameObject() const
Definition Object.h:219

References IsGameObject().

Referenced by Map::_ScriptProcessDoor(), Player::AddQuestAndCheckCompletion(), Map::AddWorldObjectToFarVisibleMap(), Map::ApplyDynamicModeRespawnScaling(), BuildMovementUpdate(), WorldObject::CanSeeOrDetect(), CastSpellTargetArg::CastSpellTargetArg(), MotionTransport::DelayedTeleportTransport(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), Player::GetDefaultGossipMenuForSource(), SpellScript::GetGObjCaster(), SpellCastTargets::GetGOTarget(), WorldObject::GetGridActivationRange(), Player::GetQuestDialogStatus(), WorldObject::GetSpellModOwner(), TempSummon::GetSummonerGameObject(), GetUpdateFieldData(), Group::GroupLoot(), spell_zulfarrak_unlocking::HandleOpenLock(), WorldSession::HandleQuestgiverChooseRewardOpcode(), Player::HaveAtClient(), TempSummon::InitSummon(), SmartAI::IsSummonedBy(), ObjectVisibilityContainer::LinkWorldObjectVisibility(), Condition::Meets(), Group::NeedBeforeGreed(), SmartScript::OnInitialize(), Acore::WorldObjectSpellAreaTargetCheck::operator()(), Player::PrepareGossipMenu(), SmartScript::ProcessAction(), BattlefieldWG::ProcessEvent(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::ProcessEvent(), Map::RemoveAllObjectsInRemoveList(), Map::RemoveWorldObjectFromFarVisibleMap(), Map::ScriptsProcess(), Spell::SelectEffectTypeImplicitTargets(), Spell::SelectImplicitAreaTargets(), Spell::SelectImplicitConeTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SelectImplicitTargetObjectTargets(), SmartAI::SetData(), SmartGameObjectAI::SetData(), npc_simon_bunny::npc_simon_bunnyAI::StartGame(), npc_belnistrasz::npc_belnistraszAI::UpdateAI(), StaticTransport::UpdatePassengerPositions(), and MotionTransport::UpdatePassengerPositions().

◆ ToGameObject() [2/2]

GameObject const * Object::ToGameObject ( ) const
inline
221{ if (IsGameObject()) return reinterpret_cast<GameObject const*>(this); else return nullptr; }

References IsGameObject().

◆ ToggleFlag()

void Object::ToggleFlag ( uint16  index,
uint32  flag 
)
869{
870 if (HasFlag(index, flag))
871 {
872 RemoveFlag(index, flag);
873 }
874 else
875 {
876 SetFlag(index, flag);
877 }
878}
bool HasFlag(uint16 index, uint32 flag) const
Definition Object.cpp:880

References HasFlag(), RemoveFlag(), and SetFlag().

Referenced by WorldSession::HandleTogglePvP(), Player::ToggleAFK(), and Player::ToggleDND().

◆ ToggleFlag64()

void Object::ToggleFlag64 ( uint16  index,
uint64  flag 
)
962{
963 if (HasFlag64(index, flag))
964 {
965 RemoveFlag64(index, flag);
966 }
967 else
968 {
969 SetFlag64(index, flag);
970 }
971}
bool HasFlag64(uint16 index, uint64 flag) const
Definition Object.cpp:973

References HasFlag64(), RemoveFlag64(), and SetFlag64().

◆ ToPlayer() [1/2]

Player * Object::ToPlayer ( )
inline
208{ if (IsPlayer()) return reinterpret_cast<Player*>(this); else return nullptr; }
bool IsPlayer() const
Definition Object.h:207

References IsPlayer().

Referenced by Aura::_ApplyForTarget(), Spell::_cast(), Unit::_CreateAuraApplication(), Unit::_EnterVehicle(), Unit::_ExitVehicle(), Map::_GetScriptPlayer(), Map::_GetScriptPlayerSourceOrTarget(), Spell::_handle_finish_phase(), Unit::_IsValidAssistTarget(), Unit::_IsValidAttackTarget(), Aura::_UnapplyForTarget(), Unit::_UpdateAutoRepeatSpell(), spell_rog_cheat_death::Absorb(), Unit::AddGameObject(), Vehicle::AddPassenger(), MotionTransport::AddPassenger(), StaticTransport::AddPassenger(), Unit::AddPetAura(), Player::AddQuest(), Pet::AddToWorld(), AuraEffect::ApplySpellMod(), Unit::Attack(), TotemAI::AttackStart(), npc_toc5_player_vehicle::npc_toc5_player_vehicleAI::BeforeSpellClick(), ChatHandler::BuildChatPacket(), WorldObject::BuildUpdate(), Unit::CalcArmorReducedDamage(), spell_dk_anti_magic_zone::CalculateAmount(), spell_gen_vehicle_scaling_aura::CalculateAmount(), AuraEffect::CalculateAmount(), PetAI::CanAttack(), Spell::cancel(), Spell::CancelGlobalCooldown(), WorldObject::CanDetect(), WorldObject::CanDetectStealthOf(), Player::CanInteractWithQuestGiver(), Spell::CanOpenLock(), Map::CanReachPositionAndGetValidCoords(), WorldObject::CanSeeOrDetect(), SpellMgr::CanSpellTriggerProcOnEvent(), Player::CastItemUseSpell(), Pet::CastPetAuras(), spell_portal_effect_acherus::CheckCast(), spell_yogg_saron_in_the_maws_of_the_old_god::CheckCast(), spell_hun_tame_beast::CheckCast(), spell_hun_bestial_wrath::CheckCast(), spell_hun_kill_command::CheckCast(), spell_q5561_kodo_roundup_kodo_kombobulator::CheckCast(), Spell::CheckCast(), SmartAI::CheckConditions(), VehicleAI::CheckConditions(), Spell::CheckEffectTarget(), spell_brewfest_relay_race_force_cast::CheckItem(), Spell::CheckItems(), modify_commandscript::CheckModifySpeed(), Spell::CheckPower(), spell_dk_dancing_rune_weapon::CheckProc(), spell_dk_advantage_t10_4p::CheckProc(), spell_dk_blade_barrier::CheckProc(), spell_dk_death_rune::CheckProc(), spell_dru_t10_restoration_4p_bonus_dummy::CheckProc(), spell_hun_t9_4p_bonus::CheckProc(), spell_sha_flametongue_weapon::CheckProc(), spell_sha_windfury_weapon::CheckProc(), Spell::CheckRange(), spell_dk_raise_dead::CheckReagents(), spell_ulduar_teleporter::CheckRequirement(), spell_item_demon_broiled_surprise::CheckRequirement(), Spell::CheckRuneCost(), SpellInfo::CheckTarget(), Unit::ClearInCombat(), Unit::CombatStop(), Unit::CreateTamedPetFrom(), Unit::CreateTamedPetFrom(), npc_unkor_the_ruthless::npc_unkor_the_ruthlessAI::DamageTaken(), Unit::DealDamage(), Unit::DealHeal(), Unit::DealMeleeDamage(), Spell::Delayed(), Spell::DelayedChannel(), MotionTransport::DelayedTeleportTransport(), Unit::Dismount(), Spell::DoAllEffectOnTarget(), spell_hun_masters_call::DoCheckCast(), Spell::DoCreateItem(), Spell::DoSpellHitOnUnit(), ScriptedAI::DoTeleportPlayer(), Spell::EffectActivateRune(), Spell::EffectActivateSpec(), Spell::EffectAddHonor(), Spell::EffectApplyGlyph(), Spell::EffectBind(), Spell::EffectBlock(), Spell::EffectCastButtons(), Spell::EffectCharge(), Spell::EffectChargeDest(), Spell::EffectCreateItem2(), Spell::EffectCreateRandomItem(), Spell::EffectCreateTamedPet(), Spell::EffectDiscoverTaxi(), Spell::EffectDisEnchant(), Spell::EffectDuel(), Spell::EffectDummy(), Spell::EffectDurabilityDamage(), Spell::EffectDurabilityDamagePCT(), Spell::EffectEnchantHeldItem(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectEnvironmentalDMG(), Spell::EffectFeedPet(), Spell::EffectHeal(), Spell::EffectInebriate(), Spell::EffectInstaKill(), Spell::EffectJump(), Spell::EffectJumpDest(), Spell::EffectKnockBack(), Spell::EffectLeapBack(), Spell::EffectLearnPetSpell(), Spell::EffectLearnSkill(), Spell::EffectLearnSpell(), Spell::EffectMilling(), Spell::EffectOpenLock(), Spell::EffectParry(), Spell::EffectPickPocket(), Spell::EffectPlayMusic(), Spell::EffectPlaySound(), Spell::EffectProficiency(), Spell::EffectProspecting(), Spell::EffectPullTowards(), Spell::EffectQuestClear(), Spell::EffectQuestComplete(), Spell::EffectQuestFail(), Spell::EffectQuestStart(), Spell::EffectRechargeManaGem(), Spell::EffectReputation(), Spell::EffectResurrect(), Spell::EffectResurrectNew(), Spell::EffectResurrectPet(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectSelfResurrect(), Spell::EffectSendTaxi(), Spell::EffectSkinning(), Spell::EffectSkinPlayerCorpse(), Spell::EffectSpecCount(), Spell::EffectStuck(), Spell::EffectSummonChangeItem(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPet(), Spell::EffectSummonPlayer(), Spell::EffectSummonRaFFriend(), Spell::EffectTameCreature(), Spell::EffectTeleportUnits(), Spell::EffectTitanGrip(), Spell::EffectTransmitted(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), Spell::EffectUnlearnSpecialization(), Spell::EffectUntrainTalents(), Spell::EffectWeaponDmg(), SmartAI::EndPath(), Unit::EnterVehicle(), Unit::ExecuteDelayedUnitRelocationEvent(), Unit::ExitVehicle(), spell_class_call_handler::FilterTargets(), spell_class_call_polymorph::FilterTargets(), spell_shazzrah_gate_dummy::FilterTargets(), spell_moam_mana_drain_filter::FilterTargets(), Spell::finish(), WorldObject::GetAffectingPlayer(), Unit::GetAffectingPlayer(), Unit::GetAPMultiplier(), WorldObject::GetCharmerOrOwnerPlayerOrPlayerItself(), Unit::GetCharmerOrOwnerPlayerOrPlayerItself(), Unit::GetCombatRatingReduction(), Unit::GetDefenseSkillValue(), Unit::GetFactionTemplateEntry(), WorldObject::GetGridActivationRange(), SpellScript::GetHitPlayer(), WorldObject::GetLeewayBonusRadius(), WorldObject::GetLeewayBonusRange(), Unit::GetModelForForm(), Unit::GetNextRandomRaidMemberOrPet(), Unit::GetPartyMembers(), Aura::GetProcEffectMask(), WorldObject::GetSightRange(), WorldObject::GetSpellModOwner(), Unit::GetSpellModOwner(), SmartScript::GetTargets(), Unit::GetUnitBlockChance(), Unit::GetUnitDodgeChance(), Unit::GetUnitMissChance(), Unit::GetUnitParryChance(), Unit::GetWeaponSkillValue(), go_soulwell::go_soulwellAI::GossipHello(), spell_dru_berserk::HandleAfterCast(), spell_braziers_hit::HandleAfterEffectApply(), spell_brewfest_fill_keg::HandleAfterHit(), spell_brewfest_unfill_keg::HandleAfterHit(), spell_rog_deadly_poison::HandleAfterHit(), AuraEffect::HandleAuraAllowOnlyAbility(), AuraEffect::HandleAuraConvertRune(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraFeatherFall(), AuraEffect::HandleAuraGhost(), AuraEffect::HandleAuraHover(), AuraEffect::HandleAuraModAttackPowerOfArmor(), AuraEffect::HandleAuraModBlockPercent(), AuraEffect::HandleAuraModCritPct(), AuraEffect::HandleAuraModDecreaseSpeed(), AuraEffect::HandleAuraModDisarm(), AuraEffect::HandleAuraModDodgePercent(), AuraEffect::HandleAuraModEffectImmunity(), AuraEffect::HandleAuraModExpertise(), AuraEffect::HandleAuraModFakeInebriation(), AuraEffect::HandleAuraModIncreaseFlightSpeed(), AuraEffect::HandleAuraModIncreaseSpeed(), AuraEffect::HandleAuraModIncreaseSwimSpeed(), AuraEffect::HandleAuraModParryPercent(), AuraEffect::HandleAuraModPetTalentsPoints(), AuraEffect::HandleAuraModRangedAttackPowerOfStatPercent(), AuraEffect::HandleAuraModShapeshift(), AuraEffect::HandleAuraModSkill(), AuraEffect::HandleAuraModUseNormalSpeed(), AuraEffect::HandleAuraModWeaponCritPercent(), AuraEffect::HandleAuraOpenStable(), AuraEffect::HandleAuraOverrideSpells(), Unit::HandleAuraRaidProcFromChargeWithValue(), AuraEffect::HandleAuraSetVehicle(), Aura::HandleAuraSpecificMods(), AuraEffect::HandleAuraTransform(), AuraEffect::HandleAuraWaterWalk(), AuraEffect::HandleBindSight(), WorldSession::HandleCastSpellOpcode(), AuraEffect::HandleChannelDeathItem(), misc_commandscript::HandleDamageCommand(), debug_commandscript::HandleDebugSendOpcodeCommand(), misc_commandscript::HandleDieCommand(), WorldSession::HandleDismissControlledVehicle(), spell_gen_oracle_wolvar_reputation::HandleDummy(), spell_pos_slave_trigger_closest::HandleDummy(), spell_q12096_q12092_dummy::HandleDummy(), spell_q12589_shoot_rjr::HandleDummy(), spell_gen_spirit_healer_res::HandleDummy(), spell_hun_masters_call::HandleDummy(), spell_hun_readiness::HandleDummy(), spell_hun_scatter_shot::HandleDummy(), spell_item_brewfest_mount_transformation::HandleDummy(), spell_item_teach_language::HandleDummy(), spell_item_rocket_boots::HandleDummy(), spell_item_chicken_cover::HandleDummy(), spell_item_refocus::HandleDummy(), spell_mage_cold_snap::HandleDummy(), spell_mage_summon_water_elemental::HandleDummy(), spell_q10714_on_spirits_wings::HandleDummy(), spell_q6124_6129_apply_salve::HandleDummy(), spell_q12659_ahunaes_knife::HandleDummy(), spell_q9874_liquid_fire::HandleDummy(), spell_q9452_cast_net::HandleDummy(), spell_rog_preparation::HandleDummy(), spell_warl_life_tap::HandleDummy(), spell_image_of_drakuru_reagent_check::HandleDummyEffect(), spell_herald_volzaj_insanity::HandleDummyEffect(), spell_rog_vanish::HandleEffect(), spell_catch_the_wild_wolpertinger::HandleEffectApply(), spell_dk_master_of_ghouls::HandleEffectApply(), spell_item_party_time::HandleEffectApply(), spell_rog_honor_among_thieves_proc_aura::HandleEffectApply(), spell_rog_killing_spree_aura::HandleEffectPeriodic(), spell_rog_prey_on_the_weak::HandleEffectPeriodic(), spell_brewfest_main_ram_buff::HandleEffectPeriodic(), spell_inoculate_nestlewood_owlkin::HandleEffectRemove(), spell_dk_master_of_ghouls::HandleEffectRemove(), AuraEffect::HandleFarSight(), AuraEffect::HandleFeignDeath(), spell_midsummer_fling_torch::HandleFinish(), spell_the_flag_of_ownership::HandleFinish(), spell_q12014_steady_as_a_rock::HandleFinish(), AuraEffect::HandleForceReaction(), spell_chapter2_persuasive_strike::HandleHit(), spell_chapter5_return_to_capital::HandleHit(), honor_commandscript::HandleHonorAddKillCommand(), spell_item_massive_seaforium_charge::HandleItemRemove(), OutdoorPvPNA::HandleKill(), BattlefieldWG::HandleKill(), OutdoorPvPHP::HandleKillImpl(), OutdoorPvPNA::HandleKillImpl(), OutdoorPvPZM::HandleKillImpl(), spell_q12690_burst_at_the_seams::HandleKnockBack(), WorldSession::HandleMirrorImageDataRequest(), AuraEffect::HandleModDamageDone(), AuraEffect::HandleModHealingDone(), AuraEffect::HandleModHitChance(), modify_commandscript::HandleModifyBitCommand(), modify_commandscript::HandleModifyPhaseCommand(), modify_commandscript::HandleModifyScaleCommand(), modify_commandscript::HandleModifyTalentCommand(), AuraEffect::HandleModManaRegen(), AuraEffect::HandleModPossessPet(), AuraEffect::HandleModPowerRegen(), AuraEffect::HandleModRating(), AuraEffect::HandleModRatingFromStat(), AuraEffect::HandleModSpellCritChance(), AuraEffect::HandleModSpellCritChanceShool(), AuraEffect::HandleModSpellDamagePercentFromAttackPower(), AuraEffect::HandleModSpellDamagePercentFromStat(), AuraEffect::HandleModSpellHealingPercentFromAttackPower(), AuraEffect::HandleModSpellHealingPercentFromStat(), AuraEffect::HandleModSpellHitChance(), AuraEffect::HandleModStealth(), modify_commandscript::HandleMorphMountCommand(), modify_commandscript::HandleMorphResetCommand(), modify_commandscript::HandleMorphTargetCommand(), WorldSession::HandleMoveFlagChangeOpcode(), WorldSession::HandleMoveKnockBackAck(), WorldSession::HandleMovementOpcodes(), WorldSession::HandleMoverRelocation(), WorldSession::HandleMoveTeleportAck(), AuraEffect::HandlePeriodicDummyAuraTick(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCastSpellOpcode(), WorldSession::HandlePetRename(), AuraEffect::HandlePhase(), WorldSession::HandlePlayerLoginOpcode(), spell_dk_rime::HandleProc(), spell_mage_glyph_of_ice_block::HandleProc(), spell_warr_sword_and_board::HandleProc(), spell_karazhan_wrath_titans_aura::HandleProc(), spell_dk_glyph_of_death_grip::HandleProc(), spell_dru_leader_of_the_pack::HandleProc(), spell_gen_adaptive_warding::HandleProc(), spell_gen_obsidian_armor::HandleProc(), spell_hun_thrill_of_the_hunt::HandleProc(), spell_hun_t9_4p_bonus::HandleProc(), spell_item_tiny_abomination_in_a_jar::HandleProc(), spell_item_tiny_abomination_in_a_jar_hero::HandleProc(), spell_sha_flametongue_weapon::HandleProc(), spell_sha_windfury_weapon::HandleProc(), spell_dk_death_rune::HandleProc(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), spell_dk_raise_dead::HandleRaiseDead(), spell_scourge_disguise_instability::HandleRemove(), spell_pvp_trinket_wotf_shared_cd::HandleScript(), spell_the_flag_of_ownership::HandleScript(), spell_gen_pet_summoned::HandleScript(), spell_gen_teleporting::HandleScript(), spell_gen_divine_storm_cd_reset::HandleScript(), spell_gen_profession_research::HandleScript(), spell_gen_whisper_to_controller::HandleScript(), spell_item_dimensional_ripper_area52::HandleScript(), spell_item_book_of_glyph_mastery::HandleScript(), spell_item_worn_troll_dice::HandleScript(), spell_item_decahedral_dwarven_dice::HandleScript(), spell_q12274_a_fall_from_grace_costume::HandleScript(), spell_q12805_lifeblood_dummy::HandleScript(), spell_ioc_gunship_portal::HandleScript2(), spell_item_feast::HandleScriptEffect(), spell_hun_chimera_shot::HandleScriptEffect(), AuraEffect::HandleShapeshiftBoosts(), AuraEffect::HandleShieldBlockValue(), AuraEffect::HandleShieldBlockValuePercent(), AuraEffect::HandleSpiritOfRedemption(), spell_putricide_mutated_transformation::HandleSummon(), spell_q13010_jokkum_summon::HandleSummon(), spell_capacitus_polarity_charge::HandleTargets(), spell_thaddius_pos_neg_charge::HandleTargets(), spell_warl_drain_soul::HandleTick(), spell_pri_lightwell_renew::HandleUpdateSpellclick(), AuraEffect::HandleWaterBreathing(), Spell::HasGlobalCooldown(), Unit::haveOffhandWeapon(), spell_q11065_wrangle_some_aether_rays_aura::if(), spell_gen_have_item_auras::if(), Spell::InitExplicitTargets(), npc_troll_volunteer::npc_troll_volunteerAI::InitializeAI(), TempSummon::InitStats(), Guardian::InitStatsForLevel(), Pet::InitTalentForLevel(), Unit::InitTamedPet(), Unit::InterruptSpell(), Player::IsAlwaysDetectableFor(), Unit::IsAlwaysDetectableFor(), Unit::IsAlwaysVisibleFor(), DisableMgr::IsDisabledFor(), SpellClickInfo::IsFitToRequirements(), go_wg_vehicle_teleporter::go_wg_vehicle_teleporterAI::IsFriendly(), Unit::isInAccessiblePlaceFor(), Unit::IsInPartyWith(), Unit::IsInRaidWith(), npc_tiger_matriarch::npc_tiger_matriarchAI::IsSummonedBy(), boss_kologarn_eyebeam::IsSummonedBy(), boss_yoggsaron_constrictor_tentacle::IsSummonedBy(), npc_spiritual_insight::npc_spiritual_insightAI::IsSummonedBy(), npc_infra_green_bomber_generic::npc_infra_green_bomber_genericAI::IsSummonedBy(), npc_kservant::npc_kservantAI::IsSummonedBy(), npc_pet_dk_ghoul::IsSummonedBy(), npc_venomhide_hatchling::npc_venomhide_hatchlingAI::IsSummonedBy(), Unit::isTargetableForAttack(), Unit::JumpTo(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), boss_flame_leviathan_defense_turret::JustDied(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::JustDied(), boss_the_lich_king::boss_the_lich_kingAI::JustEngagedWith(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::JustEngagedWith(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::JustEngagedWith(), boss_festergut::boss_festergutAI::JustEngagedWith(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustEngagedWith(), boss_professor_putricide::boss_professor_putricideAI::JustEngagedWith(), boss_rotface::boss_rotfaceAI::JustEngagedWith(), boss_sindragosa::boss_sindragosaAI::JustEngagedWith(), npc_torturer_lecraft::npc_torturer_lecraftAI::JustEngagedWith(), npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI::JustEnteredCombat(), Unit::Kill(), boss_flame_leviathan_defense_turret::KilledUnit(), Unit::KnockbackFrom(), ObjectVisibilityContainer::LinkWorldObjectVisibility(), spell_chapter2_persuasive_strike::Load(), spell_dk_death_rune::Load(), spell_rog_cheat_death::Load(), Pet::LoadPetFromDB(), WorldObject::MagicSpellHitResult(), Condition::Meets(), AchievementCriteriaData::Meets(), Unit::MeleeSpellHitResult(), Unit::Mount(), MotionMaster::MoveFall(), npc_dkc1_gothik::MoveInLineOfSight(), npc_the_scourge_cauldron::npc_the_scourge_cauldronAI::MoveInLineOfSight(), npc_andorhal_tower::npc_andorhal_towerAI::MoveInLineOfSight(), boss_nalorakk::MoveInLineOfSight(), npc_brewfest_keg_thrower::MoveInLineOfSight(), npc_brewfest_keg_reciver::MoveInLineOfSight(), npc_brewfest_bark_trigger::MoveInLineOfSight(), npc_winterfin_playmate::MoveInLineOfSight(), npc_snowfall_glade_playmate::MoveInLineOfSight(), npc_the_biggest_tree::MoveInLineOfSight(), npc_high_oracle_soo_roo::MoveInLineOfSight(), npc_elder_kekek::MoveInLineOfSight(), npc_the_etymidian::MoveInLineOfSight(), npc_alexstraza_the_lifebinder::MoveInLineOfSight(), npc_cw_area_trigger::npc_cw_area_triggerAI::MoveInLineOfSight(), npc_grizzlemaw_cw_trigger::npc_grizzlemaw_cw_triggerAI::MoveInLineOfSight(), npc_love_in_air_supply_sentry::MoveInLineOfSight(), npc_love_in_air_snivel::MoveInLineOfSight(), npc_ouro_spawner::MoveInLineOfSight(), npc_custodian_of_time::npc_custodian_of_timeAI::MoveInLineOfSight(), npc_twiggy_flathead::npc_twiggy_flatheadAI::MoveInLineOfSight(), npc_jenny::MoveInLineOfSight(), npc_black_knight_graveyard::npc_black_knight_graveyardAI::MoveInLineOfSight(), npc_guardian_pavilion::npc_guardian_pavilionAI::MoveInLineOfSight(), npc_jungle_punch_target::npc_jungle_punch_targetAI::MoveInLineOfSight(), npc_overlord_drakuru_betrayal::MoveInLineOfSight(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::MoveInLineOfSight(), npc_creditmarker_visit_with_ancestors::npc_creditmarker_visit_with_ancestorsAI::MoveInLineOfSight(), npc_air_force_bots::npc_air_force_botsAI::MoveInLineOfSight(), npc_injured_7th_legion_soldier::npc_injured_7th_legion_soldierAI::MovementInform(), MotionMaster::MoveTaxiFlight(), npc_pet_dk_ebon_gargoyle::MySelectNextTarget(), npc_pet_mage_mirror_image::MySelectNextTarget(), Unit::NearTeleportTo(), modify_commandscript::NotifyModification(), spell_dru_rejuvenation_moonglade_2_set::OnApply(), spell_gen_clone_weapon_aura::OnApply(), spell_gen_steal_weapon::OnApply(), npc_chesspiece::OnCharmed(), npc_pet_dk_risen_ally::OnCharmed(), achievement_sickly_gazelle::OnCheck(), achievement_wg_didnt_stand_a_chance::OnCheck(), achievement_save_the_day::OnCheck(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureCreate(), spell_item_ashbringer::OnDummyEffect(), spell_gen_curse_of_pain::OnPeriodic(), spell_dru_rejuvenation_moonglade_2_set::OnRemove(), spell_mage_glyph_of_eternal_water::OnRemove(), spell_q12937_relief_for_the_fallen::OnRemove(), spell_gen_sober_up::OnRemove(), Acore::MostHPMissingGroupInRange::operator()(), UnboundPlagueTargetSelector::operator()(), UnchainedMagicTargetSelector::operator()(), npc_pilgrims_bounty_chair::PassengerBoarded(), npc_dusk::PassengerBoarded(), spell_summoning_rhyme_aura::PeriodicTick(), spell_dk_death_rune::PeriodicTick(), NPCStaveQuestAI::PlayerEligibleForReward(), Spell::prepare(), spell_item_titanium_seal_of_dalaran::PrepareSpellScript(), SmartScript::ProcessAction(), Unit::ProcSkillsAndReactives(), NPCStaveQuestAI::QuestIncomplete(), Unit::RemoveAllControlled(), DynamicObject::RemoveCasterViewpoint(), Unit::RemoveCharmedBy(), spell_warl_drain_soul::RemoveEffect(), spell_warl_shadowburn::RemoveEffect(), Unit::RemoveGameObject(), Vehicle::RemovePassenger(), MotionTransport::RemovePassenger(), StaticTransport::RemovePassenger(), Unit::RemovePetAura(), npc_pet_gen_argent_pony_bridle::Reset(), Pet::resetTalents(), Pet::resetTalentsForAllPetsOf(), Unit::RestoreFaction(), Player::RewardHonor(), Unit::RollMeleeOutcomeAgainst(), Pet::SavePetToDB(), Map::ScriptsProcess(), Spell::SelectEffectTypeImplicitTargets(), Spell::SelectImplicitCasterDestTargets(), spell_kaelthas_mind_control::SelectTarget(), Unit::SendAttackStateUpdate(), Spell::SendCastResult(), Spell::SendChannelStart(), CreatureTextMgr::SendChatPacket(), spell_igb_overheat_aura::SendClientControl(), Unit::SendComboPoints(), npc_aquementas::npc_aquementasAI::SendItem(), Spell::SendLoot(), CreatureTextMgr::SendNonChatPacket(), Unit::SendPeriodicAuraLog(), Unit::SendPetActionFeedback(), Unit::SendPetAIReaction(), Spell::SendPetCastResult(), WorldObject::SendPlayMusic(), Spell::SendSpellCooldown(), Spell::SendSpellGo(), Unit::SendSpellNonMeleeDamageLog(), WorldObject::SendSpellNonMeleeDamageLog(), Unit::SendSpellNonMeleeReflectLog(), Spell::SendSpellStart(), Unit::SendTameFailure(), Unit::SendTeleportPacket(), spell_malygos_surge_of_power_warning_selector_25::SendThreeTargets(), Acore::VisibleNotifier::SendToSelf(), DynamicObject::SetCasterViewpoint(), Unit::SetCharm(), Unit::SetCharmedBy(), Unit::SetConfused(), Unit::SetControlled(), spell_item_recall::SetDest(), Pet::SetDisplayId(), Unit::SetFeared(), Unit::SetHealth(), Unit::SetLevel(), Unit::SetMaxHealth(), Unit::SetMaxPower(), Unit::SetMinion(), Player::SetMover(), Unit::SetPower(), Unit::setPowerType(), Unit::SetSpeed(), Unit::SetStandState(), Unit::SetStunned(), Spell::Spell(), Unit::SpellBaseDamageBonusDone(), Unit::SpellBaseHealingBonusDone(), Unit::SpellDoneCritChance(), npc_rabid_thistle_bear::npc_rabid_thistle_bearAI::SpellHit(), npc_midsummer_ribbon_pole_target::SpellHit(), npc_sinkhole_kill_credit::npc_sinkhole_kill_creditAI::SpellHit(), npc_torturer_lecraft::npc_torturer_lecraftAI::SpellHit(), npc_wounded_skirmisher::SpellHit(), npc_enslaved_netherwing_drake::SpellHit(), npc_injured_patient::npc_injured_patientAI::SpellHit(), npc_garments_of_quests::npc_garments_of_questsAI::SpellHit(), npc_hallows_end_train_fire::SpellHit(), boss_viscidus::SpellHit(), npc_jungle_punch_target::npc_jungle_punch_targetAI::SpellHit(), npc_iron_watcher::npc_iron_watcherAI::SpellHit(), npc_imprisoned_beryl_sorcerer::npc_imprisoned_beryl_sorcererAI::SpellHit(), npc_pos_leader_second::npc_pos_leader_secondAI::SpellHitTarget(), boss_rotface::boss_rotfaceAI::SpellHitTarget(), npc_icc_valkyr_herald::npc_icc_valkyr_heraldAI::SpellHitTarget(), Unit::SpellPctDamageModsDone(), Unit::StopAttackFaction(), Unit::StopAttackingInvalidTarget(), Spell::SummonGuardian(), Spell::TakeAmmo(), Spell::TakeCastItem(), Spell::TakePower(), Spell::TakeReagents(), Spell::TakeRunePower(), Spell::TriggerGlobalCooldown(), SafeUnitPointer::UnitDeleted(), Totem::UnSummon(), DynamicObject::Update(), GameObject::Update(), Unit::Update(), SpellCastTargets::Update(), boss_chromaggus::UpdateAI(), npc_valkyr_battle_maiden::UpdateAI(), npc_belnistrasz::npc_belnistraszAI::UpdateAI(), boss_malygos::UpdateAI(), PetAI::UpdateAI(), PetAI::UpdateAllies(), Unit::UpdateAuraForGroup(), npc_jenny::UpdateFollowerAI(), CombatManager::UpdateOwnerCombatState(), StaticTransport::UpdatePassengerPositions(), MotionTransport::UpdatePassengerPositions(), AuraEffect::UpdatePeriodic(), Spell::UpdatePointers(), Unit::UpdatePosition(), GameObject::Use(), Acore::VisibleChangesNotifier::Visit(), and Spell::WriteAmmoToPacket().

◆ ToPlayer() [2/2]

Player const * Object::ToPlayer ( ) const
inline
209{ if (IsPlayer()) return reinterpret_cast<Player const*>(this); else return nullptr; }

References IsPlayer().

◆ ToUnit() [1/2]

Unit * Object::ToUnit ( )
inline
216{ if (IsCreature() || IsPlayer()) return reinterpret_cast<Unit*>(this); else return nullptr; }

References IsCreature(), and IsPlayer().

Referenced by Spell::_cast(), Map::_GetScriptUnit(), Spell::_handle_finish_phase(), MotionTransport::AddPassenger(), WorldObject::AddToNotify(), Spell::AddUnitTarget(), BuildMovementUpdate(), PathGenerator::BuildPolyPath(), SpellInfo::CalcPowerCost(), SpellEffectInfo::CalcRadius(), WorldObject::CalcSpellDuration(), PathGenerator::CalculatePath(), SpellEffectInfo::CalcValue(), Spell::cancel(), Spell::CancelGlobalCooldown(), WorldObject::CanDetect(), WorldObject::CanDetectInvisibilityOf(), WorldObject::CanDetectStealthOf(), WorldObject::CanNeverSee(), Spell::CanOpenLock(), Map::CanReachPositionAndGetValidCoords(), WorldObject::CanSeeOrDetect(), Aura::CanStackWith(), boss_ouro::CastGroundRupture(), CastSpellTargetArg::CastSpellTargetArg(), Spell::CheckCast(), Spell::CheckCasterAuras(), Map::CheckCollisionAndGetValidCoords(), Spell::CheckEffectTarget(), SpellInfo::CheckExplicitTarget(), Spell::CheckItems(), Spell::CheckPetCast(), Spell::CheckPower(), Spell::CheckRange(), Spell::CheckRuneCost(), SpellInfo::CheckTarget(), Aura::Create(), boss_illidari_council_memberAI::DamageTaken(), Spell::Delayed(), Spell::DelayedChannel(), Spell::DoAllEffectOnLaunchTarget(), Spell::DoAllEffectOnTarget(), Spell::DoAllEffectOnTarget(), Spell::DoCreateItem(), Spell::DoSpellHitOnUnit(), Spell::DoTriggersOnSpellHit(), Spell::EffectActivateObject(), Spell::EffectActivateRune(), Spell::EffectAddFarsight(), Spell::EffectApplyGlyph(), Spell::EffectBind(), Spell::EffectBlock(), Spell::EffectCastButtons(), Spell::EffectDisEnchant(), Spell::EffectDispel(), Spell::EffectDispelMechanic(), Spell::EffectDuel(), Spell::EffectEnchantHeldItem(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectFeedPet(), Spell::EffectForceCast(), Spell::EffectGameObjectRepair(), Spell::EffectLeapBack(), Spell::EffectLearnSpell(), Spell::EffectMilling(), Spell::EffectOpenLock(), Spell::EffectParry(), Spell::EffectPickPocket(), Spell::EffectProficiency(), Spell::EffectProspecting(), Spell::EffectRechargeManaGem(), Spell::EffectResurrect(), Spell::EffectResurrectNew(), Spell::EffectResurrectPet(), Spell::EffectSelfResurrect(), Spell::EffectSkinning(), Spell::EffectSkinPlayerCorpse(), Spell::EffectStealBeneficialBuff(), Spell::EffectStuck(), Spell::EffectSummonChangeItem(), Spell::EffectSummonRaFFriend(), Spell::EffectSummonType(), Spell::EffectTeleportUnits(), Spell::EffectTitanGrip(), Spell::EffectTradeSkill(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerSpell(), Spell::EffectUnlearnSpecialization(), Spell::EffectUntrainTalents(), Unit::ExecuteDelayedUnitRelocationEvent(), spell_dk_death_pact::FilterTargets(), spell_suppression_aura::FilterTargets(), spell_nightbane_fireball_barrage::FilterTargets(), spell_chain_burn::FilterTargets(), spell_yogg_saron_sanity_reduce::FilterTargets(), spell_lurker_below_spout_cone::FilterTargets(), spell_dk_wandering_plague::FilterTargets(), spell_gen_filter_party_level_80::FilterTargets(), spell_warl_seed_of_corruption_damage::FilterTargets(), spell_the_lich_king_restore_soul::FilterTargets(), Spell::finish(), SpellScript::GetCaster(), WorldObject::GetCharmerOrOwnerOrSelfUnit(), WorldObject::GetCharmerOrOwnerUnit(), WorldObject::GetClosePoint(), WorldObject::GetFactionReactionTo(), WorldObject::GetLeewayBonusRange(), Creature::getLevelForTarget(), WorldObject::GetMagicHitRedirectTarget(), WorldObject::GetMeleeHitRedirectTarget(), WorldObject::GetNearPoint(), WorldObject::GetNearPoint2D(), WorldObject::GetReactionTo(), WorldObject::GetSightRange(), TempSummon::GetSummonerUnit(), SmartScript::GetTargets(), Spell::GetUnitCasterForEffectHandlers(), SpellCastTargets::GetUnitTarget(), GetUpdateFieldData(), Spell::handle_immediate(), spell_reflective_shield_aura::HandleAfterEffectAbsorb(), spell_flamewreath::HandleFinish(), spell_hun_volley_trigger::HandleFinish(), Spell::HandleLaunchPhase(), spell_darkfallen_blood_mirror::HandleMirror(), spell_vehicle_throw_passenger::HandleScript(), ArenaSpectator::HandleSpectatorWatchCommand(), Spell::HandleThreatSpells(), Spell::HasGlobalCooldown(), Spell::InitExplicitTargets(), GameObject::IsAlwaysVisibleFor(), Unit::IsImmunedToSpell(), SmartAI::IsSummonedBy(), npc_demonic_vapor::IsSummonedBy(), npc_bone_spike::npc_bone_spikeAI::IsSummonedBy(), npc_little_ooze::npc_little_oozeAI::IsSummonedBy(), npc_strangulate_vehicle::npc_strangulate_vehicleAI::IsSummonedBy(), npc_oculus_drake::npc_oculus_drakeAI::IsSummonedBy(), npc_spiritual_insight::npc_spiritual_insightAI::IsSummonedBy(), npc_invisible_tractor_beam_source::IsSummonedBy(), npc_spirit_shade::npc_spirit_shadeAI::IsSummonedBy(), npc_arcanite_dragonling::IsSummonedBy(), WorldObject::IsValidAssistTarget(), WorldObject::IsValidAttackTarget(), WorldObject::MagicSpellHitResult(), Condition::Meets(), WorldObject::ModSpellCastTime(), npc_frost_tomb::npc_frost_tomb(), spell_load_into_catapult_aura::OnApply(), Player::OnGossipSelect(), spell_load_into_catapult_aura::OnRemove(), Spell::OnSpellLaunch(), CorpseExplosionCheck::operator()(), RaiseDeadCheck::operator()(), MarkOfNatureTargetSelector::operator()(), AliveCheck::operator()(), Acore::WorldObjectSpellTargetCheck::operator()(), Acore::WorldObjectSpellAreaTargetCheck::operator()(), Acore::WorldObjectSpellConeTargetCheck::operator()(), EarthenPowerTargetSelector::operator()(), FlashFreezeCheck::operator()(), SpectralBlastCheck::operator()(), VehicleCheck::operator()(), PlayerOrPetCheck::operator()(), MysticBuffetTargetFilter::operator()(), Acore::PowerPctOrderPred::operator()(), Acore::HealthPctOrderPred::operator()(), Acore::HealthOrderPred::operator()(), Spell::prepare(), Spell::prepareDataForTriggerSystem(), Player::PrepareGossipMenu(), Spell::PrepareTriggersExecutedOnHit(), SmartScript::ProcessAction(), SmartScript::ProcessEvent(), MotionTransport::RemovePassenger(), Map::ScriptsProcess(), Spell::SearchChainTargets(), Spell::SelectEffectTypeImplicitTargets(), Spell::SelectImplicitAreaTargets(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitCasterObjectTargets(), Spell::SelectImplicitChainTargets(), Spell::SelectImplicitChannelTargets(), Spell::SelectImplicitConeTargets(), Spell::SelectImplicitNearbyTargets(), Spell::SelectImplicitTargetObjectTargets(), Spell::SelectImplicitTrajTargets(), Spell::SendCastResult(), Spell::SendChannelStart(), Spell::SendChannelUpdate(), Spell::SendLoot(), Spell::SendPetCastResult(), Spell::SendResurrectRequest(), Spell::SendSpellCooldown(), Spell::SendSpellGo(), Spell::SendSpellStart(), SmartAI::SetData(), SmartGameObjectAI::SetData(), WorldObject::SetPositionDataUpdate(), Spell::Spell(), WorldObject::SpellHitResult(), Map::SummonCreature(), WorldObject::SummonGameObject(), Spell::TakeAmmo(), Spell::TakeCastItem(), Spell::TakePower(), Spell::TakeReagents(), Spell::TakeRunePower(), Spell::TriggerGlobalCooldown(), Aura::TryRefreshStackOrCreate(), Spell::update(), WorldObject::UpdateAllowedPositionZ(), Spell::UpdateChanneledTargetList(), PathGenerator::UpdateFilter(), StaticTransport::UpdatePassengerPositions(), MotionTransport::UpdatePassengerPositions(), Spell::UpdatePointers(), and Spell::WriteAmmoToPacket().

◆ ToUnit() [2/2]

Unit const * Object::ToUnit ( ) const
inline
217{ if (IsCreature() || IsPlayer()) return reinterpret_cast<Unit const*>(this); else return nullptr; }

References IsCreature(), and IsPlayer().

◆ UpdateUInt32Value()

void Object::UpdateUInt32Value ( uint16  index,
uint32  value 
)
662{
663 ASSERT(index < m_valuesCount || PrintIndexError(index, true));
664
665 m_uint32Values[index] = value;
666 _changesMask.SetBit(index);
667}

References _changesMask, ASSERT, m_uint32Values, m_valuesCount, PrintIndexError(), and UpdateMask::SetBit().

Referenced by Player::Regenerate(), and Unit::SetPower().

Member Data Documentation

◆ [union]

union { ... } Object

◆ _changesMask

◆ _fieldNotifyFlags

◆ CustomData

DataMap Object::CustomData

◆ m_floatValues

◆ m_int32Values

int32* Object::m_int32Values

Referenced by GetInt32Value(), and SetInt32Value().

◆ m_inWorld

bool Object::m_inWorld
private

◆ m_objectType

◆ m_objectTypeId

◆ m_objectUpdated

bool Object::m_objectUpdated
protected

◆ m_PackGUID

PackedGuid Object::m_PackGUID
private

Referenced by _Create(), and GetPackGUID().

◆ m_uint32Values

◆ m_updateFlag

◆ m_valuesCount


The documentation for this class was generated from the following files: