|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <Object.h>
Public Member Functions | |
| void | _Create (uint32 guidlow, HighGuid guidhigh, uint32 phaseMask) |
| void | AddObjectToRemoveList () |
| void | AddToNotify (uint16 f) |
| void | BuildUpdate (UpdateDataMapType &) |
| bool | CanSeeOrDetect (WorldObject const *obj, bool ignoreStealth=false, bool distanceCheck=false) const |
| virtual void | CleanupsBeforeDelete (bool finalCleanup=true) |
| void | ClearPhases (bool update=false) |
| void | DestroyForNearbyPlayers () |
| Map * | FindMap () const |
| Creature * | FindNearestCreature (uint32 entry, float range, bool alive=true) const |
| GameObject * | FindNearestGameObject (uint32 entry, float range) const |
| GameObject * | FindNearestGameObjectOfType (GameobjectTypes type, float range) const |
| uint32 | GetAreaId () const |
| Map const * | GetBaseMap () const |
| void | GetClosePoint (float &x, float &y, float &z, float size, float distance2d=0, float angle=0) const |
| void | GetContactPoint (WorldObject const *obj, float &x, float &y, float &z, float distance2d=CONTACT_DISTANCE) const |
| void | GetCreatureListWithEntryInGrid (std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const |
| float | GetDistance (float x, float y, float z) const |
| float | GetDistance (Position const &pos) const |
| float | GetDistance (WorldObject const *obj) const |
| float | GetDistance2d (float x, float y) const |
| float | GetDistance2d (WorldObject const *obj) const |
| bool | GetDistanceOrder (WorldObject const *obj1, WorldObject const *obj2, bool is3D=true) const |
| float | GetDistanceZ (WorldObject const *obj) const |
| void | GetFirstCollisionPosition (Position &pos, float dist, float angle) |
| void | GetGameObjectListWithEntryInGrid (std::list< GameObject * > &lList, uint32 uiEntry, float fMaxSearchRange) const |
| float | GetGridActivationRange () const |
| uint32 | GetInstanceId () const |
| InstanceScript * | GetInstanceScript () |
| virtual uint8 | getLevelForTarget (WorldObject const *) const |
| Map * | GetMap () const |
| std::string const & | GetName () const |
| virtual std::string const & | GetNameForLocaleIdx (LocaleConstant) const |
| void | GetNearPoint (WorldObject const *searcher, float &x, float &y, float &z, float searcher_size, float distance2d, float absAngle) const |
| void | GetNearPoint2D (float &x, float &y, float distance, float absAngle) const |
| void | GetNearPosition (Position &pos, float dist, float angle) |
| uint16 | GetNotifyFlags () const |
| float | GetObjectSize () const |
| uint32 | GetPhaseMask () const |
| std::set< uint32 > const & | GetPhases () const |
| void | GetPlayerListInGrid (std::list< Player * > &lList, float fMaxSearchRange) const |
| void | GetRandomNearPosition (Position &pos, float radius) |
| void | GetRandomPoint (Position const &srcPos, float distance, float &rand_x, float &rand_y, float &rand_z) const |
| void | GetRandomPoint (Position const &srcPos, float distance, Position &pos) const |
| float | GetSightRange (WorldObject const *target=NULL) const |
| virtual float | GetStationaryO () const |
| virtual float | GetStationaryX () const |
| virtual float | GetStationaryY () const |
| virtual float | GetStationaryZ () const |
| std::set< uint32 > const & | GetTerrainSwaps () const |
| virtual uint64 | GetTransGUID () const |
| float | GetTransOffsetO () const |
| float | GetTransOffsetX () const |
| float | GetTransOffsetY () const |
| float | GetTransOffsetZ () const |
| Transport * | GetTransport () const |
| int8 | GetTransSeat () const |
| uint32 | GetTransTime () const |
| float | GetVisibilityRange () const |
| std::set< uint32 > const & | GetWorldMapSwaps () const |
| void | GetZoneAndAreaId (uint32 &zoneid, uint32 &areaid) const |
| uint32 | GetZoneId () const |
| ZoneScript * | GetZoneScript () const |
| bool | HasPhaseList (uint32 phase) |
| bool | InSamePhase (uint32 phasemask) const |
| bool | InSamePhase (WorldObject const *obj) const |
| bool | isActiveObject () const |
| bool | isInBack (WorldObject const *target, float arc=M_PI) const |
| bool | IsInBetween (WorldObject const *obj1, WorldObject const *obj2, float size=0) const |
| bool | isInFront (WorldObject const *target, float arc=M_PI) const |
| bool | IsInMap (WorldObject const *obj) const |
| bool | IsInRange (WorldObject const *obj, float minRange, float maxRange, bool is3D=true) const |
| bool | IsInRange2d (float x, float y, float minRange, float maxRange) const |
| bool | IsInRange3d (float x, float y, float z, float minRange, float maxRange) const |
| bool | isNeedNotify (uint16 f) const |
| bool | IsPermanentWorldObject () const |
| bool | IsPhased (uint32 phase) const |
| bool | IsPhased (WorldObject const *obj) const |
| bool | IsSelfOrInSameMap (WorldObject const *obj) const |
| bool | IsTerrainSwaped (uint32 terrainSwap) const |
| bool | IsWithinDist (WorldObject const *obj, float dist2compare, bool is3D=true) const |
| bool | IsWithinDist2d (float x, float y, float dist) const |
| bool | IsWithinDist2d (Position const *pos, float dist) const |
| bool | IsWithinDist3d (float x, float y, float z, float dist) const |
| bool | IsWithinDist3d (Position const *pos, float dist) const |
| bool | IsWithinDistInMap (WorldObject const *obj, float dist2compare, bool is3D=true) const |
| bool | IsWithinLOS (float x, float y, float z) const |
| bool | IsWithinLOSInMap (WorldObject const *obj) const |
| bool | IsWorldObject () const |
| void | MonsterSay (const char *text, Language language, WorldObject const *target) |
| void | MonsterSay (int32 textId, Language language, WorldObject const *target) |
| void | MonsterTextEmote (const char *text, WorldObject const *target, bool IsBossEmote=false) |
| void | MonsterTextEmote (int32 textId, WorldObject const *target, bool IsBossEmote=false) |
| void | MonsterWhisper (const char *text, Player const *target, bool IsBossWhisper=false) |
| void | MonsterWhisper (int32 textId, Player const *target, bool IsBossWhisper=false) |
| void | MonsterYell (const char *text, Language language, WorldObject const *target) |
| void | MonsterYell (int32 textId, Language language, WorldObject const *target) |
| void | MovePosition (Position &pos, float dist, float angle) |
| void | MovePositionToFirstCollision (Position &pos, float dist, float angle) |
| bool | NotifyExecuted (uint16 f) const |
| void | PlayDirectSound (uint32 sound_id, Player *target=NULL) |
| void | PlayDistanceSound (uint32 sound_id, Player *target) |
| void | RebuildTerrainSwaps () |
| void | RebuildWorldMapAreaSwaps () |
| virtual void | RemoveFromWorld () |
| void | ResetAllNotifies () |
| virtual void | ResetMap () |
| virtual void | SaveRespawnTime () |
| virtual void | SendMessageToSet (WorldPacket *data, bool self) |
| virtual void | SendMessageToSet (WorldPacket *data, Player const *skipped_rcvr) |
| virtual void | SendMessageToSetInRange (WorldPacket *data, float dist, bool self) |
| void | SendObjectDeSpawnAnim (uint64 guid) |
| void | SendPlaySound (uint32 SoundSound, bool OnlySelf) |
| void | setActive (bool isActiveObject) |
| virtual void | SetMap (Map *map) |
| void | SetName (std::string const &newname) |
| void | SetNotified (uint16 f) |
| virtual bool | SetPhased (uint32 id, bool update, bool apply) |
| virtual void | SetPhaseMask (uint32 newPhaseMask, bool update) |
| void | SetTransport (Transport *t) |
| void | SetWorldObject (bool apply) |
| void | SetZoneScript () |
| TempSummon * | SummonCreature (uint32 id, float x, float y, float z, float ang=0, TempSummonType spwtype=TempSummonType::TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0) const |
| TempSummon * | SummonCreature (uint32 id, Position const &pos, TempSummonType spwtype=TempSummonType::TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const |
| void | SummonCreatureGroup (uint8 group, std::list< TempSummon * > *list=NULL) |
| GameObject * | SummonGameObject (uint32 entry, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime) |
| Creature * | SummonTrigger (float x, float y, float z, float ang, uint32 dur, CreatureAI *(*GetAI)(Creature *)=NULL) |
| virtual void | Update (uint32) |
| void | UpdateAllowedPositionZ (float x, float y, float &z) const |
| void | UpdateAreaPhase () |
| void | UpdateGroundPositionZ (float x, float y, float &z) const |
| virtual void | UpdateObjectVisibility (bool forced=true) |
| template<class NOTIFIER> | |
| void | VisitNearbyGridObject (float const &radius, NOTIFIER ¬ifier) const |
| template<class NOTIFIER> | |
| void | VisitNearbyObject (float const &radius, NOTIFIER ¬ifier) const |
| template<class NOTIFIER> | |
| void | VisitNearbyWorldObject (float const &radius, NOTIFIER ¬ifier) const |
| virtual | ~WorldObject () |
| Public Member Functions inherited from Object | |
| virtual void | AddToWorld () |
| bool | AddUInt64Value (uint16 index, uint64 value) |
| void | ApplyModFlag (uint16 index, uint32 flag, bool apply) |
| void | ApplyModFlag64 (uint16 index, uint64 flag, bool apply) |
| void | ApplyModInt32Value (uint16 index, int32 val, bool apply) |
| void | ApplyModPositiveFloatValue (uint16 index, float val, bool apply) |
| void | ApplyModSignedFloatValue (uint16 index, float val, bool apply) |
| void | ApplyModUInt32Value (uint16 index, int32 val, bool apply) |
| void | ApplyPercentModFloatValue (uint16 index, float val, bool apply) |
| virtual void | BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target) const |
| void | BuildFieldsUpdate (Player *, UpdateDataMapType &) const |
| void | BuildOutOfRangeUpdateBlock (UpdateData *data) const |
| void | BuildValuesUpdateBlockForPlayer (UpdateData *data, Player *target) const |
| void | ClearUpdateMask (bool remove) |
| virtual void | DestroyForPlayer (Player *target, bool onDeath=false) const |
| void | ForceValuesUpdateAtIndex (uint32) |
| uint8 | GetByteValue (uint16 index, uint8 offset) const |
| uint32 | GetDynamicUInt32Value (uint32 tab, uint16 index) const |
| uint32 | GetEntry () const |
| float | GetFloatValue (uint16 index) const |
| uint64 | GetGUID () const |
| uint32 | GetGUIDHigh () const |
| uint32 | GetGUIDLow () const |
| uint32 | GetGUIDMid () const |
| int32 | GetInt32Value (uint16 index) const |
| ObjectGuid | GetObjectGUID () const |
| float | GetObjectScale () const |
| const ByteBuffer & | GetPackGUID () const |
| TypeID | GetTypeId () const |
| uint16 | GetUInt16Value (uint16 index, uint8 offset) const |
| uint32 | GetUInt32Value (uint16 index) const |
| uint64 | GetUInt64Value (uint16 index) const |
| uint16 | GetValuesCount () const |
| bool | HasByteFlag (uint16 index, uint8 offset, uint8 flag) const |
| bool | HasFlag (uint16 index, uint32 flag) const |
| bool | HasFlag64 (uint16 index, uint64 flag) const |
| virtual bool | hasInvolvedQuest (uint32) const |
| virtual bool | hasQuest (uint32) const |
| bool | IsInWorld () const |
| bool | isType (uint16 mask) const |
| void | RemoveByteFlag (uint16 index, uint8 offset, uint8 newFlag) |
| void | RemoveFieldNotifyFlag (uint16 flag) |
| void | RemoveFlag (uint16 index, uint32 oldFlag) |
| void | RemoveFlag64 (uint16 index, uint64 oldFlag) |
| bool | RemoveUInt64Value (uint16 index, uint64 value) |
| void | SendDestroyObject (Player *target, ObjectGuid Guid, bool onDeath=false) const |
| void | SendUpdateToPlayer (Player *player) |
| void | SetByteFlag (uint16 index, uint8 offset, uint8 newFlag) |
| void | SetByteValue (uint16 index, uint8 offset, uint8 value) |
| void | SetDynamicUInt32Value (uint32 tab, uint16 index, uint32 value) |
| void | SetEntry (uint32 entry) |
| void | SetFieldNotifyFlag (uint16 flag) |
| void | SetFlag (uint16 index, uint32 newFlag) |
| void | SetFlag64 (uint16 index, uint64 newFlag) |
| void | SetFloatValue (uint16 index, float value) |
| void | SetInt16Value (uint16 index, uint8 offset, int16 value) |
| void | SetInt32Value (uint16 index, int32 value) |
| virtual void | SetObjectScale (float scale) |
| void | SetStatFloatValue (uint16 index, float value) |
| void | SetStatInt32Value (uint16 index, int32 value) |
| void | SetUInt16Value (uint16 index, uint8 offset, uint16 value) |
| void | SetUInt32Value (uint16 index, uint32 value) |
| void | SetUInt64Value (uint16 index, uint64 value) |
| AreaTrigger * | ToAreaTrigger () |
| AreaTrigger const * | ToAreaTrigger () const |
| Corpse * | ToCorpse () |
| Corpse const * | ToCorpse () const |
| Creature * | ToCreature () |
| Creature const * | ToCreature () const |
| DynamicObject * | ToDynObject () |
| DynamicObject const * | ToDynObject () const |
| GameObject * | ToGameObject () |
| GameObject const * | ToGameObject () const |
| void | ToggleByteFlag (uint16 index, uint8 offset, uint8 flag) |
| void | ToggleFlag (uint16 index, uint32 flag) |
| void | ToggleFlag64 (uint16 index, uint64 flag) |
| Player * | ToPlayer () |
| Player const * | ToPlayer () const |
| Unit * | ToUnit () |
| Unit const * | ToUnit () const |
| void | UpdateUInt32Value (uint16 index, uint32 value) |
| virtual | ~Object () |
| Public Member Functions inherited from WorldLocation | |
| uint32 | GetMapId () const |
| WorldLocation (const WorldLocation &loc) | |
| WorldLocation (uint32 _mapid=MAPID_INVALID, float _x=0, float _y=0, float _z=0, float _o=0) | |
| void | WorldRelocate (const WorldLocation &loc) |
| Public Member Functions inherited from Position | |
| float | GetAngle (float x, float y) const |
| float | GetAngle (Position const *pos) const |
| float | GetExactDist (float x, float y, float z) const |
| float | GetExactDist (Position const *pos) const |
| float | GetExactDist2d (const float x, const float y) const |
| float | GetExactDist2d (Position const *pos) const |
| float | GetExactDist2dSq (float x, float y) const |
| float | GetExactDist2dSq (Position const *pos) const |
| float | GetExactDistSq (float x, float y, float z) const |
| float | GetExactDistSq (Position const *pos) const |
| float | GetOrientation () const |
| void | GetPosition (float &x, float &y) const |
| void | GetPosition (float &x, float &y, float &z) const |
| void | GetPosition (float &x, float &y, float &z, float &o) const |
| void | GetPosition (Position *pos) const |
| void | GetPositionOffsetTo (Position const &endPos, Position &retOffset) const |
| float | GetPositionX () const |
| float | GetPositionY () const |
| float | GetPositionZ () const |
| float | GetRelativeAngle (float x, float y) const |
| float | GetRelativeAngle (Position const *pos) const |
| void | GetSinCos (float x, float y, float &vsin, float &vcos) const |
| bool | HasInArc (float arcangle, Position const *pos, float border=2.0f) const |
| bool | HasInLine (WorldObject const *target, float width) const |
| bool | IsInDist (float x, float y, float z, float dist) const |
| bool | IsInDist (Position const *pos, float dist) const |
| bool | IsInDist2d (float x, float y, float dist) const |
| bool | IsInDist2d (Position const *pos, float dist) const |
| bool | IsPositionValid () const |
| bool | operator!= (Position const &a) |
| bool | operator== (Position const &a) |
| Position::PositionXYZOStreamer | PositionXYZOStream () |
| Position::PositionXYZStreamer | PositionXYZStream () |
| void | Relocate (float x, float y) |
| void | Relocate (float x, float y, float z) |
| void | Relocate (float x, float y, float z, float orientation) |
| void | Relocate (Position const &pos) |
| void | Relocate (Position const *pos) |
| void | RelocateOffset (Position const &offset) |
| void | SetOrientation (float orientation) |
| std::string | ToString () const |
Public Attributes | |
| uint32 | LastUsedScriptID |
| FlaggedValuesArray32< int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPES > | m_invisibility |
| FlaggedValuesArray32< int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPES > | m_invisibilityDetect |
| MovementInfo | m_movementInfo |
| FlaggedValuesArray32< int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPES > | m_serverSideVisibility |
| FlaggedValuesArray32< int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPES > | m_serverSideVisibilityDetect |
| FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPES > | m_stealth |
| FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPES > | m_stealthDetect |
| Public Attributes inherited from WorldLocation | |
| uint32 | m_mapId |
| Public Attributes inherited from Position | |
| float | m_orientation |
| float | m_positionX |
| float | m_positionY |
| float | m_positionZ |
Protected Member Functions | |
| virtual bool | IsAlwaysDetectableFor (WorldObject const *) const |
| virtual bool | IsAlwaysVisibleFor (WorldObject const *) const |
| virtual bool | IsInvisibleDueToDespawn () const |
| virtual bool | IsNeverVisible () const |
| void | SetLocationInstanceId (uint32 _instanceId) |
| void | SetLocationMapId (uint32 _mapId) |
| WorldObject (bool isWorldObject) | |
| Protected Member Functions inherited from Object | |
| std::string | _ConcatFields (uint16 startIndex, uint16 size) const |
| void | _Create (uint32 guidlow, uint32 entry, HighGuid guidhigh) |
| void | _InitValues () |
| void | _LoadIntoDataField (std::string const &data, uint32 startOffset, uint32 count) |
| void | BuildDynamicValuesUpdate (uint8 updateType, ByteBuffer *data, Player *target) const |
| void | BuildMovementUpdate (ByteBuffer *data, uint16 flags) const |
| virtual void | BuildValuesUpdate (uint8 updatetype, ByteBuffer *data, Player *target) const |
| uint32 | GetUpdateFieldData (Player const *target, uint32 *&flags) const |
| Object () | |
Protected Attributes | |
| bool | m_isActive |
| const bool | m_isWorldObject |
| std::string | m_name |
| Transport * | m_transport |
| ZoneScript * | m_zoneScript |
| Protected Attributes inherited from Object | |
| union { | |
| float * m_floatValues | |
| int32 * m_int32Values | |
| uint32 * m_uint32Values | |
| }; | |
| UpdateMask | _changesMask |
| std::vector< bool * > | m_dynamicChange |
| std::vector< uint32 * > | m_dynamicTab |
| uint16 | m_fieldNotifyFlags |
| uint16 | m_objectType |
| TypeID | m_objectTypeId |
| bool | m_objectUpdated |
| uint16 | m_updateFlag |
| uint16 | m_valuesCount |
Private Member Functions | |
| virtual bool | _IsWithinDist (WorldObject const *obj, float dist2compare, bool is3D) const |
| virtual bool | CanAlwaysSee (WorldObject const *) const |
| bool | CanDetect (WorldObject const *obj, bool ignoreStealth) const |
| bool | CanDetectInvisibilityOf (WorldObject const *obj) const |
| bool | CanDetectStealthOf (WorldObject const *obj) const |
| bool | CanNeverSee (WorldObject const *obj) const |
Private Attributes | |
| std::set< uint32 > | _phases |
| std::set< uint32 > | _terrainSwaps |
| std::set< uint32 > | _worldMapSwaps |
| Map * | m_currMap |
| uint16 | m_executed_notifies |
| uint32 | m_InstanceId |
| uint16 | m_notifyflags |
| uint32 | m_phaseMask |
Additional Inherited Members | |
| Static Public Member Functions inherited from Position | |
| static float | NormalizeOrientation (float o) |
|
explicitprotected |
Definition at line 1514 of file Object.cpp.
References GHOST_VISIBILITY_ALIVE, GHOST_VISIBILITY_GHOST, m_currMap, m_executed_notifies, m_InstanceId, m_isActive, m_isWorldObject, m_name, m_notifyflags, m_phaseMask, m_serverSideVisibility, m_serverSideVisibilityDetect, m_transport, m_zoneScript, PHASEMASK_NORMAL, SERVERSIDE_VISIBILITY_GHOST, and WorldLocation::WorldLocation().
Referenced by Unit::_IsValidAttackTarget(), GameObject::_IsWithinDist(), _IsWithinDist(), Transport::AddPassenger(), AreaTrigger::AreaTrigger(), Creature::CanAlwaysSee(), Player::CanAlwaysSee(), CanAlwaysSee(), CanDetect(), CanDetectInvisibilityOf(), CanDetectStealthOf(), CanNeverSee(), Player::CanRollForItemInLFG(), CanSeeOrDetect(), Corpse::Corpse(), DynamicObject::DynamicObject(), Creature::FocusTarget(), GameObject::GameObject(), GetContactPoint(), Unit::GetCreature(), Player::GetDefaultGossipMenuForSource(), GetDistance(), GetDistance2d(), GetDistanceOrder(), GetDistanceZ(), GameObject::GetGameObject(), Player::GetGossipTextId(), Player::GetGossipTextId(), Creature::getLevelForTarget(), GameObject::getLevelForTarget(), Unit::getLevelForTarget(), getLevelForTarget(), GetNearPoint(), Unit::GetPlayer(), GetSightRange(), Unit::GetUnit(), Player::GetViewpoint(), Player::GroupEventHappens(), Player::HaveAtClient(), InSamePhase(), Player::IsAlwaysDetectableFor(), Unit::IsAlwaysDetectableFor(), IsAlwaysDetectableFor(), GameObject::IsAlwaysVisibleFor(), Unit::IsAlwaysVisibleFor(), IsAlwaysVisibleFor(), Player::IsAtGroupRewardDistance(), Player::IsAtRecruitAFriendDistance(), isInBack(), IsInBetween(), isInFront(), IsInMap(), IsInRange(), IsPhased(), IsSelfOrInSameMap(), IsWithinDist(), IsWithinDistInMap(), IsWithinLOSInMap(), Unit::JumpTo(), MonsterSay(), MonsterSay(), MonsterTextEmote(), MonsterTextEmote(), MonsterYell(), MonsterYell(), Player::OnGossipSelect(), Player::PrepareGossipMenu(), Player::RemoveFromWorld(), Transport::RemovePassenger(), Player::RewardPlayerAndGroupAtEvent(), Creature::SendAIReaction(), Player::SendPreparedGossip(), Unit::SetFacingToObject(), Unit::SetInFront(), Player::SetSeer(), Player::SetViewpoint(), Player::StopCastingBindSight(), Transport::TeleportTransport(), Transport::TransportMgr::CreateTransport, Unit::Unit(), Transport::UnloadStaticPassengers(), Transport::UpdatePassengerPositions(), and Player::UpdateVisibilityOf().
|
virtual |
Definition at line 70 of file Object.cpp.
References ASSERT, Object::GetEntry(), Object::GetGUID(), Object::GetTypeId(), IsWorldObject(), m_currMap, ResetMap(), SF_LOG_FATAL, TYPEID_CORPSE, and UI64FMTD.
Definition at line 1581 of file Object.cpp.
References Object::_Create(), and m_phaseMask.
Referenced by Corpse::Create(), AreaTrigger::CreateAreaTrigger(), and DynamicObject::CreateDynamicObject().
|
privatevirtual |
Reimplemented in GameObject.
Definition at line 1626 of file Object.cpp.
References Object::GetGUIDLow(), GetObjectSize(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), GetTransport(), m_movementInfo, Position::m_positionX, Position::m_positionY, Position::m_positionZ, m_transport, MovementInfo::TransportInfo::pos, MovementInfo::transport, and WorldObject().
Referenced by IsWithinDist(), and IsWithinDistInMap().
| void WorldObject::AddObjectToRemoveList | ( | ) |
Definition at line 2550 of file Object.cpp.
References Map::AddObjectToRemoveList(), ASSERT, FindMap(), Object::GetEntry(), Object::GetGUIDLow(), WorldLocation::GetMapId(), Object::GetTypeId(), Object::m_uint32Values, and SF_LOG_ERROR.
Referenced by OPvPCapturePoint::DelCreature(), GameObject::Delete(), Corpse::DeleteBonesFromWorld(), npc_commandscript::HandleNpcDeleteCommand(), wp_commandscript::HandleWpShowCommand(), AreaTrigger::Remove(), DynamicObject::Remove(), Player::RemovePet(), BattlePetWildZonePool::RemoveReplacement(), Transport::UnloadStaticPassengers(), TempSummon::UnSummon(), and Totem::UnSummon().
|
inline |
Definition at line 769 of file Object.h.
References m_notifyflags.
Referenced by Player::UpdateObjectVisibility(), and Unit::UpdateObjectVisibility().
|
virtual |
Reimplemented from Object.
Definition at line 3557 of file Object.cpp.
References Object::ClearUpdateMask(), Skyfire::ComputeCellCoord(), GetMap(), Position::GetPositionX(), Position::GetPositionY(), GetVisibilityRange(), Cell::SetNoCreate(), and Cell::Visit().
|
inlineprivatevirtual |
Reimplemented in Creature, and Player.
Definition at line 849 of file Object.h.
References WorldObject().
Referenced by CanSeeOrDetect().
|
private |
Definition at line 2195 of file Object.cpp.
References CanDetectInvisibilityOf(), CanDetectStealthOf(), Unit::GetCharmerOrOwner(), IsAlwaysDetectableFor(), Object::ToUnit(), and WorldObject().
Referenced by CanSeeOrDetect().
|
private |
Definition at line 2216 of file Object.cpp.
References FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::GetFlags(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::GetValue(), m_invisibility, m_invisibilityDetect, TOTAL_INVISIBILITY_TYPES, and WorldObject().
Referenced by CanDetect().
|
private |
Definition at line 2240 of file Object.cpp.
References Unit::GetCombatReach(), Position::GetExactDist(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::GetFlags(), getLevelForTarget(), GameObject::GetOwner(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::GetValue(), Unit::HasAuraTypeWithMiscvalue(), Position::HasInArc(), M_PI, m_stealth, m_stealthDetect, MAX_PLAYER_STEALTH_DETECT_RANGE, SPELL_AURA_DETECT_STEALTH, Object::ToGameObject(), TOTAL_STEALTH_TYPES, Object::ToUnit(), and WorldObject().
Referenced by CanDetect().
|
private |
Definition at line 2190 of file Object.cpp.
References GetMap(), InSamePhase(), and WorldObject().
Referenced by CanSeeOrDetect().
| bool WorldObject::CanSeeOrDetect | ( | WorldObject const * | obj, |
| bool | ignoreStealth = false, | ||
| bool | distanceCheck = false ) const |
Definition at line 2105 of file Object.cpp.
References CanAlwaysSee(), CanDetect(), CanNeverSee(), GetSightRange(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::GetValue(), GHOST_VISIBILITY_GHOST, IsAlwaysVisibleFor(), IsInvisibleDueToDespawn(), IsNeverVisible(), IsWithinDist(), IsWithinDist2d(), m_serverSideVisibility, m_serverSideVisibilityDetect, SERVERSIDE_VISIBILITY_GHOST, SERVERSIDE_VISIBILITY_GM, Object::ToPlayer(), and WorldObject().
Referenced by Unit::_IsValidAssistTarget(), Unit::_IsValidAttackTarget(), SpellInfo::CheckTarget(), CreatureUnitRelocationWorker(), Creature::SelectVictim(), HostileRefManager::UpdateVisibility(), Player::UpdateVisibilityOf(), and Player::UpdateVisibilityOf().
|
virtual |
Reimplemented in GameObject, Player, and Unit.
Definition at line 1575 of file Object.cpp.
References Object::IsInWorld(), and RemoveFromWorld().
Referenced by Map::AddObjectToRemoveList().
| void WorldObject::ClearPhases | ( | bool | update = false | ) |
Definition at line 3383 of file Object.cpp.
References _phases, Object::IsInWorld(), RebuildTerrainSwaps(), and UpdateObjectVisibility().
Referenced by Unit::ClearPhases().
| void WorldObject::DestroyForNearbyPlayers | ( | ) |
Definition at line 3453 of file Object.cpp.
References Object::DestroyForPlayer(), Object::GetGUID(), GetVisibilityRange(), Player::HaveAtClient(), Object::IsInWorld(), Object::isType(), Player::m_clientGUIDs, TYPEMASK_UNIT, and VisitNearbyWorldObject().
Referenced by Creature::DisappearAndDie(), debug_commandscript::HandleDebugMoveflagsCommand(), spell_ulduar_squeezed_lifeless::spell_ulduar_squeezed_lifeless_SpellScript::HandleInstaKill(), ObjectAccessor::RemoveCorpse(), RemoveFromWorld(), and Creature::Respawn().
|
inline |
Definition at line 741 of file Object.h.
References m_currMap.
Referenced by FormationMgr::AddCreatureToGroup(), AddObjectToRemoveList(), Player::CheckInstanceLoginValid(), ObjectAccessor::ConvertCorpseForPlayer(), Player::GetMapAreaAndZoneString(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllGameObjectsInMoveList(), ObjectAccessor::RemoveCorpse(), FormationMgr::RemoveCreatureFromGroup(), setActive(), SetZoneScript(), and SummonCreature().
Definition at line 2801 of file Object.cpp.
References VisitNearbyObject().
Referenced by spell_item_demon_broiled_surprise::spell_item_demon_broiled_surprise_SpellScript::CheckRequirement(), spell_item_map_of_the_geyser_fields::spell_item_map_of_the_geyser_fields_SpellScript::CheckSinkholes(), GetClosestCreatureWithEntry(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), spell_q12589_shoot_rjr::spell_q12589_shoot_rjr_SpellScript::HandleDummy(), spell_q28813_get_our_boys_back_dummy::spell_q28813_get_our_boys_back_dummy_SpellScript::HandleDummyEffect(), spell_valanar_kinetic_bomb::spell_valanar_kinetic_bomb_AuraScript::HandleDummyTick(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), spell_q12620_the_lifewarden_wrath::spell_q12620_the_lifewarden_wrath_SpellScript::HandleSendEvent(), go_ulduar_tower::OnDestroyed(), gameobject_cage_trap::OnGossipHello(), go_acherus_soul_prison::OnGossipHello(), go_blackhoof_cage::OnGossipHello(), go_bristlelimb_cage::OnGossipHello(), go_captain_tyralius_prison::OnGossipHello(), go_corkis_prison::OnGossipHello(), go_demon_portal::OnGossipHello(), go_dragonflayer_cage::OnGossipHello(), go_gjalerbron_cage::OnGossipHello(), go_jotunheim_cage::OnGossipHello(), go_ossirian_crystal::OnGossipHello(), go_princess_stillpines_cage::OnGossipHello(), go_ravager_cage::OnGossipHello(), go_scourge_cage::OnGossipHello(), go_scourge_enclosure::OnGossipHello(), go_simon_cluster::OnGossipHello(), go_tadpole_cage::OnGossipHello(), go_warmaul_prison::OnGossipHello(), npc_darkspear_jailor::OnGossipSelect(), npc_lorekeeper::OnGossipSelect(), npc_wg_demolisher_engineer::OnGossipSelect(), go_crystal_prison::OnQuestAccept(), go_crystalline_tear::OnQuestAccept(), npc_jinthala::OnQuestAccept(), spell_ulduar_stone_grip_absorb::spell_ulduar_stone_grip_absorb_AuraScript::OnRemove(), AreaTrigger_at_brewfest::OnTrigger(), AreaTrigger_at_dawning_span::OnTrigger(), AreaTrigger_at_dawning_valley2::OnTrigger(), AreaTrigger_at_dawning_valley::OnTrigger(), AreaTrigger_at_fus_pond::OnTrigger(), AreaTrigger_at_mandori_village_shu::OnTrigger(), AreaTrigger_at_mandori_village_wugou::OnTrigger(), AreaTrigger_at_shrine_of_inner_light::OnTrigger(), AreaTrigger_at_temple_of_five_dawns::OnTrigger(), AreaTrigger_at_the_dawning_valley::OnTrigger(), AreaTrigger_at_wu_song_village::OnTrigger(), at_blackrock_stadium::OnTrigger(), at_commander_dawnforge::OnTrigger(), at_zumrah::OnTrigger(), item_dehta_trap_smasher::OnUse(), item_pile_fake_furs::OnUse(), item_trident_of_nazjan::OnUse(), boss_kologarn::boss_kologarnAI::PassengerBoarded(), boss_novos::boss_novosAI::SetCrystalStatus(), boss_amanitar::boss_amanitarAI::SpawnAdds(), npc_oliver_harris::npc_oliver_harrisAI::StartSceneImpl(), SummonHoptallusIfReady(), SummonOokOokIfReady(), go_wg_vehicle_teleporter::go_wg_vehicle_teleporterAI::UpdateAI(), and npc_hogger_elwynn::npc_hogger_elwynnAI::UpdateAI().
| GameObject * WorldObject::FindNearestGameObject | ( | uint32 | entry, |
| float | range ) const |
Definition at line 2810 of file Object.cpp.
References VisitNearbyGridObject().
Referenced by BfWGGameObjectBuilding::Destroyed(), GetClosestGameObjectWithEntry(), npc_defiant_troll::OnGossipHello(), npc_lurgglbr::OnQuestAccept(), item_dehta_trap_smasher::OnUse(), item_pile_fake_furs::OnUse(), BfWGGameObjectBuilding::Rebuild(), boss_razorscale_controller::boss_razorscale_controllerAI::UpdateAI(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::UpdateAI(), and npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::UpdateAI().
| GameObject * WorldObject::FindNearestGameObjectOfType | ( | GameobjectTypes | type, |
| float | range ) const |
Definition at line 2819 of file Object.cpp.
References VisitNearbyGridObject().
| uint32 WorldObject::GetAreaId | ( | ) | const |
Definition at line 1602 of file Object.cpp.
References Map::GetAreaId(), GetBaseMap(), Position::m_positionX, Position::m_positionY, and Position::m_positionZ.
Referenced by Spell::EffectBind(), Spell::EffectDuel(), ChatHandler::ExecuteCommandInTable(), LuaWorldObject::GetAreaId(), Player::GetMapAreaAndZoneString(), debug_commandscript::HandleDebugRestCommand(), spell_item_socrethars_stone::spell_item_socrethars_stone_SpellScript::HandleDummy(), gm_commandscript::HandleGMNoteCommand(), group_commandscript::HandleGroupListCommand(), WorldSession::HandleMovementOpcodes(), misc_commandscript::HandlePInfoCommand(), spell_q12735_song_of_cleansing::spell_q12735_song_of_cleansing_SpellScript::HandleScript(), DisableMgr::IsDisabledFor(), npc_engineer_spark_overgrind::npc_engineer_spark_overgrindAI::npc_engineer_spark_overgrindAI(), BattlefieldWG::OnCreatureCreate(), FlameLeviathanPursuedTargetSelector::operator()(), Player::RepopAtGraveyard(), Player::RewardHonor(), CreatureTextMgr::SendChatPacket(), CreatureTextMgr::SendNonChatPacket(), Creature::SendZoneUnderAttackMessage(), SetPhased(), and UpdateAreaPhase().
| Map const * WorldObject::GetBaseMap | ( | ) | const |
Definition at line 2544 of file Object.cpp.
References ASSERT, and m_currMap.
Referenced by RandomMovementGenerator< T >::_setRandomLocation(), Player::CheckAreaExploreAndOutdoor(), GetAreaId(), GetZoneAndAreaId(), GetZoneId(), WorldSession::HandleMovementOpcodes(), AuraEffect::HandlePreventResurrection(), Unit::IsInWater(), Player::IsUnderWater(), Unit::IsUnderWater(), PathGenerator::ResolveTerrainZ(), Player::Update(), UpdateAllowedPositionZ(), and UpdateGroundPositionZ().
| void WorldObject::GetClosePoint | ( | float & | x, |
| float & | y, | ||
| float & | z, | ||
| float | size, | ||
| float | distance2d = 0, | ||
| float | angle = 0 ) const |
Definition at line 3070 of file Object.cpp.
References GetNearPoint(), and Position::GetOrientation().
Referenced by Spell::EffectSummonPet(), cast_commandscript::HandleCastDistCommand(), debug_commandscript::HandleDebugSpawnVehicleCommand(), group_commandscript::HandleGroupSummonCommand(), npc_commandscript::HandleNpcTameCommand(), spell_archaeology_survey::spell_archaeology_survey_SpellScript::HandleSummon(), misc_commandscript::HandleSummonCommand(), Pet::LoadPetFromDB(), item_pile_fake_furs::OnUse(), Skyfire::PetTransport::RemoveOwnerHunterPet(), boss_selin_fireheart::boss_selin_fireheartAI::SelectNearestCrystal(), SummonCreature(), and npc_valkyr_battle_maiden::npc_valkyr_battle_maidenAI::UpdateAI().
| void WorldObject::GetContactPoint | ( | WorldObject const * | obj, |
| float & | x, | ||
| float & | y, | ||
| float & | z, | ||
| float | distance2d = CONTACT_DISTANCE ) const |
Definition at line 3094 of file Object.cpp.
References Position::GetAngle(), GetNearPoint(), GetObjectSize(), and WorldObject().
Referenced by Spell::CheckCast(), npc_unworthy_initiate::npc_unworthy_initiateAI::EventStart(), misc_commandscript::HandleAppearCommand(), boss_felmyst::boss_felmystAI::HandleFlightSequence(), and Unit::JumpTo().
| void WorldObject::GetCreatureListWithEntryInGrid | ( | std::list< Creature * > & | lList, |
| uint32 | uiEntry, | ||
| float | fMaxSearchRange ) const |
Definition at line 2841 of file Object.cpp.
References Skyfire::ComputeCellCoord(), GetMap(), Position::GetPositionX(), Position::GetPositionY(), Cell::SetNoCreate(), and Cell::Visit().
Referenced by FindSceneActor(), GetCreatureListWithEntryInGrid(), spell_icc_sprit_alarm::spell_icc_sprit_alarm_SpellScript::HandleEvent(), spell_rotface_ooze_flood::spell_rotface_ooze_flood_SpellScript::HandleScript(), spell_the_lich_king_restore_soul::spell_the_lich_king_restore_soul_SpellScript::HandleScript(), spell_q12620_the_lifewarden_wrath::spell_q12620_the_lifewarden_wrath_SpellScript::HandleSendEvent(), npc_living_mojo::npc_living_mojoAI::MoveMojos(), and spell_monk_serpents_zeal::spell_monk_serpents_zeal_AuraScript::OnProc().
| float WorldObject::GetDistance | ( | float | x, |
| float | y, | ||
| float | z ) const |
Definition at line 1678 of file Object.cpp.
References Position::GetExactDist(), and GetObjectSize().
| float WorldObject::GetDistance | ( | Position const & | pos | ) | const |
Definition at line 1672 of file Object.cpp.
References Position::GetExactDist(), and GetObjectSize().
| float WorldObject::GetDistance | ( | WorldObject const * | obj | ) | const |
Definition at line 1666 of file Object.cpp.
References Position::GetExactDist(), GetObjectSize(), and WorldObject().
Referenced by SpellInfo::CheckExplicitTarget(), LuaUnit::GetDistance(), Player::GetResearchDigsiteForFind(), WorldSession::HandleAreaTriggerOpcode(), OutdoorPvPSI::HandleDropFlag(), Unit::HandleDummyAuraProc(), misc_commandscript::HandleGetDistanceCommand(), spell_gen_ds_flush_knockback::spell_gen_ds_flush_knockback_SpellScript::HandleScript(), spell_archaeology_survey::spell_archaeology_survey_SpellScript::HandleSummon(), Player::IsAtGroupRewardDistance(), Player::IsAtRecruitAFriendDistance(), Condition::Meets(), Skyfire::WorldObjectSpellNearbyTargetCheck::operator()(), Creature::reachWithSpellAttack(), Creature::reachWithSpellCure(), Map::ScriptsProcess(), BattlegroundEY::UpdatePointStatuses(), Unit::UpdateSpeed(), Player::UpdateVisibilityOf(), and Player::UpdateVisibilityOf().
| float WorldObject::GetDistance2d | ( | float | x, |
| float | y ) const |
Definition at line 1690 of file Object.cpp.
References Position::GetExactDist2d(), and GetObjectSize().
| float WorldObject::GetDistance2d | ( | WorldObject const * | obj | ) | const |
Definition at line 1684 of file Object.cpp.
References Position::GetExactDist2d(), GetObjectSize(), and WorldObject().
Referenced by spell_gruul_shatter_effect::spell_gruul_shatter_effect_SpellScript::CalculateDamage(), spell_krystallus_shatter_effect::spell_krystallus_shatter_effect_SpellScript::CalculateDamage(), spell_loken_pulsing_shockwave::spell_loken_pulsing_shockwave_SpellScript::CalculateDamage(), BfGraveyard::GetDistance(), misc_commandscript::HandleGetDistanceCommand(), spell_algalon_cosmic_smash_damage::spell_algalon_cosmic_smash_damage_SpellScript::RecalculateDamage(), boss_netherspite::boss_netherspiteAI::UpdatePortals(), and GameObject::Use().
| bool WorldObject::GetDistanceOrder | ( | WorldObject const * | obj1, |
| WorldObject const * | obj2, | ||
| bool | is3D = true ) const |
Definition at line 1752 of file Object.cpp.
References Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), and WorldObject().
Referenced by Spell::SearchChainTargets().
| float WorldObject::GetDistanceZ | ( | WorldObject const * | obj | ) | const |
Definition at line 1618 of file Object.cpp.
References GetObjectSize(), Position::GetPositionZ(), and WorldObject().
Referenced by Creature::CanStartAttack().
| void WorldObject::GetFirstCollisionPosition | ( | Position & | pos, |
| float | dist, | ||
| float | angle ) |
Definition at line 3082 of file Object.cpp.
References Position::GetPosition(), and MovePositionToFirstCollision().
Referenced by Spell::CheckCast().
| void WorldObject::GetGameObjectListWithEntryInGrid | ( | std::list< GameObject * > & | lList, |
| uint32 | uiEntry, | ||
| float | fMaxSearchRange ) const |
Definition at line 2828 of file Object.cpp.
References Skyfire::ComputeCellCoord(), GetMap(), Position::GetPositionX(), Position::GetPositionY(), Cell::SetNoCreate(), and Cell::Visit().
Referenced by GetGameObjectListWithEntryInGrid(), and spell_garfrost_permafrost::spell_garfrost_permafrost_SpellScript::PreventHitByLoS().
| float WorldObject::GetGridActivationRange | ( | ) | const |
Definition at line 2054 of file Object.cpp.
References DEFAULT_VISIBILITY_INSTANCE, GetMap(), Object::GetTypeId(), Map::GetVisibilityRange(), GetVisibilityRange(), isActiveObject(), Object::ToCreature(), Object::ToPlayer(), and TYPEID_PLAYER.
Referenced by Map::_FindGameObject(), SmartScript::FindCreatureNear(), SmartScript::FindGameObjectNear(), ChatHandler::GetObjectGlobalyWithGuidOrNearWithDbGuid(), misc_commandscript::HandleRespawnCommand(), Map::ScriptsProcess(), and Map::VisitNearbyCellsOf().
|
inline |
Definition at line 638 of file Object.h.
References m_InstanceId.
Referenced by ObjectAccessor::AddCorpse(), FormationMgr::AddCreatureToGroup(), Group::AddMember(), Map::AddObjectToRemoveList(), Map::AddObjectToSwitchList(), LuaWorldObject::GetInstanceId(), Player::GetNextQuest(), misc_commandscript::HandleAppearCommand(), misc_commandscript::HandleGPSCommand(), WorldSession::HandleGroupInviteOpcode(), mmaps_commandscript::HandleMmapLoadedTilesCommand(), mmaps_commandscript::HandleMmapLocCommand(), npc_commandscript::HandleNpcInfoCommand(), Group::InCombatToInstance(), Player::IsAtGroupRewardDistance(), Player::IsAtRecruitAFriendDistance(), Unit::Kill(), CreatureGroup::MemberAttackStart(), Player::PrepareQuestMenu(), FormationMgr::RemoveCreatureFromGroup(), Corpse::SaveToDB(), Player::SaveToDB(), Creature::SelectVictim(), BattlegroundSA::ShouldDelayStartForDebug(), and Player::Update().
| InstanceScript * WorldObject::GetInstanceScript | ( | ) |
Definition at line 1612 of file Object.cpp.
References GetMap(), and Map::IsInstance().
Referenced by advisorbase_ai::advisorbase_ai(), boss_alar::boss_alarAI::boss_alarAI(), boss_alythess::boss_alythessAI::boss_alythessAI(), boss_ambassador_hellmaw::boss_ambassador_hellmawAI::boss_ambassador_hellmawAI(), boss_anetheron::boss_anetheronAI::boss_anetheronAI(), boss_anub_arak::boss_anub_arakAI::boss_anub_arakAI(), boss_shade_of_aran::boss_aranAI::boss_aranAI(), boss_archimonde::boss_archimondeAI::boss_archimondeAI(), boss_azgalor::boss_azgalorAI::boss_azgalorAI(), boss_bigbadwolf::boss_bigbadwolfAI::boss_bigbadwolfAI(), boss_bjarngrim::boss_bjarngrimAI::boss_bjarngrimAI(), boss_black_knight::boss_black_knightAI::boss_black_knightAI(), boss_blindeye_the_seer::boss_blindeye_the_seerAI::boss_blindeye_the_seerAI(), boss_broggok::boss_broggokAI::boss_broggokAI(), boss_brutallus::boss_brutallusAI::boss_brutallusAI(), boss_captain_skarloc::boss_captain_skarlocAI::boss_captain_skarlocAI(), boss_crone::boss_croneAI::boss_croneAI(), boss_cyanigosa::boss_cyanigosaAI::boss_cyanigosaAI(), boss_doomrel::boss_doomrelAI::boss_doomrelAI(), boss_dorothee::boss_dorotheeAI::boss_dorotheeAI(), boss_drakkari_elemental::boss_drakkari_elementalAI::boss_drakkari_elementalAI(), boss_eadric::boss_eadricAI::boss_eadricAI(), boss_eck::boss_eckAI::boss_eckAI(), boss_entropius::boss_entropiusAI::boss_entropiusAI(), boss_epoch_hunter::boss_epoch_hunterAI::boss_epoch_hunterAI(), boss_epoch::boss_epochAI::boss_epochAI(), boss_erekem::boss_erekemAI::boss_erekemAI(), boss_fathomguard_caribdis::boss_fathomguard_caribdisAI::boss_fathomguard_caribdisAI(), boss_fathomguard_sharkkis::boss_fathomguard_sharkkisAI::boss_fathomguard_sharkkisAI(), boss_fathomguard_tidalvess::boss_fathomguard_tidalvessAI::boss_fathomguard_tidalvessAI(), boss_fathomlord_karathress::boss_fathomlord_karathressAI::boss_fathomlord_karathressAI(), boss_felblood_kaelthas::boss_felblood_kaelthasAI::boss_felblood_kaelthasAI(), boss_felmyst::boss_felmystAI::boss_felmystAI(), boss_flame_leviathan_seat::boss_flame_leviathan_seatAI::boss_flame_leviathan_seatAI(), boss_gal_darah::boss_gal_darahAI::boss_gal_darahAI(), boss_gelihast::boss_gelihastAI::boss_gelihastAI(), boss_gurtogg_bloodboil::boss_gurtogg_bloodboilAI::boss_gurtogg_bloodboilAI(), boss_hadronox::boss_hadronoxAI::boss_hadronoxAI(), boss_harbinger_skyriss::boss_harbinger_skyrissAI::boss_harbinger_skyrissAI(), boss_headless_horseman::boss_headless_horsemanAI::boss_headless_horsemanAI(), boss_high_astromancer_solarian::boss_high_astromancer_solarianAI::boss_high_astromancer_solarianAI(), boss_high_inquisitor_whitemane::boss_high_inquisitor_whitemaneAI::boss_high_inquisitor_whitemaneAI(), boss_high_king_maulgar::boss_high_king_maulgarAI::boss_high_king_maulgarAI(), boss_hunter_toc5::boss_hunter_toc5AI::boss_hunter_toc5AI(), boss_hydross_the_unstable::boss_hydross_the_unstableAI::boss_hydross_the_unstableAI(), boss_ichoron::boss_ichoronAI::boss_ichoronAI(), boss_illidan_stormrage::boss_illidan_stormrageAI::boss_illidan_stormrageAI(), boss_illidari_councilAI::boss_illidari_councilAI(), boss_infinite_corruptor::boss_infinite_corruptorAI::boss_infinite_corruptorAI(), boss_ionar::boss_ionarAI::boss_ionarAI(), boss_jedoga_shadowseeker::boss_jedoga_shadowseekerAI::boss_jedoga_shadowseekerAI(), boss_julianne::boss_julianneAI::boss_julianneAI(), boss_kaelthas::boss_kaelthasAI::boss_kaelthasAI(), boss_kalec::boss_kalecAI::boss_kalecAI(), boss_kalecgos_kj::boss_kalecgos_kjAI::boss_kalecgos_kjAI(), boss_kalecgos::boss_kalecgosAI::boss_kalecgosAI(), boss_kazrogal::boss_kazrogalAI::boss_kazrogalAI(), boss_kelidan_the_breaker::boss_kelidan_the_breakerAI::boss_kelidan_the_breakerAI(), boss_kelris::boss_kelrisAI::boss_kelrisAI(), boss_keristrasza::boss_keristraszaAI::boss_keristraszaAI(), boss_kiggler_the_crazed::boss_kiggler_the_crazedAI::boss_kiggler_the_crazedAI(), boss_kiljaeden::boss_kiljaedenAI::boss_kiljaedenAI(), boss_kri::boss_kriAI::boss_kriAI(), boss_krik_thir::boss_krik_thirAI::boss_krik_thirAI(), boss_krosh_firehand::boss_krosh_firehandAI::boss_krosh_firehandAI(), boss_krystallus::boss_krystallusAI::boss_krystallusAI(), boss_lady_vashj::boss_lady_vashjAI::boss_lady_vashjAI(), boss_lavanthor::boss_lavanthorAI::boss_lavanthorAI(), boss_leotheras_the_blind::boss_leotheras_the_blindAI::boss_leotheras_the_blindAI(), boss_lich_king_toc::boss_lich_king_tocAI::boss_lich_king_tocAI(), boss_loken::boss_lokenAI::boss_lokenAI(), boss_mage_toc5::boss_mage_toc5AI::boss_mage_toc5AI(), boss_magtheridon::boss_magtheridonAI::boss_magtheridonAI(), boss_magus_telestra::boss_magus_telestraAI::boss_magus_telestraAI(), boss_mal_ganis::boss_mal_ganisAI::boss_mal_ganisAI(), boss_malchezaar::boss_malchezaarAI::boss_malchezaarAI(), boss_meathook::boss_meathookAI::boss_meathookAI(), boss_mekgineer_steamrigger::boss_mekgineer_steamriggerAI::boss_mekgineer_steamriggerAI(), boss_moorabi::boss_moorabiAI::boss_moorabiAI(), boss_moragg::boss_moraggAI::boss_moraggAI(), boss_moroes_guestAI::boss_moroes_guestAI(), boss_moroes::boss_moroesAI::boss_moroesAI(), boss_morogrim_tidewalker::boss_morogrim_tidewalkerAI::boss_morogrim_tidewalkerAI(), boss_muru::boss_muruAI::boss_muruAI(), boss_najentus::boss_najentusAI::boss_najentusAI(), boss_netherspite::boss_netherspiteAI::boss_netherspiteAI(), boss_nightbane::boss_nightbaneAI::boss_nightbaneAI(), boss_olm_the_summoner::boss_olm_the_summonerAI::boss_olm_the_summonerAI(), boss_palehoof::boss_palehoofAI::boss_palehoofAI(), boss_paletress::boss_paletressAI::boss_paletressAI(), boss_priestess_delrissa::boss_priestess_delrissaAI::boss_priestess_delrissaAI(), boss_priestess_lackey_commonAI::boss_priestess_lackey_commonAI(), boss_rage_winterchill::boss_rage_winterchillAI::boss_rage_winterchillAI(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::boss_reliquary_of_soulsAI(), boss_roar::boss_roarAI::boss_roarAI(), boss_romulo::boss_romuloAI::boss_romuloAI(), boss_rouge_toc5::boss_rouge_toc5AI::boss_rouge_toc5AI(), boss_sacrolash::boss_sacrolashAI::boss_sacrolashAI(), boss_salramm::boss_salrammAI::boss_salrammAI(), boss_sartharion::boss_sartharionAI::boss_sartharionAI(), boss_sathrovarr::boss_sathrovarrAI::boss_sathrovarrAI(), boss_scarlet_commander_mograine::boss_scarlet_commander_mograineAI::boss_scarlet_commander_mograineAI(), boss_selin_fireheart::boss_selin_fireheartAI::boss_selin_fireheartAI(), boss_shade_of_akama::boss_shade_of_akamaAI::boss_shade_of_akamaAI(), boss_mother_shahraz::boss_shahrazAI::boss_shahrazAI(), boss_shaman_toc5::boss_shaman_toc5AI::boss_shaman_toc5AI(), boss_silver_hand_bosses::boss_silver_hand_bossesAI::boss_silver_hand_bossesAI(), boss_skadi::boss_skadiAI::boss_skadiAI(), boss_slad_ran::boss_slad_ranAI::boss_slad_ranAI(), boss_strawman::boss_strawmanAI::boss_strawmanAI(), boss_supremus::boss_supremusAI::boss_supremusAI(), boss_svala::boss_svalaAI::boss_svalaAI(), boss_terestian_illhoof::boss_terestianAI::boss_terestianAI(), boss_teron_gorefiend::boss_teron_gorefiendAI::boss_teron_gorefiendAI(), boss_the_lurker_below::boss_the_lurker_belowAI::boss_the_lurker_belowAI(), boss_the_maker::boss_the_makerAI::boss_the_makerAI(), boss_hydromancer_thespia::boss_thespiaAI::boss_thespiaAI(), boss_tinhead::boss_tinheadAI::boss_tinheadAI(), boss_toc_champion_controller::boss_toc_champion_controllerAI::boss_toc_champion_controllerAI(), boss_twinemperorsAI::boss_twinemperorsAI(), boss_vem::boss_vemAI::boss_vemAI(), boss_vexallus::boss_vexallusAI::boss_vexallusAI(), boss_void_reaver::boss_void_reaverAI::boss_void_reaverAI(), boss_volazj::boss_volazjAI::boss_volazjAI(), boss_volkhan::boss_volkhanAI::boss_volkhanAI(), boss_warlord_kalithresh::boss_warlord_kalithreshAI::boss_warlord_kalithreshAI(), boss_warrior_toc5::boss_warrior_toc5AI::boss_warrior_toc5AI(), boss_xevozz::boss_xevozzAI::boss_xevozzAI(), boss_yauj::boss_yaujAI::boss_yaujAI(), boss_ymiron::boss_ymironAI::boss_ymironAI(), boss_zuramat::boss_zuramatAI::boss_zuramatAI(), spell_putricide_mutation_init::spell_putricide_mutation_init_SpellScript::CheckRequirementInternal(), spell_gen_dungeon_credit::spell_gen_dungeon_credit_SpellScript::CreditEncounter(), boss_cthun::cthunAI::cthunAI(), dummy_dragonAI::dummy_dragonAI(), boss_eye_of_cthun::eye_of_cthunAI::eye_of_cthunAI(), spell_scion_of_eternity_arcane_barrage::spell_scion_of_eternity_arcane_barrage_SpellScript::FilterMeleeHoverDiskPassangers(), generic_vehicleAI_toc5::generic_vehicleAI_toc5AI::generic_vehicleAI_toc5AI(), GrandChampionsOutVehicle(), Unit::HandleDummyAuraProc(), spell_auto_repair::spell_auto_repair_SpellScript::HandleScript(), spell_heigan_eruption::spell_heigan_eruption_SpellScript::HandleScript(), spell_malygos_vortex_dummy::spell_malygos_vortex_dummy_SpellScript::HandleScript(), spell_putricide_unbound_plague::spell_putricide_unbound_plague_SpellScript::HandleScript(), spell_ulduar_rubble_summon::spell_ulduar_rubble_summonSpellScript::HandleScript(), spell_alexstrasza_bunny_destroy_platform_event::spell_alexstrasza_bunny_destroy_platform_event_SpellScript::HandleSendEvent(), spell_putricide_mutated_transformation::spell_putricide_mutated_transformation_SpellScript::HandleSummon(), hyjal_trashAI::hyjal_trashAI(), hyjalAI::hyjalAI(), spell_dreamwalker_nightmare_cloud::spell_dreamwalker_nightmare_cloud_AuraScript::Load(), spell_occuthar_eyes_of_occuthar_vehicle::spell_occuthar_eyes_of_occuthar_vehicle_SpellScript::Load(), spell_scion_of_eternity_arcane_barrage::spell_scion_of_eternity_arcane_barrage_SpellScript::Load(), spell_the_lich_king_harvest_soul::spell_the_lich_king_harvest_soul_AuraScript::Load(), spell_the_lich_king_in_frostmourne_room::spell_the_lich_king_in_frostmourne_room_AuraScript::Load(), spell_the_lich_king_quake::spell_the_lich_king_quake_SpellScript::Load(), spell_the_lich_king_restore_soul::spell_the_lich_king_restore_soul_SpellScript::Load(), npc_abomination::npc_abominationAI::npc_abominationAI(), npc_acolyte_of_shadron::npc_acolyte_of_shadronAI::npc_acolyte_of_shadronAI(), npc_acolyte_of_vesperon::npc_acolyte_of_vesperonAI::npc_acolyte_of_vesperonAI(), npc_akama_illidan::npc_akama_illidanAI::npc_akama_illidanAI(), npc_akama_shade::npc_akamaAI::npc_akamaAI(), npc_ancient_wisp::npc_ancient_wispAI::npc_ancient_wispAI(), npc_annhylde_the_caller::npc_annhylde_the_callerAI::npc_annhylde_the_callerAI(), npc_announcer_toc5::npc_announcer_toc5AI::npc_announcer_toc5AI(), npc_arcane_overload::npc_arcane_overloadAI::npc_arcane_overloadAI(), npc_argent_soldier::npc_argent_soldierAI::npc_argent_soldierAI(), npc_arthas::npc_arthasAI::npc_arthasAI(), npc_arugal_voidwalker::npc_arugal_voidwalkerAI::npc_arugal_voidwalkerAI(), npc_ashtongue_channeler::npc_ashtongue_channelerAI::npc_ashtongue_channelerAI(), npc_ashtongue_defender::npc_ashtongue_defenderAI::npc_ashtongue_defenderAI(), npc_ashtongue_elementalist::npc_ashtongue_elementalistAI::npc_ashtongue_elementalistAI(), npc_ashtongue_rogue::npc_ashtongue_rogueAI::npc_ashtongue_rogueAI(), npc_ashtongue_sorcerer::npc_ashtongue_sorcererAI::npc_ashtongue_sorcererAI(), npc_ashtongue_spiritbinder::npc_ashtongue_spiritbinderAI::npc_ashtongue_spiritbinderAI(), npc_azure_binder::npc_azure_binderAI::npc_azure_binderAI(), npc_azure_captain::npc_azure_captainAI::npc_azure_captainAI(), npc_azure_invader::npc_azure_invaderAI::npc_azure_invaderAI(), npc_azure_mage_slayer::npc_azure_mage_slayerAI::npc_azure_mage_slayerAI(), npc_azure_raider::npc_azure_raiderAI::npc_azure_raiderAI(), npc_azure_ring_captain::npc_azure_ring_captainAI::npc_azure_ring_captainAI(), npc_azure_saboteur::npc_azure_saboteurAI::npc_azure_saboteurAI(), npc_azure_sorceror::npc_azure_sorcerorAI::npc_azure_sorcerorAI(), npc_azure_spellbreaker::npc_azure_spellbreakerAI::npc_azure_spellbreakerAI(), npc_azure_stalker::npc_azure_stalkerAI::npc_azure_stalkerAI(), npc_banana_hozen::npc_banana_hozenAI::npc_banana_hozenAI(), npc_banshee::npc_bansheeAI::npc_bansheeAI(), npc_barnes::npc_barnesAI::npc_barnesAI(), npc_blackfathom_deeps_event::npc_blackfathom_deeps_eventAI::npc_blackfathom_deeps_eventAI(), npc_blackhole::npc_blackholeAI::npc_blackholeAI(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::npc_blastmaster_emi_shortfuseAI(), npc_blood_queen_lana_thel::npc_blood_queen_lana_thelAI::npc_blood_queen_lana_thelAI(), npc_boombot::npc_boombotAI::npc_boombotAI(), npc_bopper::npc_bopperAI::npc_bopperAI(), npc_brann_hos::npc_brann_hosAI::npc_brann_hosAI(), npc_caster_hover_disk::npc_caster_hover_diskAI::npc_caster_hover_diskAI(), npc_colossus::npc_colossusAI::npc_colossusAI(), npc_core_rager::npc_core_ragerAI::npc_core_ragerAI(), npc_creature_generator_akama::npc_creature_generator_akamaAI::npc_creature_generator_akamaAI(), npc_crypt_fiend::npc_crypt_fiendAI::npc_crypt_fiendAI(), npc_disciple_of_naralex::npc_disciple_of_naralexAI::npc_disciple_of_naralexAI(), npc_dragonflayer_forge_master::npc_dragonflayer_forge_masterAI::npc_dragonflayer_forge_masterAI(), npc_ember_of_alar::npc_ember_of_alarAI::npc_ember_of_alarAI(), npc_enchanted_elemental::npc_enchanted_elementalAI::npc_enchanted_elementalAI(), npc_erekem_guard::npc_erekem_guardAI::npc_erekem_guardAI(), npc_ethereal_sphere::npc_ethereal_sphereAI::npc_ethereal_sphereAI(), npc_fel_infernal::npc_fel_infernalAI::npc_fel_infernalAI(), npc_fel_orc_convert::npc_fel_orc_convertAI::npc_fel_orc_convertAI(), npc_fel_stalker::npc_fel_stalkerAI::npc_fel_stalkerAI(), npc_felkael_phoenix::npc_felkael_phoenixAI::npc_felkael_phoenixAI(), npc_ferocious_rhino::npc_ferocious_rhinoAI::npc_ferocious_rhinoAI(), npc_feugen::npc_feugenAI::npc_feugenAI(), npc_firebomb::npc_firebombAI::npc_firebombAI(), npc_frenzied_worgen::npc_frenzied_worgenAI::npc_frenzied_worgenAI(), npc_frost_tomb::npc_frost_tombAI::npc_frost_tombAI(), npc_frost_wyrm::npc_frost_wyrmAI::npc_frost_wyrmAI(), npc_frozen_orb_stalker::npc_frozen_orb_stalkerAI::npc_frozen_orb_stalkerAI(), npc_gargoyle::npc_gargoyleAI::npc_gargoyleAI(), npc_ghoul::npc_ghoulAI::npc_ghoulAI(), npc_giant_infernal::npc_giant_infernalAI::npc_giant_infernalAI(), npc_greyheart_spellbinder::npc_greyheart_spellbinderAI::npc_greyheart_spellbinderAI(), npc_grimstone::npc_grimstoneAI::npc_grimstoneAI(), npc_hand_of_the_deceiver::npc_hand_of_the_deceiverAI::npc_hand_of_the_deceiverAI(), npc_hellfire_channeler::npc_hellfire_channelerAI::npc_hellfire_channelerAI(), npc_ichor_globule::npc_ichor_globuleAI::npc_ichor_globuleAI(), npc_illidari_council::npc_illidari_councilAI::npc_illidari_councilAI(), npc_image_of_medivh::npc_image_of_medivhAI::npc_image_of_medivhAI(), npc_iron_sludge::npc_iron_sludgeAI::npc_iron_sludgeAI(), npc_jedoga_initiand::npc_jedoga_initiandAI::npc_jedoga_initiandAI(), npc_jedogas_aufseher_trigger::npc_jedogas_aufseher_triggerAI::npc_jedogas_aufseher_triggerAI(), npc_kelthuzad_abomination::npc_kelthuzad_abominationAI::npc_kelthuzad_abominationAI(), npc_kiljaeden_controller::npc_kiljaeden_controllerAI::npc_kiljaeden_controllerAI(), npc_kilrek::npc_kilrekAI::npc_kilrekAI(), npc_legion_flame::npc_legion_flameAI::npc_legion_flameAI(), npc_lesser_doomguard::npc_lesser_doomguardAI::npc_lesser_doomguardAI(), npc_living_mojo::npc_living_mojoAI::npc_living_mojoAI(), npc_massive_jormungar::npc_massive_jormungarAI::npc_massive_jormungarAI(), npc_medivh_bm::npc_medivh_bmAI::npc_medivh_bmAI(), npc_melee_hover_disk::npc_melee_hover_diskAI::npc_melee_hover_diskAI(), npc_millhouse_manastorm::npc_millhouse_manastormAI::npc_millhouse_manastormAI(), npc_mistress_of_pain::npc_mistress_of_painAI::npc_mistress_of_painAI(), npc_muru_portal::npc_muru_portalAI::npc_muru_portalAI(), npc_naga_distiller::npc_naga_distillerAI::npc_naga_distillerAI(), npc_necromancer::npc_necromancerAI::npc_necromancerAI(), npc_nerubian_burrower::npc_nerubian_burrowerAI::npc_nerubian_burrowerAI(), npc_nexus_lord::npc_nexus_lordAI::npc_nexus_lordAI(), npc_omrogg_heads::npc_omrogg_headsAI::npc_omrogg_headsAI(), npc_palehoof_orb::npc_palehoof_orbAI::npc_palehoof_orbAI(), npc_parasitic_shadowfiend::npc_parasitic_shadowfiendAI::npc_parasitic_shadowfiendAI(), npc_portal_eoe::npc_portal_eoeAI::npc_portal_eoeAI(), npc_power_spark::npc_power_sparkAI::npc_power_sparkAI(), npc_precious_icc::npc_precious_iccAI::npc_precious_iccAI(), npc_pummeller::npc_pummellerAI::npc_pummellerAI(), npc_ragin_flames::npc_ragin_flamesAI::npc_ragin_flamesAI(), npc_ravenous_furbolg::npc_ravenous_furbolgAI::npc_ravenous_furbolgAI(), npc_ritual_channeler::npc_ritual_channelerAI::npc_ritual_channelerAI(), npc_rocknot::npc_rocknotAI::npc_rocknotAI(), npc_ruby_emerald_amber_drake::npc_ruby_emerald_amber_drakeAI::npc_ruby_emerald_amber_drakeAI(), npc_ruins_dweller::npc_ruins_dwellerAI::npc_ruins_dwellerAI(), npc_scion_of_eternity::npc_scion_of_eternityAI::npc_scion_of_eternityAI(), npc_sergeant_bly::npc_sergeant_blyAI::npc_sergeant_blyAI(), npc_shadowfang_prisoner::npc_shadowfang_prisonerAI::npc_shadowfang_prisonerAI(), npc_shield_generator_channel::npc_shield_generator_channelAI::npc_shield_generator_channelAI(), npc_shield_orb::npc_shield_orbAI::npc_shield_orbAI(), npc_sinclari_vh::npc_sinclariAI::npc_sinclariAI(), npc_sindragosa_trash::npc_sindragosa_trashAI::npc_sindragosa_trashAI(), npc_slime_pool::npc_slime_poolAI::npc_slime_poolAI(), npc_snobold_vassal::npc_snobold_vassalAI::npc_snobold_vassalAI(), npc_solarium_priest::npc_solarium_priestAI::npc_solarium_priestAI(), npc_spark_of_ionar::npc_spark_of_ionarAI::npc_spark_of_ionarAI(), npc_stalagg::npc_stalaggAI::npc_stalaggAI(), npc_steamrigger_mechanic::npc_steamrigger_mechanicAI::npc_steamrigger_mechanicAI(), npc_stinky_icc::npc_stinky_iccAI::npc_stinky_iccAI(), npc_stormforged_lieutenant::npc_stormforged_lieutenantAI::npc_stormforged_lieutenantAI(), npc_swarm_scarab::npc_swarm_scarabAI::npc_swarm_scarabAI(), npc_tainted_elemental::npc_tainted_elementalAI::npc_tainted_elementalAI(), npc_taretha::npc_tarethaAI::npc_tarethaAI(), npc_teleportation_portal_vh::npc_teleportation_portalAI::npc_teleportation_portalAI(), npc_tempest_minion::npc_tempest_minionAI::npc_tempest_minionAI(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::npc_thrall_old_hillsbradAI(), npc_time_rift::npc_time_riftAI::npc_time_riftAI(), npc_tomb_creature::npc_tomb_creatureAI::npc_tomb_creatureAI(), npc_towering_infernal::npc_towering_infernalAI::npc_towering_infernalAI(), npc_toxic_sporebat::npc_toxic_sporebatAI::npc_toxic_sporebatAI(), npc_tribuna_controller::npc_tribuna_controllerAI::npc_tribuna_controllerAI(), npc_twilight_eggs::npc_twilight_eggsAI::npc_twilight_eggsAI(), npc_voidtraveler::npc_voidtravelerAI::npc_voidtravelerAI(), npc_warden_mellichar::npc_warden_mellicharAI::npc_warden_mellicharAI(), npc_weegli_blastfuse::npc_weegli_blastfuseAI::npc_weegli_blastfuseAI(), npc_wrathbone_flayer::npc_wrathbone_flayerAI::npc_wrathbone_flayerAI(), spell_halion_twilight_realm_handlers::spell_halion_twilight_realm_handlers_AuraScript::OnApply(), spell_tyrannus_mark_of_rimefang::spell_tyrannus_mark_of_rimefang_AuraScript::OnApply(), spell_blood_queen_frenzied_bloodthirst::spell_blood_queen_frenzied_bloodthirst_AuraScript::OnRemove(), at_alizabal_intro::OnTrigger(), ValithriaDespawner::operator()(), SmartScript::ProcessAction(), Player::SendInitWorldStates(), Player::SendRaidInfo(), Unit::setDeathState(), and violet_hold_trashAI::violet_hold_trashAI().
|
inlinevirtual |
Reimplemented in Creature, GameObject, and Unit.
Definition at line 702 of file Object.h.
References WorldObject().
Referenced by CanDetectStealthOf().
|
inline |
Definition at line 740 of file Object.h.
References ASSERT, and m_currMap.
Referenced by Unit::_ExitVehicle(), Map::_FindGameObject(), Battleground::_ProcessRessurect(), AchievementMgr< T >::AdditionalRequirementsSatisfied(), Map::AddPlayerToMap(), GameObject::AddToWorld(), AggroAllPlayers(), Skyfire::PetTransport::AttachHunterPetToOwnerTransport(), DynamicObject::BindToCaster(), Player::BuildPlayerRepop(), Transport::BuildUpdate(), BuildUpdate(), Creature::CallAssistance(), Creature::CallForHelp(), CanNeverSee(), Player::CanRollForItemInLFG(), Player::CheckDuelDistance(), spell_gen_cannibalize::spell_gen_cannibalize_SpellScript::CheckIfCorpseNear(), spell_hun_pet_carrion_feeder::spell_hun_pet_carrion_feeder_SpellScript::CheckIfCorpseNear(), Player::CheckInstanceLoginValid(), Corpse::Create(), AreaTrigger::CreateAreaTrigger(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), Player::CreateCorpse(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), TransportMgr::CreateLocalTransport(), TransportMgr::CreateLocalTransport(), Transport::CreateNPCPassenger(), TransportMgr::CreateTransport(), Creature::DeleteFromDB(), GameObject::DeleteFromDB(), FlightPathMovementGenerator::DoEventIfAny(), Transport::DoEventIfAny(), Creature::DoFleeToGetAssistance(), WorldSession::DoLootRelease(), CreatureAI::DoZoneInCombat(), Player::DuelComplete(), DynObjAura::DynObjAura(), Spell::EffectCreateTamedPet(), Spell::EffectSummonDeadPet(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPet(), Spell::EffectTameCreature(), Spell::EffectTransmitted(), ChatHandler::ExecuteCommandInTable(), Creature::FarTeleportTo(), SmartScript::FillScript(), spell_scion_of_eternity_arcane_barrage::spell_scion_of_eternity_arcane_barrage_SpellScript::FilterMeleeHoverDiskPassangers(), spell_malygos_arcane_storm::spell_malygos_arcane_storm_SpellScript::FilterTargets(), spell_rotface_vile_gas_trigger::spell_rotface_vile_gas_trigger_SpellScript::FilterTargets(), SmartScript::FindCreatureNear(), SmartScript::FindGameObjectNear(), FindSceneActor(), Skyfire::XP::Gain(), ObjectAccessor::GetAreaTrigger(), Unit::GetAttackableUnitListInRange(), GetBaradinHoldAI(), ObjectAccessor::GetCorpse(), ObjectAccessor::GetCreature(), Unit::GetCreature(), GetCreatureListWithEntryInGrid(), ObjectAccessor::GetDynamicObject(), GetFirelandsAI(), GameObject::GetGameObject(), ObjectAccessor::GetGameObject(), Player::GetGameObjectIfCanInteractWith(), GetGameObjectListWithEntryInGrid(), GetGridActivationRange(), GetHallsOfOriginationAI(), GetIcecrownCitadelAI(), GetInstanceScript(), LuaUnit::GetMap(), LuaWorldObject::GetMap(), Player::GetNextQuest(), ChatHandler::GetObjectGlobalyWithGuidOrNearWithDbGuid(), ObjectAccessor::GetPet(), ObjectAccessor::GetPlayer(), GetRubySanctumAI(), GetRubySanctumAI(), GetSightRange(), SpellMgr::GetSpellIdForDifficulty(), ObjectAccessor::GetTransport(), ObjectAccessor::GetUnit(), GetVisibilityRange(), GetZulAmanAI(), misc_commandscript::HandleAppearCommand(), WorldSession::HandleAreaSpiritHealerQueryOpcode(), WorldSession::HandleAreaSpiritHealerQueueOpcode(), WorldSession::HandleAreaTriggerOpcode(), AuraEffect::HandleAuraDummy(), Unit::HandleAuraProc(), WorldSession::HandleAutostoreLootItemOpcode(), WorldSession::HandleBattlemasterHelloOpcode(), debug_commandscript::HandleDebugSpawnVehicleCommand(), OutdoorPvPSI::HandleDropFlag(), spell_q12589_shoot_rjr::spell_q12589_shoot_rjr_SpellScript::HandleDummy(), AuraEffect::HandleFeignDeath(), gobject_commandscript::HandleGameObjectAddCommand(), WorldSession::HandleGameobjectReportUse(), gobject_commandscript::HandleGameObjectTargetCommand(), group_commandscript::HandleGroupSummonCommand(), Guild::HandleGuildPartyRequest(), spell_sindragosa_frost_breath::spell_sindragosa_frost_breath_SpellScript::HandleInfusion(), instance_commandscript::HandleInstanceSaveDataCommand(), WorldSession::HandleLootMasterGiveOpcode(), WorldSession::HandleLootMoneyOpcode(), mmaps_commandscript::HandleMmapTestArea(), AuraEffect::HandleModPossessPet(), WorldSession::HandleMovementOpcodes(), WorldSession::HandleMoveWorldportAckOpcode(), npc_commandscript::HandleNpcAddCommand(), npc_commandscript::HandleNpcDeleteCommand(), npc_commandscript::HandleNpcTameCommand(), AuraEffect::HandlePeriodicDummyAuraTick(), pet_commandscript::HandlePetCreateCommand(), WorldSession::HandlePlayerLogin(), misc_commandscript::HandleRespawnCommand(), spell_ulduar_cancel_stone_grip::spell_ulduar_cancel_stone_gripSpellScript::HandleScript(), spell_vehicle_throw_passenger::spell_vehicle_throw_passenger_SpellScript::HandleScript(), spell_alexstrasza_bunny_destroy_platform_event::spell_alexstrasza_bunny_destroy_platform_event_SpellScript::HandleSendEvent(), WorldSession::HandleSetDungeonDifficultyOpcode(), WorldSession::HandleSetRaidDifficultyOpcode(), spell_halion_damage_aoe_summon::spell_halion_damage_aoe_summon_SpellScript::HandleSummon(), spell_putricide_mutated_transformation::spell_putricide_mutated_transformation_SpellScript::HandleSummon(), misc_commandscript::HandleSummonCommand(), WorldSession::HandleTotemDestroyed(), wp_commandscript::HandleWpModifyCommand(), wp_commandscript::HandleWpShowCommand(), Player::HasQuestForGO(), Player::HasQuestForItem(), Group::InCombatToInstance(), Creature::InitEntry(), TempSummon::InitStats(), Player::inRandomLfgDungeon(), Unit::isAttackingPlayer(), IsInMap(), IsVampire(), IsWithinLOS(), Unit::Kill(), Player::KillCreditGO(), Player::KilledMonsterCredit(), Player::KilledPlayerCredit(), spell_the_lich_king_vile_spirits::spell_the_lich_king_vile_spirits_AuraScript::Load(), Creature::LoadCreatureFromDB(), GameObject::LoadGameObjectFromDB(), Pet::LoadPetFromDB(), Transport::LoadStaticPassengers(), GameObject::LookupFishingHoleAround(), AchievementCriteriaData::Meets(), MonsterSay(), MonsterSay(), MonsterTextEmote(), MonsterYell(), MonsterYell(), MovePosition(), MovePositionToFirstCollision(), WaypointMovementGenerator< Creature >::OnArrived(), go_gauntlet_gate::OnGossipHello(), lfg::LFGPlayerScript::OnMapChanged(), spell_alexstrasza_gift_beam_visual::spell_alexstrasza_gift_beam_visual_AuraScript::OnRemove(), spell_malygos_destroy_platform_channel::spell_malygos_destroy_platform_channel_AuraScript::OnRemove(), spell_malygos_vortex_visual::spell_malygos_vortex_visual_AuraScript::OnRemove(), spell_ulduar_stone_grip_absorb::spell_ulduar_stone_grip_absorb_AuraScript::OnRemove(), lfg::LFGGroupScript::OnRemoveMember(), at_sindragosa_lair::OnTrigger(), InstanceMap::PermBindAllPlayers(), spell_halion_twilight_phasing::spell_halion_twilight_phasing_SpellScript::Phase(), Player::PrepareQuestMenu(), spell_bronjahm_magic_bane::spell_bronjahm_magic_bane_SpellScript::RecalculateDamage(), GameObject::Refresh(), Unit::RemoveCharmedBy(), Creature::RemoveCorpse(), GameObject::RemoveFromWorld(), Skyfire::PetTransport::RemoveOwnerHunterPet(), ReplaceSurveyObjectSlot(), ResetCryForTheMoonActor(), Player::ResetMap(), Creature::Respawn(), GameObject::Respawn(), Player::RewardReputation(), Creature::SaveRespawnTime(), GameObject::SaveRespawnTime(), Map::ScriptsProcess(), Spell::SearchTargets(), Creature::SelectNearestTarget(), Creature::SelectNearestTargetInAttackDistance(), CreatureTextMgr::SendChatPacket(), Player::SendInitialPacketsAfterAddToMap(), Player::SendInitialPacketsBeforeAddToMap(), Player::SendLoot(), Spell::SendLoot(), CreatureTextMgr::SendNonChatPacket(), WorldSession::SendQuestgiverStatusMultiple(), WorldSession::SendTaxiStatus(), Player::SetBattlegroundEntryPoint(), Unit::SetCharmedBy(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::SetData(), spell_omega_stance_spider_effect::spell_omega_stance_spider_effect_SpellScript::SetDestPosition(), Creature::SetInCombatWithZone(), Unit::SetPhased(), Unit::SetPhaseMask(), Creature::SetPosition(), SetWorldObject(), BattlePetWildZonePool::SpawnReplacement(), SpawnSurveyGameObject(), instance_the_black_morass::instance_the_black_morass_InstanceMapScript::SummonedPortalBoss(), SummonGameObject(), LuaUnit::SummonGuardian(), Spell::SummonGuardian(), Player::SummonPet(), lfg::LFGMgr::TeleportPlayer(), Player::TeleportTo(), Transport::TeleportTransport(), GameObject::TriggeringLinkedGameObject(), Unit::UnsummonAllTotems(), Creature::Update(), DynamicObject::Update(), GameObject::Update(), Pet::Update(), Player::Update(), Player::UpdateCinematicVisibility(), GameObject::UpdateModel(), GameObject::UpdateModelPosition(), Creature::UpdateMovementFlags(), Transport::UpdatePassengerPositions(), Transport::UpdatePosition(), Unit::UpdatePosition(), Unit::UpdateSplinePosition(), Player::UpdateTriggerVisibility(), GameObject::Use(), ObjectGridEvacuator::Visit(), ObjectGridEvacuator::Visit(), VisitNearbyGridObject(), VisitNearbyObject(), and VisitNearbyWorldObject().
|
inline |
Definition at line 664 of file Object.h.
References m_name.
Referenced by Player::_LoadBoundInstances(), Player::_LoadCUFProfiles(), Player::_LoadHomeBind(), Player::_LoadInventory(), Player::_LoadItem(), Player::_LoadQuestObjectiveStatus(), Player::_LoadQuestStatus(), Player::_LoadResearchDigsites(), Player::_LoadResearchHistory(), Player::_LoadResearchProjects(), Player::_LoadVoidStorage(), Player::_SaveInventory(), Guild::_SendRemovePlayerFromGuild(), Group::AddLeaderInvite(), Group::AddMember(), Guild::AddMember(), Transport::AddPassenger(), Vehicle::AddPassenger(), InstanceMap::AddPlayerToMap(), Player::AddVoidStorageItemAtSlot(), Player::BindToInstance(), Group::BroadcastGroupUpdate(), WorldSession::BuildPartyMemberStatsChangedPacket(), Player::BuildPlayerRepop(), Player::BuyItemFromVendorSlot(), Player::CanBankItem(), InstanceMap::CanEnter(), MapManager::CanPlayerEnter(), Player::CastItemCombatSpell(), Group::ChangeLeader(), Player::CleanupChannels(), Corpse::Create(), Group::Create(), Guild::Create(), TransportMgr::CreateTransport(), FlightPathMovementGenerator::DoEventIfAny(), Transport::DoEventIfAny(), Player::DuelComplete(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectStuck(), BattlegroundEY::EventPlayerClickedOnFlag(), ChatHandler::ExecuteCommandInTable(), ChatHandler::extractPlayerTarget(), BugTicket::FormatMessageString(), GmTicket::FormatMessageString(), SuggestTicket::FormatMessageString(), Unit::GetFactionTemplateEntry(), Player::GetGameObjectIfCanInteractWith(), LuaWorldObject::GetName(), Creature::GetNameForLocaleIdx(), GameObject::GetNameForLocaleIdx(), ChatHandler::GetNameLink(), GetPlayerInfo(), GmTicket::GmTicket(), WorldSocket::handle_input_header(), WorldSession::HandleAcceptTradeOpcode(), account_commandscript::HandleAccountCreateCommand(), account_commandscript::HandleAccountEmailCommand(), account_commandscript::HandleAccountPasswordCommand(), spell_rog_deadly_poison::spell_rog_deadly_poison_SpellScript::HandleAfterHit(), WorldSession::HandleAreaTriggerOpcode(), WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), battlepet_commandscript::HandleBattlePetDebugCommand(), battlepet_commandscript::HandleBattlePetHealCommand(), battlepet_commandscript::HandleBattlePetLevelupCommand(), character_commandscript::HandleCharacterRenameCommand(), character_commandscript::HandleCharacterTitlesCommand(), WorldSession::HandleCharCreateCallback(), misc_commandscript::HandleDamageCommand(), debug_commandscript::HandleDebugGetLootRecipientCommand(), debug_commandscript::HandleDebugHostileRefListCommand(), debug_commandscript::HandleDebugThreatListCommand(), debug_commandscript::HandleDebugTransportCommand(), WorldSession::HandleDuelResponseOpcode(), misc_commandscript::HandleFreezeCommand(), ticket_commandscript::HandleGMTicketCloseByIdCommand(), ticket_commandscript::HandleGMTicketCommentCommand(), ticket_commandscript::HandleGMTicketDeleteByIdCommand(), ticket_commandscript::HandleGMTicketUnAssignCommand(), WorldSession::HandleGrantLevel(), group_commandscript::HandleGroupDisbandCommand(), WorldSession::HandleGroupInviteResponseOpcode(), group_commandscript::HandleGroupJoinCommand(), group_commandscript::HandleGroupLeaderCommand(), group_commandscript::HandleGroupRemoveCommand(), Guild::HandleInviteMember(), Guild::HandleLeaveMember(), lookup_commandscript::HandleLookupTitleCommand(), WorldSession::HandleLootMasterGiveOpcode(), WorldSession::HandleMailTakeItem(), Guild::HandleMemberDepositMoney(), Guild::HandleMemberLogout(), WorldSession::HandleMessagechatOpcode(), mmaps_commandscript::HandleMmapPathCommand(), misc_commandscript::HandleMovegensCommand(), npc_commandscript::HandleNpcFollowCommand(), npc_commandscript::HandleNpcSetDataCommand(), npc_commandscript::HandleNpcUnFollowCommand(), WorldSession::HandleObjectUpdateFailedOpcode(), WorldSession::HandleOpenItemOpcode(), OutdoorPvP::HandlePlayerLeaveZone(), WorldSession::HandlePlayerLogin(), WorldSession::HandleReforgeItemOpcode(), WorldSession::HandleReportPvPAFK(), WorldSession::HandleSetDungeonDifficultyOpcode(), Guild::HandleSetNewGuildMaster(), misc_commandscript::HandleSummonCommand(), ticket_commandscript::HandleTicketCloseByIdCommand(), ticket_commandscript::HandleTicketCommentCommand(), ticket_commandscript::HandleTicketDeleteByIdCommand(), ticket_commandscript::HandleTicketUnAssignCommand(), titles_commandscript::HandleTitlesAddCommand(), titles_commandscript::HandleTitlesRemoveCommand(), WorldSession::HandleTransmogrifyItems(), misc_commandscript::HandleUnFreezeCommand(), Guild::HandleUpdateMemberRank(), WorldSession::HandleVoidStorageQuery(), WorldSession::HandleVoidStorageTransfer(), WorldSession::HandleVoidStorageUnlock(), WorldSession::HandleVoidSwapItem(), WorldSession::HandleWhoOpcode(), Channel::Invite(), BattlegroundQueue::InviteGroupToBG(), Player::IsActionButtonDataValid(), lfg::LFGMgr::JoinLfg(), Player::LoadFromDB(), WaypointMovementGenerator< Creature >::LoadPath(), Player::ModifySpellCooldown(), WorldSession::moveItems(), ChatLogScript::OnChat(), ChatLogScript::OnChat(), ChatLogScript::OnChat(), ChatLogScript::OnChat(), ChatLogScript::OnChat(), lfg::LFGPlayerScript::OnMapChanged(), Unit::OutDebugInfo(), InstanceMap::PermBindAllPlayers(), Map::PlayerRelocation(), Player::PrepareGossipMenu(), SmartScript::ProcessAction(), Map::RemoveAllPlayers(), Player::RemoveFromWorld(), Transport::RemovePassenger(), Vehicle::RemovePassenger(), Battleground::RemovePlayerAtLeave(), BattlegroundMap::RemovePlayerFromMap(), InstanceMap::RemovePlayerFromMap(), Creature::Respawn(), Player::SaveToDB(), FactorySelector::selectAI(), AuctionHouseMgr::SendAuctionWonMail(), CreatureTextMgr::SendChat(), LuaPlayer::SendGuildInvite(), Guild::SendLoginInfo(), Spell::SendLoot(), WorldSession::SendPetNameQuery(), WorldSession::SendStablePetCallback(), Player::SendTimeSync(), BattlegroundMgr::SendToBattleground(), Unit::SetCharm(), Player::setDeathState(), Player::SetEquipmentSet(), Channel::SetMode(), CreatureTextMgr::SetRepeatId(), Guild::Member::SetStats(), Player::SetViewpoint(), FollowerAI::StartFollow(), Player::StopCastingCharm(), npc_frostworn_general::npc_frostworn_generalAI::SummonClones(), lfg::LFGMgr::TeleportPlayer(), Player::TeleportTo(), Pet::Update(), Player::Update(), Transport::Update(), AchievementMgr< T >::UpdateAchievementCriteria(), Player::UpdateHomebindTime(), GameObject::Use(), and Player::Whisper().
|
inlinevirtual |
Reimplemented in Creature, and GameObject.
Definition at line 667 of file Object.h.
References m_name.
Referenced by ChatHandler::BuildChatPacket().
| void WorldObject::GetNearPoint | ( | WorldObject const * | searcher, |
| float & | x, | ||
| float & | y, | ||
| float & | z, | ||
| float | searcher_size, | ||
| float | distance2d, | ||
| float | absAngle ) const |
Definition at line 2945 of file Object.cpp.
References GetNearPoint2D(), Position::GetPositionZ(), UpdateAllowedPositionZ(), and WorldObject().
Referenced by GetClosePoint(), GetContactPoint(), and Unit::GetRandomContactPoint().
| void WorldObject::GetNearPoint2D | ( | float & | x, |
| float & | y, | ||
| float | distance, | ||
| float | absAngle ) const |
Definition at line 2936 of file Object.cpp.
References GetObjectSize(), Position::GetPositionX(), Position::GetPositionY(), and Skyfire::NormalizeMapCoord().
Referenced by GetNearPoint().
| void WorldObject::GetNearPosition | ( | Position & | pos, |
| float | dist, | ||
| float | angle ) |
Definition at line 3076 of file Object.cpp.
References Position::GetPosition(), and MovePosition.
Referenced by spell_svalna_revive_champion::spell_svalna_revive_champion_SpellScript::Land(), spell_q12308_escape_from_silverbrook_summon_worgen::spell_q12308_escape_from_silverbrook_summon_worgen_SpellScript::ModDest(), and Spell::SelectImplicitTargetDestTargets().
|
inline |
Definition at line 771 of file Object.h.
References m_notifyflags.
| float WorldObject::GetObjectSize | ( | ) | const |
Definition at line 3100 of file Object.cpp.
References DEFAULT_WORLD_OBJECT_SIZE, Object::m_floatValues, Object::m_valuesCount, and UNIT_FIELD_COMBAT_REACH.
Referenced by _IsWithinDist(), Spell::CheckCast(), Spell::EffectCreateTamedPet(), Spell::EffectSummonPet(), GetContactPoint(), GetDistance(), GetDistance(), GetDistance(), GetDistance2d(), GetDistance2d(), GetDistanceZ(), GetNearPoint2D(), debug_commandscript::HandleDebugSpawnVehicleCommand(), group_commandscript::HandleGroupSummonCommand(), npc_commandscript::HandleNpcTameCommand(), misc_commandscript::HandleSummonCommand(), Position::HasInLine(), IsInBetween(), IsInRange(), IsInRange2d(), IsInRange3d(), IsWithinDist2d(), IsWithinDist2d(), IsWithinDist3d(), IsWithinDist3d(), Pet::LoadPetFromDB(), item_pile_fake_furs::OnUse(), Skyfire::PetTransport::RemoveOwnerHunterPet(), Spell::SelectImplicitTargetDestTargets(), spell_omega_stance_spider_effect::spell_omega_stance_spider_effect_SpellScript::SetDestPosition(), SummonCreature(), and Cell::Visit().
|
inline |
Definition at line 643 of file Object.h.
References m_phaseMask.
Referenced by RandomMovementGenerator< T >::_setRandomLocation(), ObjectAccessor::ConvertCorpseForPlayer(), Corpse::Create(), AreaTrigger::CreateAreaTrigger(), DynamicObject::CreateDynamicObject(), GameObject::EnableCollision(), LuaWorldObject::GetPhaseMask(), misc_commandscript::HandleAppearCommand(), misc_commandscript::HandleGPSCommand(), group_commandscript::HandleGroupListCommand(), npc_commandscript::HandleNpcInfoCommand(), misc_commandscript::HandlePInfoCommand(), misc_commandscript::HandleSummonCommand(), InSamePhase(), IsWithinLOS(), Creature::LoadCreatureFromDB(), MovePosition(), MovePositionToFirstCollision(), boss_volazj::boss_volazjAI::ResetPlayersPhaseMask(), PathGenerator::ResolveTerrainZ(), Corpse::SaveToDB(), Unit::SetPhaseMask(), Map::SummonCreature(), UpdateAllowedPositionZ(), UpdateGroundPositionZ(), and Unit::UpdateSplinePosition().
|
inline |
Definition at line 647 of file Object.h.
References _phases.
Referenced by Battleground::AddObject(), WorldSession::BuildPartyMemberStatsChangedPacket(), debug_commandscript::HandleDebugSpawnVehicleCommand(), OutdoorPvPSI::HandleDropFlag(), gobject_commandscript::HandleGameObjectAddCommand(), misc_commandscript::HandleGPSCommand(), npc_commandscript::HandleNpcAddCommand(), wp_commandscript::HandleWpModifyCommand(), wp_commandscript::HandleWpShowCommand(), Unit::InitTamedPet(), IsPhased(), Pet::LoadPetFromDB(), Battlefield::SpawnGameObject(), instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript::SpawnGameObject(), SpawnSurveyGameObject(), Map::SummonCreature(), SummonGameObject(), Player::SummonPet(), UpdateAreaPhase(), and Player::UpdatePhasing().
| void WorldObject::GetPlayerListInGrid | ( | std::list< Player * > & | lList, |
| float | fMaxSearchRange ) const |
Definition at line 2854 of file Object.cpp.
References VisitNearbyWorldObject().
Referenced by GetPlayerListInGrid().
| void WorldObject::GetRandomNearPosition | ( | Position & | pos, |
| float | radius ) |
Definition at line 3088 of file Object.cpp.
References Position::GetPosition(), M_PI, MovePosition, and rand_norm().
Referenced by CreatureAI::DoSummon(), CreatureAI::DoSummonFlyer(), and instance_the_black_morass::instance_the_black_morass_InstanceMapScript::SummonedPortalBoss().
| void WorldObject::GetRandomPoint | ( | Position const & | srcPos, |
| float | distance, | ||
| float & | rand_x, | ||
| float & | rand_y, | ||
| float & | rand_z ) const |
Definition at line 1950 of file Object.cpp.
References Position::GetPosition(), M_PI, Position::m_positionX, Position::m_positionY, Position::m_positionZ, Skyfire::NormalizeMapCoord(), rand_norm(), and UpdateGroundPositionZ().
Referenced by GetRandomPoint().
Definition at line 1971 of file Object.cpp.
References Position::GetOrientation(), GetRandomPoint(), and Position::Relocate().
| float WorldObject::GetSightRange | ( | WorldObject const * | target = NULL | ) | const |
Definition at line 2078 of file Object.cpp.
References DEFAULT_VISIBILITY_INSTANCE, GetMap(), Map::GetVisibilityRange(), isActiveObject(), Creature::m_SightDistance, MAX_VISIBILITY_DISTANCE, SIGHT_RANGE_UNIT, Object::ToCreature(), Object::ToDynObject(), Object::ToPlayer(), Object::ToUnit(), and WorldObject().
Referenced by CanSeeOrDetect(), Player::UpdateCinematicVisibility(), Map::UpdateObjectsVisibilityFor(), Group::UpdatePlayerOutOfRange(), and Player::UpdateVisibilityForPlayer().
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 812 of file Object.h.
References Position::GetOrientation().
Referenced by Object::BuildMovementUpdate().
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 809 of file Object.h.
References Position::GetPositionX().
Referenced by Object::BuildMovementUpdate().
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 810 of file Object.h.
References Position::GetPositionY().
Referenced by Object::BuildMovementUpdate().
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 811 of file Object.h.
References Position::GetPositionZ().
Referenced by Object::BuildMovementUpdate().
|
inline |
Definition at line 649 of file Object.h.
References _terrainSwaps.
Referenced by misc_commandscript::HandleGPSCommand(), mmaps_commandscript::HandleMmapLoadedTilesCommand(), mmaps_commandscript::HandleMmapLocCommand(), mmaps_commandscript::HandleMmapPathCommand(), mmaps_commandscript::HandleMmapStatsCommand(), UpdateAreaPhase(), and Player::UpdatePhasing().
|
virtual |
Reimplemented in Unit.
Definition at line 3571 of file Object.cpp.
References Object::GetGUID(), and GetTransport().
Referenced by SpellDestination::SpellDestination().
|
inline |
Definition at line 801 of file Object.h.
References m_movementInfo.
Referenced by Object::BuildMovementUpdate(), npc_commandscript::HandleNpcAddCommand(), SpellCastTargets::Read(), Creature::SaveToDB(), SpellDestination::SpellDestination(), and Unit::WriteMovementInfo().
|
inline |
Definition at line 798 of file Object.h.
References m_movementInfo.
Referenced by Object::BuildMovementUpdate(), npc_commandscript::HandleNpcAddCommand(), SpellCastTargets::Read(), Creature::SaveToDB(), SpellDestination::SpellDestination(), Movement::PacketBuilder::WriteMonsterMove(), Unit::WriteMovementInfo(), and Movement::PacketBuilder::WriteStopMovement().
|
inline |
Definition at line 799 of file Object.h.
References m_movementInfo.
Referenced by Object::BuildMovementUpdate(), npc_commandscript::HandleNpcAddCommand(), SpellCastTargets::Read(), Creature::SaveToDB(), SpellDestination::SpellDestination(), Movement::PacketBuilder::WriteMonsterMove(), Unit::WriteMovementInfo(), and Movement::PacketBuilder::WriteStopMovement().
|
inline |
Definition at line 800 of file Object.h.
References m_movementInfo.
Referenced by Object::BuildMovementUpdate(), npc_commandscript::HandleNpcAddCommand(), SpellCastTargets::Read(), Creature::SaveToDB(), SpellDestination::SpellDestination(), Movement::PacketBuilder::WriteMonsterMove(), Unit::WriteMovementInfo(), and Movement::PacketBuilder::WriteStopMovement().
|
inline |
Definition at line 797 of file Object.h.
References m_transport.
Referenced by _IsWithinDist(), Map::AddToMap(), Skyfire::PetTransport::AttachHunterPetToOwnerTransport(), Transport::BuildUpdate(), GameObject::CleanupsBeforeDelete(), Unit::CleanupsBeforeDelete(), Unit::GetDirectTransport(), Unit::GetTransGUID(), GetTransGUID(), debug_commandscript::HandleDebugTransportCommand(), WorldSession::HandleMovementOpcodes(), npc_commandscript::HandleNpcAddCommand(), Player::KillPlayer(), Pet::LoadPetFromDB(), Skyfire::PetTransport::RemoveOwnerHunterPet(), Player::RepopAtGraveyard(), Creature::SaveToDB(), Creature::SaveToDB(), Map::SendInitSelf(), Map::SendInitTransports(), Map::SendRemoveTransports(), Unit::SetCharmedBy(), Unit::SetFacingTo(), Unit::SetStunned(), WaypointMovementGenerator< Creature >::StartMove(), Player::TeleportTo(), Pet::Update(), Player::Update(), and Player::UpdateUnderwaterState().
|
inline |
Definition at line 803 of file Object.h.
References m_movementInfo.
Referenced by Unit::_EnterVehicle(), Object::BuildMovementUpdate(), Unit::ChangeSeat(), Movement::PacketBuilder::WriteMonsterMove(), Unit::WriteMovementInfo(), and Movement::PacketBuilder::WriteStopMovement().
|
inline |
Definition at line 802 of file Object.h.
References m_movementInfo.
Referenced by Object::BuildMovementUpdate(), and Unit::WriteMovementInfo().
| float WorldObject::GetVisibilityRange | ( | ) | const |
Definition at line 2070 of file Object.cpp.
References GetMap(), Map::GetVisibilityRange(), isActiveObject(), MAX_VISIBILITY_DISTANCE, and Object::ToPlayer().
Referenced by BuildUpdate(), DestroyForNearbyPlayers(), GetGridActivationRange(), Player::SendMessageToSet(), Player::SendMessageToSet(), SendMessageToSet(), SendMessageToSet(), Player::TeleportTo(), Pet::Update(), Player::Update(), Map::UpdateObjectVisibility(), Unit::UpdateObjectVisibility(), and UpdateObjectVisibility().
|
inline |
Definition at line 650 of file Object.h.
References _worldMapSwaps.
Referenced by misc_commandscript::HandleGPSCommand(), UpdateAreaPhase(), and Player::UpdatePhasing().
Definition at line 1607 of file Object.cpp.
References GetBaseMap(), Map::GetZoneAndAreaId(), Position::m_positionX, Position::m_positionY, and Position::m_positionZ.
Referenced by AchievementMgr< T >::AdditionalRequirementsSatisfied(), Player::AddQuest(), Player::CompleteQuest(), GameObject::getFishLoot(), Unit::GetMountCapability(), Aura::HandleAuraSpecificMods(), WorldSession::HandleMoveTeleportAck(), WorldSession::HandleMoveWorldportAckOpcode(), WorldSession::HandleZoneUpdateOpcode(), AchievementCriteriaData::Meets(), Player::ResurrectPlayer(), Player::SendInitialPacketsAfterAddToMap(), Player::SetQuestStatus(), Player::Update(), and GameObject::Use().
| uint32 WorldObject::GetZoneId | ( | ) | const |
Definition at line 1597 of file Object.cpp.
References GetBaseMap(), Map::GetZoneId(), Position::m_positionX, Position::m_positionY, and Position::m_positionZ.
Referenced by Player::_LoadInventory(), AchievementMgr< T >::AdditionalRequirementsSatisfied(), WorldSession::BuildPartyMemberStatsChangedPacket(), World::FindPlayerInZone(), Skyfire::XP::Gain(), SocialMgr::GetFriendInfo(), Player::GetOutdoorPvP(), LuaWorldObject::GetZoneId(), LuaPlayer::GiveXP(), Player::GiveXP(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraForceWeather(), misc_commandscript::HandleChangeWeather(), debug_commandscript::HandleDebugRestCommand(), gm_commandscript::HandleGMNoteCommand(), go_commandscript::HandleGoZoneXYCommand(), misc_commandscript::HandleLinkGraveCommand(), WorldSession::HandleMoveTeleportAck(), misc_commandscript::HandleNearGraveCommand(), misc_commandscript::HandleSummonCommand(), WorldSession::HandleWhoOpcode(), SpellArea::IsFitToRequirements(), Unit::Kill(), BattlefieldWG::OnPlayerJoinWar(), Player::RepopAtGraveyard(), Player::SaveToDB(), CreatureTextMgr::SendChatPacket(), CreatureTextMgr::SendNonChatPacket(), Guild::Member::SetStats(), and SetZoneScript().
|
inline |
Definition at line 748 of file Object.h.
References m_zoneScript.
Referenced by Unit::setDeathState().
| bool WorldObject::HasPhaseList | ( | uint32 | phase | ) |
|
inline |
Definition at line 656 of file Object.h.
References GetPhaseMask().
| bool WorldObject::InSamePhase | ( | WorldObject const * | obj | ) | const |
Definition at line 3412 of file Object.cpp.
References IsPhased(), and WorldObject().
Referenced by CanNeverSee(), ThreatCalcHelper::isValidProcess(), Unit::IsWithinCombatRange(), IsWithinDistInMap(), Unit::IsWithinMeleeRange(), Unit::RemoveNotOwnSingleTargetAuras(), Unit::SetPhaseMask(), Skyfire::MessageDistDeliverer::Visit(), Skyfire::MessageDistDeliverer::Visit(), and Skyfire::MessageDistDeliverer::Visit().
|
inline |
Definition at line 776 of file Object.h.
References m_isActive.
Referenced by AddObjectHelper(), Map::CreatureCellRelocation(), Map::GameObjectCellRelocation(), GetGridActivationRange(), GetSightRange(), GetVisibilityRange(), and LuaGameObject::IsActive().
|
inlineprotectedvirtual |
Reimplemented in Player, and Unit.
Definition at line 833 of file Object.h.
References WorldObject().
Referenced by CanDetect(), and Unit::IsAlwaysDetectableFor().
|
inlineprotectedvirtual |
Reimplemented in GameObject, and Unit.
Definition at line 830 of file Object.h.
References WorldObject().
Referenced by CanSeeOrDetect(), GameObject::IsAlwaysVisibleFor(), and Unit::IsAlwaysVisibleFor().
| bool WorldObject::isInBack | ( | WorldObject const * | target, |
| float | arc = M_PI ) const |
Definition at line 1945 of file Object.cpp.
References Position::HasInArc(), M_PI, and WorldObject().
| bool WorldObject::IsInBetween | ( | WorldObject const * | obj1, |
| WorldObject const * | obj2, | ||
| float | size = 0 ) const |
Definition at line 1920 of file Object.cpp.
References Position::GetAngle(), Position::GetExactDist2d(), Position::GetExactDist2dSq(), GetObjectSize(), Position::GetPositionX(), Position::GetPositionY(), and WorldObject().
Referenced by TwilightCutterSelector::operator()().
| bool WorldObject::isInFront | ( | WorldObject const * | target, |
| float | arc = M_PI ) const |
Definition at line 1940 of file Object.cpp.
References Position::HasInArc(), and WorldObject().
Referenced by spell_dk_death_coil::spell_dk_death_coil_SpellScript::CheckCast(), spell_pal_holy_shock::spell_pal_holy_shock_SpellScript::CheckCast(), and spell_warr_retaliation::spell_warr_retaliation_AuraScript::CheckProc().
| bool WorldObject::IsInMap | ( | WorldObject const * | obj | ) | const |
Definition at line 1703 of file Object.cpp.
References GetMap(), Object::IsInWorld(), and WorldObject().
Referenced by Creature::CanCreatureAttack(), Unit::GetPartyMembers(), WorldSession::HandleSetDungeonDifficultyOpcode(), WorldSession::HandleSetRaidDifficultyOpcode(), Unit::HandleSpellClick(), IsSelfOrInSameMap(), ThreatCalcHelper::isValidProcess(), Unit::IsWithinCombatRange(), IsWithinDistInMap(), IsWithinLOSInMap(), and Unit::IsWithinMeleeRange().
| bool WorldObject::IsInRange | ( | WorldObject const * | obj, |
| float | minRange, | ||
| float | maxRange, | ||
| bool | is3D = true ) const |
Definition at line 1775 of file Object.cpp.
References GetObjectSize(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), and WorldObject().
Referenced by SmartScript::GetTargets(), and npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation().
| bool WorldObject::IsInRange2d | ( | float | x, |
| float | y, | ||
| float | minRange, | ||
| float | maxRange ) const |
Definition at line 1800 of file Object.cpp.
References GetObjectSize(), Position::GetPositionX(), and Position::GetPositionY().
| bool WorldObject::IsInRange3d | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | minRange, | ||
| float | maxRange ) const |
Definition at line 1820 of file Object.cpp.
References GetObjectSize(), Position::GetPositionX(), Position::GetPositionY(), and Position::GetPositionZ().
|
inlineprotectedvirtual |
Reimplemented in Creature, and GameObject.
Definition at line 831 of file Object.h.
Referenced by CanSeeOrDetect(), Creature::IsInvisibleDueToDespawn(), and GameObject::IsInvisibleDueToDespawn().
|
inline |
Definition at line 770 of file Object.h.
References m_notifyflags.
Referenced by Skyfire::VisibleNotifier::SendToSelf(), Skyfire::CreatureRelocationNotifier::Visit(), Skyfire::CreatureRelocationNotifier::Visit(), Skyfire::DelayedUnitRelocation::Visit(), Skyfire::DelayedUnitRelocation::Visit(), Skyfire::PlayerRelocationNotifier::Visit(), and Skyfire::PlayerRelocationNotifier::Visit().
|
inlineprotectedvirtual |
Reimplemented in Player.
Definition at line 829 of file Object.h.
References Object::IsInWorld().
Referenced by CanSeeOrDetect(), and Player::IsNeverVisible().
|
inline |
Definition at line 779 of file Object.h.
References m_isWorldObject.
Referenced by Map::RemoveAllObjectsInRemoveList(), Map::SwitchGridContainers(), and Map::SwitchGridContainers().
|
inline |
| bool WorldObject::IsPhased | ( | WorldObject const * | obj | ) | const |
Definition at line 3393 of file Object.cpp.
References _phases, GetPhases(), Object::GetTypeId(), Skyfire::Containers::Intersects(), IsPhased(), Object::ToPlayer(), TYPEID_PLAYER, and WorldObject().
Referenced by modify_commandscript::HandleModifyPhaseCommand(), InSamePhase(), IsPhased(), Unit::RemoveNotOwnSingleTargetAuras(), and Unit::SetPhased().
| bool WorldObject::IsSelfOrInSameMap | ( | WorldObject const * | obj | ) | const |
Definition at line 1696 of file Object.cpp.
References IsInMap(), and WorldObject().
|
inline |
Definition at line 648 of file Object.h.
References _terrainSwaps.
| bool WorldObject::IsWithinDist | ( | WorldObject const * | obj, |
| float | dist2compare, | ||
| bool | is3D = true ) const |
Definition at line 1730 of file Object.cpp.
References _IsWithinDist(), and WorldObject().
Referenced by Creature::CanCreatureAttack(), CanSeeOrDetect(), Creature::CanStartAttack(), spell_monk_diffuse_magic::spell_monk_diffuse_magic_SpellScript::HandleOnHit(), CreatureGroup::LeaderMoveTo(), FrostwingVrykulSearcher::operator()(), Spell::SearchChainTargets(), boss_twinemperorsAI::TryHealBrother(), boss_attumen::boss_attumenAI::UpdateAI(), boss_krosh_firehand::boss_krosh_firehandAI::UpdateAI(), boss_void_reaver::boss_void_reaverAI::UpdateAI(), and Group::UpdatePlayerOutOfRange().
| bool WorldObject::IsWithinDist2d | ( | float | x, |
| float | y, | ||
| float | dist ) const |
Definition at line 1720 of file Object.cpp.
References GetObjectSize(), and Position::IsInDist2d().
Referenced by CanSeeOrDetect(), RandomMovementGenerator< T >::GetResetPos(), spell_vehicle_throw_passenger::spell_vehicle_throw_passenger_SpellScript::HandleScript(), npc_firework_launcher::npc_firework_launcherAI::OnSpellClick(), and boss_shade_of_aran::boss_aranAI::UpdateAI().
| bool WorldObject::IsWithinDist2d | ( | Position const * | pos, |
| float | dist ) const |
Definition at line 1725 of file Object.cpp.
References GetObjectSize(), and Position::IsInDist2d().
| bool WorldObject::IsWithinDist3d | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | dist ) const |
Definition at line 1710 of file Object.cpp.
References GetObjectSize(), and Position::IsInDist().
Referenced by GameObject::IsInRange(), Skyfire::WorldObjectSpellAreaTargetCheck::operator()(), Player::TeleportTo(), and boss_cthun::cthunAI::UpdateAI().
| bool WorldObject::IsWithinDist3d | ( | Position const * | pos, |
| float | dist ) const |
Definition at line 1715 of file Object.cpp.
References GetObjectSize(), and Position::IsInDist().
| bool WorldObject::IsWithinDistInMap | ( | WorldObject const * | obj, |
| float | dist2compare, | ||
| bool | is3D = true ) const |
Definition at line 1735 of file Object.cpp.
References _IsWithinDist(), InSamePhase(), IsInMap(), and WorldObject().
Referenced by Creature::CanStartAttack(), Player::CheckDuelDistance(), npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI::CheckEventFail(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::CheckEventFail(), BattlegroundEY::CheckSomeoneJoinedPoint(), BattlegroundEY::CheckSomeoneLeftPoint(), WorldSession::DoLootRelease(), BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundBFG::EventPlayerClickedOnFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundTP::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerClickedOnFlag(), Player::GetNextRandomRaidMember(), Unit::GetNextRandomRaidMemberOrPet(), Player::GetNPCIfCanInteractWith(), Group::GroupLoot(), WorldSession::HandleAutostoreLootItemOpcode(), WorldSession::HandleGameobjectReportUse(), WorldSession::HandleInitiateTradeOpcode(), WorldSession::HandleLootMoneyOpcode(), AuraEffect::HandleModPossessPet(), WorldSession::HandleReclaimCorpseOpcode(), Unit::isInBackInMap(), Unit::isInFrontInMap(), LuaUnit::IsWithinDistInMap(), Group::MasterLoot(), Group::NeedBeforeGreed(), Skyfire::CallOfHelpCreatureInRangeDo::operator()(), Skyfire::GameObjectFocusCheck::operator()(), Skyfire::NearestHostileUnitInAggroRangeCheck::operator()(), boss_twinemperorsAI::RespawnNearbyBugsAndGetOne(), Map::ScriptsProcess(), Player::SendLoot(), Pet::Update(), Player::Update(), boss_grand_astromancer_capernian::boss_grand_astromancer_capernianAI::UpdateAI(), boss_lady_vashj::boss_lady_vashjAI::UpdateAI(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::UpdateAI(), npc_tainted_elemental::npc_tainted_elementalAI::UpdateAI(), Group::UpdateLooterGuid(), and Player::UpdatePosition().
| bool WorldObject::IsWithinLOS | ( | float | x, |
| float | y, | ||
| float | z ) const |
Definition at line 1740 of file Object.cpp.
References GetMap(), GetPhaseMask(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Map::isInLineOfSight(), and Object::IsInWorld().
Referenced by LuaUnit::IsWithinLoS(), and IsWithinLOSInMap().
| bool WorldObject::IsWithinLOSInMap | ( | WorldObject const * | obj | ) | const |
Definition at line 1656 of file Object.cpp.
References Position::GetPosition(), IsInMap(), IsWithinLOS(), and WorldObject().
Referenced by Unit::AttackerStateUpdate(), Creature::CanStartAttack(), Spell::CheckEffectTarget(), CreatureUnitRelocationWorker(), debug_commandscript::HandleDebugLoSCommand(), spell_dk_gorefiends_grasp::spell_dk_gorefiends_grasp_SpellScript::HandleOnHit(), MysticBuffetTargetFilter::operator()(), Skyfire::CallOfHelpCreatureInRangeDo::operator()(), Skyfire::NearestHostileUnitInAggroRangeCheck::operator()(), Spell::SearchChainTargets(), and Unit::SelectNearbyTarget().
| bool WorldObject::IsWorldObject | ( | ) | const |
Definition at line 1531 of file Object.cpp.
References m_isWorldObject, and Object::ToCreature().
Referenced by Map::AddToGrid(), DynamicObject::CreateDynamicObject(), ResetMap(), SetMap(), Map::~Map(), and ~WorldObject().
| void WorldObject::MonsterSay | ( | const char * | text, |
| Language | language, | ||
| WorldObject const * | target ) |
Definition at line 2383 of file Object.cpp.
References CHAT_MSG_MONSTER_SAY, Skyfire::ComputeCellCoord(), CONFIG_LISTEN_RANGE_SAY, GetMap(), Position::GetPositionX(), Position::GetPositionY(), Cell::SetNoCreate(), sWorld, Cell::Visit(), and WorldObject().
Referenced by npc_commandscript::HandleNpcSayCommand(), wp_commandscript::HandleWpLoadCommand(), wp_commandscript::HandleWpUnLoadCommand(), and npc_aysa_chamber_of_whispers::npc_aysa_chamber_of_whispersAI::npc_aysa_chamber_of_whispersAI().
| void WorldObject::MonsterSay | ( | int32 | textId, |
| Language | language, | ||
| WorldObject const * | target ) |
Definition at line 2397 of file Object.cpp.
References CHAT_MSG_MONSTER_SAY, Skyfire::ComputeCellCoord(), CONFIG_LISTEN_RANGE_SAY, GetMap(), Position::GetPositionX(), Position::GetPositionY(), Cell::SetNoCreate(), sWorld, Cell::Visit(), and WorldObject().
| void WorldObject::MonsterTextEmote | ( | const char * | text, |
| WorldObject const * | target, | ||
| bool | IsBossEmote = false ) |
Definition at line 2440 of file Object.cpp.
References ChatHandler::BuildChatPacket(), CHAT_MSG_MONSTER_EMOTE, CHAT_MSG_RAID_BOSS_EMOTE, CONFIG_LISTEN_RANGE_TEXTEMOTE, LANG_UNIVERSAL, SendMessageToSetInRange(), sWorld, and WorldObject().
Referenced by npc_commandscript::HandleNpcTextEmoteCommand(), spell_auto_repair::spell_auto_repair_SpellScript::HandleScript(), and instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::SetData().
| void WorldObject::MonsterTextEmote | ( | int32 | textId, |
| WorldObject const * | target, | ||
| bool | IsBossEmote = false ) |
Definition at line 2447 of file Object.cpp.
References CHAT_MSG_MONSTER_EMOTE, CHAT_MSG_RAID_BOSS_EMOTE, Skyfire::ComputeCellCoord(), CONFIG_LISTEN_RANGE_TEXTEMOTE, GetMap(), Position::GetPositionX(), Position::GetPositionY(), LANG_UNIVERSAL, Cell::SetNoCreate(), sWorld, Cell::Visit(), and WorldObject().
| void WorldObject::MonsterWhisper | ( | const char * | text, |
| Player const * | target, | ||
| bool | IsBossWhisper = false ) |
Definition at line 2461 of file Object.cpp.
References ChatHandler::BuildChatPacket(), CHAT_MSG_MONSTER_WHISPER, CHAT_MSG_RAID_BOSS_WHISPER, Player::GetSession(), WorldSession::GetSessionDbLocaleIndex(), LANG_UNIVERSAL, and WorldSession::SendPacket().
Referenced by npc_commandscript::HandleNpcWhisperCommand().
| void WorldObject::MonsterWhisper | ( | int32 | textId, |
| Player const * | target, | ||
| bool | IsBossWhisper = false ) |
Definition at line 2472 of file Object.cpp.
References ChatHandler::BuildChatPacket(), CHAT_MSG_MONSTER_WHISPER, CHAT_MSG_RAID_BOSS_WHISPER, Player::GetSession(), WorldSession::GetSessionDbLocaleIndex(), LANG_UNIVERSAL, WorldSession::SendPacket(), and sObjectMgr.
| void WorldObject::MonsterYell | ( | const char * | text, |
| Language | language, | ||
| WorldObject const * | target ) |
Definition at line 2411 of file Object.cpp.
References CHAT_MSG_MONSTER_YELL, Skyfire::ComputeCellCoord(), CONFIG_LISTEN_RANGE_YELL, GetMap(), Position::GetPositionX(), Position::GetPositionY(), Cell::SetNoCreate(), sWorld, Cell::Visit(), and WorldObject().
Referenced by npc_commandscript::HandleNpcYellCommand(), npc_image_of_medivh::npc_image_of_medivhAI::NextStep(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::SetData(), boss_illidan_stormrage::boss_illidan_stormrageAI::Talk(), and instance_deadmines::instance_deadmines_InstanceMapScript::Update().
| void WorldObject::MonsterYell | ( | int32 | textId, |
| Language | language, | ||
| WorldObject const * | target ) |
Definition at line 2425 of file Object.cpp.
References CHAT_MSG_MONSTER_YELL, Skyfire::ComputeCellCoord(), CONFIG_LISTEN_RANGE_YELL, GetMap(), Position::GetPositionX(), Position::GetPositionY(), Cell::SetNoCreate(), sWorld, Cell::Visit(), and WorldObject().
| void WorldObject::MovePosition | ( | Position & | pos, |
| float | dist, | ||
| float | angle ) |
Definition at line 3105 of file Object.cpp.
References Object::GetEntry(), Object::GetGUIDLow(), Map::GetHeight(), GetMap(), Position::GetOrientation(), GetPhaseMask(), Object::GetTypeId(), Skyfire::IsValidMapCoord(), Position::m_positionX, Position::m_positionY, Position::m_positionZ, MAX_HEIGHT, Skyfire::NormalizeMapCoord(), Position::Relocate(), Position::SetOrientation(), SF_LOG_FATAL, and UpdateGroundPositionZ().
| void WorldObject::MovePositionToFirstCollision | ( | Position & | pos, |
| float | dist, | ||
| float | angle ) |
Definition at line 3151 of file Object.cpp.
References CONTACT_DISTANCE, VMAP::VMapFactory::createOrGetVMapManager(), Map::GetHeight(), GetMap(), WorldLocation::GetMapId(), Map::getObjectHitPos(), VMAP::IVMapManager::getObjectHitPos(), Position::GetOrientation(), GetPhaseMask(), Skyfire::IsValidMapCoord(), Position::m_positionX, Position::m_positionY, Position::m_positionZ, MAX_HEIGHT, Skyfire::NormalizeMapCoord(), Position::Relocate(), Position::SetOrientation(), SF_LOG_FATAL, and UpdateAllowedPositionZ().
Referenced by GetFirstCollisionPosition().
|
inline |
Definition at line 772 of file Object.h.
References m_executed_notifies.
Definition at line 3442 of file Object.cpp.
References Object::GetGUID(), Player::SendDirectMessage(), SendMessageToSet(), and SMSG_PLAY_SOUND.
Referenced by ScriptedAI::DoPlaySoundToSet(), AuraEffect::HandleAuraDummy(), debug_commandscript::HandleDebugPlaySoundCommand(), spell_item_ashbringer::spell_item_ashbringer_SpellScript::OnDummyEffect(), LuaUnit::PlayDirectSound(), and LuaPlayer::PlaySoundToPlayer().
Definition at line 3417 of file Object.cpp.
References Object::GetGUID(), Player::SendDirectMessage(), SMSG_PLAY_OBJECT_SOUND, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by AuraEffect::HandleAuraDummy(), debug_commandscript::HandleDebugPlaySoundCommand(), LuaUnit::PlayDistanceSound(), and Map::ScriptsProcess().
| void WorldObject::RebuildTerrainSwaps | ( | ) |
Definition at line 3227 of file Object.cpp.
References _phases, _terrainSwaps, WorldLocation::GetMapId(), Object::GetTypeId(), RebuildWorldMapAreaSwaps(), MapEntry::rootPhaseMap, sConditionMgr, sMapStore, sObjectMgr, and TYPEID_PLAYER.
Referenced by Unit::AddToWorld(), ClearPhases(), SetPhased(), and Player::UpdatePhasing().
| void WorldObject::RebuildWorldMapAreaSwaps | ( | ) |
Definition at line 3262 of file Object.cpp.
References _phases, _worldMapSwaps, PhaseInfoStruct::Conditions, PhaseInfoStruct::id, sConditionMgr, and sObjectMgr.
Referenced by RebuildTerrainSwaps().
|
virtual |
Reimplemented from Object.
Reimplemented in AreaTrigger, Corpse, Creature, DynamicObject, GameObject, Minion, Pet, Player, Puppet, TempSummon, and Unit.
Definition at line 1587 of file Object.cpp.
References DestroyForNearbyPlayers(), Object::IsInWorld(), and Object::RemoveFromWorld().
Referenced by CleanupsBeforeDelete(), AreaTrigger::RemoveFromWorld(), DynamicObject::RemoveFromWorld(), GameObject::RemoveFromWorld(), Unit::RemoveFromWorld(), and Map::~Map().
|
inline |
Definition at line 774 of file Object.h.
References m_executed_notifies, and m_notifyflags.
|
virtual |
Reimplemented in Player.
Definition at line 2532 of file Object.cpp.
References ASSERT, Object::IsInWorld(), IsWorldObject(), and m_currMap.
Referenced by ObjectAccessor::RemoveCorpse(), Map::RemoveFromMap(), Player::ResetMap(), Map::~Map(), and ~WorldObject().
|
inlinevirtual |
Reimplemented in Creature, and GameObject.
|
virtual |
Reimplemented in Player.
Definition at line 2485 of file Object.cpp.
References GetVisibilityRange(), Object::IsInWorld(), and SendMessageToSetInRange().
Referenced by boss_felblood_kaelthas::boss_felblood_kaelthasAI::CastGravityLapseFly(), Unit::DealMeleeDamage(), Unit::Dismount(), instance_deadmines::instance_deadmines_InstanceMapScript::DoPlaySound(), debug_commandscript::HandleDebugMoveflagsCommand(), Unit::HandleEmoteCommand(), WorldSession::HandleMovementOpcodes(), WorldSession::HandleUpdateProjectilePosition(), PlayDirectSound(), Unit::PlayOneShotAnimKit(), boss_felblood_kaelthas::boss_felblood_kaelthasAI::RemoveGravityLapse(), Unit::SendAttackStateUpdate(), Unit::SendChangeCurrentVictimOpcode(), Unit::SendClearTarget(), Unit::SendClearThreatListOpcode(), GameObject::SendCustomAnim(), Unit::SendEnergizeSpellLog(), Unit::SendHealSpellLog(), Unit::SendMeleeAttackStart(), Unit::SendMeleeAttackStop(), Unit::SendMissileCancel(), SendObjectDeSpawnAnim(), Unit::SendPeriodicAuraLog(), SendPlaySound(), Unit::SendPlaySpellVisual(), Unit::SendPlaySpellVisualKit(), Unit::SendRemoveFromThreatListOpcode(), Unit::SendSetVehicleRecId(), Unit::SendSpellDamageImmune(), Unit::SendSpellDamageResist(), Unit::SendSpellMiss(), Unit::SendSpellNonMeleeDamageLog(), Unit::SendTeleportPacket(), Unit::SendThreatListUpdate(), Unit::SetHealth(), and Unit::SetPower().
|
virtual |
Reimplemented in Player.
Definition at line 2497 of file Object.cpp.
References GetVisibilityRange(), and VisitNearbyWorldObject().
|
virtual |
Reimplemented in Player.
Definition at line 2491 of file Object.cpp.
References VisitNearbyWorldObject().
Referenced by MonsterTextEmote(), SendMessageToSet(), and CreatureTextMgr::SendNonChatPacket().
| void WorldObject::SendObjectDeSpawnAnim | ( | uint64 | guid | ) |
Definition at line 2503 of file Object.cpp.
References SendMessageToSet(), SMSG_GAMEOBJECT_DESPAWN_ANIM, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by GameObject::Delete(), AreaTrigger::Remove(), DynamicObject::Remove(), and GameObject::Update().
| void WorldObject::SendPlaySound | ( | uint32 | Sound, |
| bool | OnlySelf ) |
Definition at line 2300 of file Object.cpp.
References Object::GetGUID(), Player::GetSession(), Object::GetTypeId(), SendMessageToSet(), WorldSession::SendPacket(), SMSG_PLAY_SOUND, Object::ToPlayer(), TYPEID_PLAYER, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
| void WorldObject::setActive | ( | bool | isActiveObject | ) |
Definition at line 1542 of file Object.cpp.
References Map::AddToActive(), FindMap(), Object::GetTypeId(), Object::IsInWorld(), m_isActive, Map::RemoveFromActive(), Object::ToCreature(), TYPEID_DYNAMICOBJECT, TYPEID_PLAYER, and TYPEID_UNIT.
Referenced by Unit::AddPlayerToVision(), DynamicObject::CreateDynamicObject(), hyjalAI::DoOverrun(), npc_image_of_medivh::npc_image_of_medivhAI::NextStep(), Unit::RemovePlayerFromVision(), Creature::setDeathState(), Battlefield::SpawnCreature(), Battlefield::SpawnGameObject(), boss_brutallus::boss_brutallusAI::StartIntro(), and hyjalAI::SummonCreature().
|
inlineprotected |
Definition at line 827 of file Object.h.
References m_InstanceId.
Referenced by Corpse::LoadCorpseFromDB().
|
inlineprotected |
Definition at line 826 of file Object.h.
References WorldLocation::m_mapId.
Referenced by Corpse::LoadCorpseFromDB().
|
virtual |
Reimplemented in Player.
Definition at line 2514 of file Object.cpp.
References ASSERT, Map::GetId(), Map::GetInstanceId(), Object::GetTypeId(), Object::IsInWorld(), IsWorldObject(), m_currMap, m_InstanceId, WorldLocation::m_mapId, SF_LOG_FATAL, and TYPEID_CORPSE.
Referenced by Corpse::Create(), Corpse::Create(), Creature::Create(), GameObject::Create(), Pet::Create(), AreaTrigger::CreateAreaTrigger(), DynamicObject::CreateDynamicObject(), Transport::CreateLocal(), TransportMgr::CreateTransport(), Creature::FarTeleportTo(), LoadHelper(), Player::SetMap(), and Transport::TeleportTransport().
|
inline |
Definition at line 665 of file Object.h.
References m_name.
Referenced by GameObject::Create(), Transport::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), Transport::CreateLocal(), Spell::EffectSummonPet(), character_commandscript::HandleCharacterRenameCommand(), WorldSession::HandlePetRename(), Creature::InitEntry(), Pet::LoadPetFromDB(), LuaUnit::SetName(), npc_frostworn_general::npc_frostworn_generalAI::SummonClones(), and instance_deadmines::instance_deadmines_InstanceMapScript::Update().
|
inline |
Definition at line 773 of file Object.h.
References m_executed_notifies.
|
virtual |
Reimplemented in GameObject, and Unit.
Definition at line 3353 of file Object.cpp.
References _phases, GetAreaId(), HasPhaseList(), Object::IsInWorld(), RebuildTerrainSwaps(), sConditionMgr, sObjectMgr, and UpdateObjectVisibility().
Referenced by GameObject::SetPhased(), Unit::SetPhased(), and UpdateAreaPhase().
|
virtual |
Reimplemented in GameObject, and Unit.
Definition at line 3219 of file Object.cpp.
References Object::IsInWorld(), m_phaseMask, and UpdateObjectVisibility().
Referenced by ObjectAccessor::ConvertCorpseForPlayer(), Corpse::LoadCorpseFromDB(), GameObject::SetPhaseMask(), and Unit::SetPhaseMask().
|
inline |
Definition at line 805 of file Object.h.
References m_transport.
Referenced by Transport::AddPassenger(), GameObject::CleanupsBeforeDelete(), Unit::CleanupsBeforeDelete(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), BattlegroundIC::DoAction(), and Transport::RemovePassenger().
| void WorldObject::SetWorldObject | ( | bool | apply | ) |
Definition at line 1523 of file Object.cpp.
References Map::AddObjectToSwitchList(), GetMap(), and Object::IsInWorld().
Referenced by Unit::AddPlayerToVision(), and Unit::RemovePlayerFromVision().
| void WorldObject::SetZoneScript | ( | ) |
Definition at line 2687 of file Object.cpp.
References FindMap(), GetZoneId(), Map::IsBattlegroundOrArena(), m_zoneScript, sBattlefieldMgr, and sOutdoorPvPMgr.
Referenced by GameObject::Create(), and Creature::CreateFromProto().
| TempSummon * WorldObject::SummonCreature | ( | uint32 | id, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | ang = 0, | ||
| TempSummonType | spwtype = TempSummonType::TEMPSUMMON_MANUAL_DESPAWN, | ||
| uint32 | despwtime = 0 ) const |
Definition at line 2717 of file Object.cpp.
References GetClosePoint(), GetObjectSize(), Position::GetOrientation(), Position::Relocate(), and SummonCreature().
| TempSummon * WorldObject::SummonCreature | ( | uint32 | id, |
| Position const & | pos, | ||
| TempSummonType | spwtype = TempSummonType::TEMPSUMMON_MANUAL_DESPAWN, | ||
| uint32 | despwtime = 0, | ||
| uint32 | vehId = 0 ) const |
Definition at line 2703 of file Object.cpp.
References FindMap(), Object::isType(), SummonCreature(), and TYPEMASK_UNIT.
Referenced by instance_violet_hold::instance_violet_hold_InstanceMapScript::ActivateCrystal(), instance_violet_hold::instance_violet_hold_InstanceMapScript::AddWave(), instance_the_black_morass::instance_the_black_morass_InstanceMapScript::DoSpawnPortal(), spell_commander_sarannis_summon_reinforcements::spell_commander_sarannis_summon_reinforcements_SpellScript::HandleCast(), spell_rotface_unstable_ooze_explosion_init::spell_rotface_unstable_ooze_explosion_init_SpellScript::HandleCast(), debug_commandscript::HandleDebugSpawnVehicleCommand(), spell_q11010_q11102_q11023_choose_loc::spell_q11010_q11102_q11023_choose_loc_SpellScript::HandleDummy(), mmaps_commandscript::HandleMmapPathCommand(), npc_commandscript::HandleNpcAddTempSpawnCommand(), AuraEffect::HandlePeriodicTriggerSpellAuraTick(), spell_occuthar_eyes_of_occuthar_vehicle::spell_occuthar_eyes_of_occuthar_vehicle_SpellScript::HandleScript(), spell_q26674_call_stalvan::spell_q26674_call_stalvan_SpellScript::HandleScript(), spell_razorscale_devouring_flame::spell_razorscale_devouring_flame_SpellScript::HandleSummon(), instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript::OnGameObjectCreate(), go_demon_portal::OnGossipHello(), go_ethereum_prison::OnGossipHello(), go_gilded_brazier::OnGossipHello(), go_loosely_turned_soil::OnGossipHello(), go_manaforge_control_console::OnGossipHello(), go_southfury_moonstone::OnGossipHello(), go_thunderspike::OnGossipHello(), go_apexis_relic::OnGossipSelect(), npc_announcer_toc10::OnGossipSelect(), npc_grandmother::OnGossipSelect(), npc_master_shang_xi_temple::OnGossipSelect(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::OnPlayerEnter(), go_crystalline_tear::OnQuestAccept(), npc_master_shang_xi_temple::OnQuestAccept(), npc_master_shang_xi_worthy_questgiver::OnQuestAccept(), AreaTrigger_at_darkspear_isle::OnTrigger(), AreaTrigger_at_frostgrips_hollow::OnTrigger(), AreaTrigger_at_nats_landing::OnTrigger(), AreaTrigger_at_temple_of_five_dawns::OnTrigger(), at_kelthuzad_center::OnTrigger(), item_nether_wraith_beacon::OnUse(), item_pile_fake_furs::OnUse(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::ProcessEvent(), instance_oculus::instance_oculus_InstanceMapScript::ProcessEvent(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::SetData(), instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript::SetData(), instance_razorfen_downs::instance_razorfen_downs_InstanceMapScript::SetData(), LuaUnit::SpawnCreature(), instance_violet_hold::instance_violet_hold_InstanceMapScript::SpawnPortal(), boss_sister_svalna::boss_sister_svalnaAI::SpellHitTarget(), LuaGameObject::SummonCreature(), SummonCreature(), SummonCreature(), SummonCreatureGroup(), instance_deadmines::instance_deadmines_InstanceMapScript::SummonCreatures(), SummonCroneIfReady(), instance_the_black_morass::instance_the_black_morass_InstanceMapScript::SummonedPortalBoss(), go_wind_stone::SummonNPC(), SummonTrigger(), instance_gundrak::instance_gundrak_InstanceMapScript::Update(), instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::Update(), instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript::Update(), npc_shu_dailo::npc_shu_dailoAI::UpdateAI(), and boss_netherspite::boss_netherspiteAI::UpdatePortals().
| void WorldObject::SummonCreatureGroup | ( | uint8 | group, |
| std::list< TempSummon * > * | list = NULL ) |
Summons group of creatures. Should be called only by instances of Creature and GameObject classes.
| group | Id of group to summon. |
| list | List to store pointers to summoned creatures. |
Definition at line 2787 of file Object.cpp.
References ASSERT, Object::GetEntry(), Object::GetTypeId(), sObjectMgr, SummonCreature(), SUMMONER_TYPE_CREATURE, SUMMONER_TYPE_GAMEOBJECT, TYPEID_GAMEOBJECT, and TYPEID_UNIT.
Referenced by SmartScript::ProcessAction().
| GameObject * WorldObject::SummonGameObject | ( | uint32 | entry, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | ang, | ||
| float | rotation0, | ||
| float | rotation1, | ||
| float | rotation2, | ||
| float | rotation3, | ||
| uint32 | respawnTime ) |
Definition at line 2729 of file Object.cpp.
References Unit::AddGameObject(), Map::AddToMap(), GameObject::Create(), GetMap(), GetPhases(), Object::GetTypeId(), GO_STATE_READY, HIGHGUID_GAMEOBJECT, Object::IsInWorld(), GameObject::SetPhased(), GameObject::SetRespawnTime(), GameObject::SetSpawnedByDefault(), SF_LOG_ERROR, sObjectMgr, Object::ToUnit(), TYPEID_PLAYER, and TYPEID_UNIT.
Referenced by npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), spell_item_crystal_prison_dummy_dnd::spell_item_crystal_prison_dummy_dnd_SpellScript::HandleDummy(), gobject_commandscript::HandleGameObjectAddTempCommand(), item_pile_fake_furs::OnUse(), SmartScript::ProcessAction(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::SetBossState(), boss_ossirian::boss_ossirianAI::SpawnNextCrystal(), LuaGameObject::SummonGameObject(), LuaUnit::SummonGameObject(), spell_sindragosa_ice_tomb::spell_sindragosa_ice_tomb_SpellScript::SummonTomb(), boss_najentus::boss_najentusAI::UpdateAI(), and instance_sunken_temple::instance_sunken_temple_InstanceMapScript::UseStatue().
| Creature * WorldObject::SummonTrigger | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | ang, | ||
| uint32 | dur, | ||
| CreatureAI *(* | GetAI )(Creature *) = NULL ) |
Definition at line 2762 of file Object.cpp.
References Creature::AIM_Initialize(), Object::GetTypeId(), Unit::setFaction(), Unit::SetLevel(), SummonCreature(), TEMPSUMMON_DEAD_DESPAWN, TEMPSUMMON_TIMED_DESPAWN, TYPEID_PLAYER, TYPEID_UNIT, and WORLD_TRIGGER.
Referenced by GameObject::CastSpell(), and npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::CaveDestruction().
|
inlinevirtual |
Reimplemented in AreaTrigger, Creature, DynamicObject, GameObject, Pet, Player, Puppet, TempSummon, Totem, Transport, and Unit.
Definition at line 616 of file Object.h.
Referenced by AreaTrigger::Update(), and Map::Update().
| void WorldObject::UpdateAllowedPositionZ | ( | float | x, |
| float | y, | ||
| float & | z ) const |
Definition at line 1985 of file Object.cpp.
References Creature::CanSwim(), GetBaseMap(), Map::GetHeight(), GetPhaseMask(), Object::GetTypeId(), Map::GetWaterOrGroundLevel(), INVALID_HEIGHT, SPELL_AURA_WATER_WALK, Object::ToCreature(), Object::ToPlayer(), Object::ToUnit(), TYPEID_PLAYER, and TYPEID_UNIT.
Referenced by RandomMovementGenerator< T >::_setRandomLocation(), GetNearPoint(), MovePositionToFirstCollision(), PathGenerator::ResolveTerrainZ(), Unit::SetHover(), and Unit::UpdateSplinePosition().
| void WorldObject::UpdateAreaPhase | ( | ) |
Definition at line 3287 of file Object.cpp.
References PhaseInfoStruct::Conditions, GetAreaId(), GetPhases(), GetPhasesForGroup(), Player::GetSession(), GetTerrainSwaps(), Object::GetTypeId(), GetWorldMapSwaps(), PhaseInfoStruct::id, Object::IsInWorld(), sConditionMgr, WorldSession::SendSetPhaseShift(), SetPhased(), sObjectMgr, SPELL_AURA_PHASE, SPELL_AURA_PHASE_GROUP, Object::ToPlayer(), Object::ToUnit(), TYPEID_PLAYER, and UpdateObjectVisibility().
Referenced by Player::UpdateArea(), and Player::UpdateZone().
| void WorldObject::UpdateGroundPositionZ | ( | float | x, |
| float | y, | ||
| float & | z ) const |
Definition at line 1978 of file Object.cpp.
References GetBaseMap(), Map::GetHeight(), GetPhaseMask(), and INVALID_HEIGHT.
Referenced by GetRandomPoint(), Player::HandleFall(), CreatureGroup::LeaderMoveTo(), MovePosition(), and spell_sindragosa_s_fury::spell_sindragosa_s_fury_SpellScript::SelectDest().
|
virtual |
Reimplemented in Player, and Unit.
Definition at line 3480 of file Object.cpp.
References GetVisibilityRange(), and VisitNearbyWorldObject().
Referenced by ClearPhases(), Map::GameObjectRelocation(), Map::GameObjectRespawnRelocation(), Map::MoveAllGameObjectsInMoveList(), SetPhased(), SetPhaseMask(), GameObject::Update(), UpdateAreaPhase(), and Unit::UpdateObjectVisibility().
|
inline |
Definition at line 783 of file Object.h.
References GetMap(), Position::GetPositionX(), Position::GetPositionY(), Object::IsInWorld(), and Map::VisitGrid().
Referenced by AlysrazorTrashEvaded(), FindNearestGameObject(), FindNearestGameObjectOfType(), ChatHandler::GetNearbyGameObject(), Creature::SelectNearestHostileUnitInAggroRange(), and GameObject::Update().
|
inline |
Definition at line 782 of file Object.h.
References GetMap(), Position::GetPositionX(), Position::GetPositionY(), Object::IsInWorld(), and Map::VisitAll().
Referenced by DynObjAura::FillTargetMap(), UnitAura::FillTargetMap(), FindNearestCreature(), SmartScript::GetWorldObjectsInDist(), debug_commandscript::HandleDebugEnterVehicleCommand(), AuraEffect::HandleFeignDeath(), Unit::SelectNearbyTarget(), Creature::SelectNearestPlayer(), and Unit::UpdateObjectVisibility().
|
inline |
Definition at line 784 of file Object.h.
References GetMap(), Position::GetPositionX(), Position::GetPositionY(), Object::IsInWorld(), and Map::VisitWorld().
Referenced by DestroyForNearbyPlayers(), GetPlayerListInGrid(), spell_q11010_q11102_q11023_choose_loc::spell_q11010_q11102_q11023_choose_loc_SpellScript::HandleDummy(), spell_love_is_in_the_air_romantic_picnic::spell_love_is_in_the_air_romantic_picnic_AuraScript::OnPeriodic(), CreatureTextMgr::SendChatPacket(), Player::SendMessageToSet(), SendMessageToSet(), Player::SendMessageToSetInRange(), Player::SendMessageToSetInRange(), SendMessageToSetInRange(), GameObject::Update(), and UpdateObjectVisibility().
|
private |
Definition at line 840 of file Object.h.
Referenced by ClearPhases(), GetPhases(), HasPhaseList(), IsPhased(), IsPhased(), RebuildTerrainSwaps(), RebuildWorldMapAreaSwaps(), and SetPhased().
|
private |
Definition at line 841 of file Object.h.
Referenced by GetTerrainSwaps(), IsTerrainSwaped(), and RebuildTerrainSwaps().
|
private |
Definition at line 842 of file Object.h.
Referenced by GetWorldMapSwaps(), and RebuildWorldMapAreaSwaps().
| uint32 WorldObject::LastUsedScriptID |
Definition at line 794 of file Object.h.
Referenced by Creature::Create(), GameObject::Create(), Transport::CreateLocal(), and WorldSession::HandleGossipSelectOptionOpcode().
|
private |
Definition at line 835 of file Object.h.
Referenced by FindMap(), GetBaseMap(), GetMap(), ResetMap(), SetMap(), WorldObject(), and ~WorldObject().
|
private |
Definition at line 845 of file Object.h.
Referenced by NotifyExecuted(), ResetAllNotifies(), SetNotified(), and WorldObject().
|
private |
Definition at line 838 of file Object.h.
Referenced by GetInstanceId(), SetLocationInstanceId(), SetMap(), and WorldObject().
| FlaggedValuesArray32<int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPES> WorldObject::m_invisibility |
Definition at line 729 of file Object.h.
Referenced by CanDetectInvisibilityOf(), GameObject::Create(), and AuraEffect::HandleModInvisibility().
| FlaggedValuesArray32<int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPES> WorldObject::m_invisibilityDetect |
Definition at line 730 of file Object.h.
Referenced by CanDetectInvisibilityOf(), AuraEffect::HandleAuraModFakeInebriation(), AuraEffect::HandleModInvisibilityDetect(), and Player::SetDrunkValue().
|
protected |
Definition at line 816 of file Object.h.
Referenced by isActiveObject(), Player::Player(), setActive(), and WorldObject().
|
protected |
Definition at line 817 of file Object.h.
Referenced by IsPermanentWorldObject(), IsWorldObject(), and WorldObject().
| MovementInfo WorldObject::m_movementInfo |
Definition at line 807 of file Object.h.
Referenced by _IsWithinDist(), Unit::AddExtraUnitMovementFlag(), Transport::AddPassenger(), Unit::AddUnitMovementFlag(), Object::BuildMovementUpdate(), WorldSession::BuildPartyMemberStatsChangedPacket(), Player::CanFly(), GameObject::CleanupsBeforeDelete(), Unit::CleanupsBeforeDelete(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), Unit::DisableSpline(), BattlegroundIC::DoAction(), Unit::GetExtraUnitMovementFlags(), GetTransOffsetO(), GetTransOffsetX(), GetTransOffsetY(), GetTransOffsetZ(), GetTransSeat(), GetTransTime(), Unit::GetUnitMovementFlags(), GrandChampionsOutVehicle(), WorldSession::HandleChangeSeatsOnControlledVehicle(), WorldSession::HandleMovementOpcodes(), Unit::HasExtraUnitMovementFlag(), Unit::HasUnitMovementFlag(), Unit::IsFalling(), Unit::IsFlying(), Unit::IsLevitating(), Unit::isMoving(), Unit::isTurning(), Unit::IsWalking(), Player::LoadFromDB(), Unit::RemoveExtraUnitMovementFlag(), Skyfire::PetTransport::RemoveOwnerHunterPet(), Transport::RemovePassenger(), Vehicle::RemovePassenger(), Unit::RemoveUnitMovementFlag(), Unit::SetExtraUnitMovementFlags(), Unit::SetFall(), Unit::SetUnitMovementFlags(), Player::TeleportTo(), Transport::TeleportTransport(), Transport::UpdatePassengerPositions(), Unit::UpdateSplinePosition(), and Unit::WriteMovementInfo().
|
protected |
Definition at line 815 of file Object.h.
Referenced by Player::_LoadGlyphAuras(), Player::Create(), GetName(), GetNameForLocaleIdx(), Player::LoadFromDB(), Pet::Pet(), Pet::SavePetToDB(), Player::SaveToDB(), SetName(), and WorldObject().
|
private |
Definition at line 844 of file Object.h.
Referenced by AddToNotify(), GetNotifyFlags(), isNeedNotify(), ResetAllNotifies(), and WorldObject().
|
private |
Definition at line 839 of file Object.h.
Referenced by _Create(), GetPhaseMask(), SetPhaseMask(), and WorldObject().
| FlaggedValuesArray32<int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPES> WorldObject::m_serverSideVisibility |
Definition at line 732 of file Object.h.
Referenced by CanSeeOrDetect(), Creature::Create(), AuraEffect::HandleAuraGhost(), Unit::IsVisible(), Player::SetGMVisible(), Unit::SetVisible(), Unit::Unit(), and WorldObject().
| FlaggedValuesArray32<int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPES> WorldObject::m_serverSideVisibilityDetect |
Definition at line 733 of file Object.h.
Referenced by CanSeeOrDetect(), Creature::Create(), AuraEffect::HandleAuraGhost(), Player::SetGameMaster(), and WorldObject().
| FlaggedValuesArray32<int32, uint32, StealthType, TOTAL_STEALTH_TYPES> WorldObject::m_stealth |
Definition at line 726 of file Object.h.
Referenced by CanDetectStealthOf(), GameObject::Create(), AuraEffect::HandleModStealth(), and AuraEffect::HandleModStealthLevel().
| FlaggedValuesArray32<int32, uint32, StealthType, TOTAL_STEALTH_TYPES> WorldObject::m_stealthDetect |
Definition at line 727 of file Object.h.
Referenced by CanDetectStealthOf(), and AuraEffect::HandleModStealthDetect().
|
protected |
Definition at line 821 of file Object.h.
Referenced by _IsWithinDist(), GetTransport(), WorldSession::HandleMovementOpcodes(), Player::LoadFromDB(), SetTransport(), Player::TeleportTo(), and WorldObject().
|
protected |
Definition at line 818 of file Object.h.
Referenced by Creature::AddToWorld(), GameObject::AddToWorld(), GameObject::Create(), Creature::CreateFromProto(), TransportMgr::CreateTransport(), GameObject::EventInform(), GetZoneScript(), Creature::RemoveFromWorld(), GameObject::RemoveFromWorld(), SetZoneScript(), and WorldObject().