![]() |
TrinityCore
|
#include <Object.h>
Inheritance diagram for WorldObject:Public Member Functions | |
| virtual | ~WorldObject () |
| virtual void | Update (uint32 diff) |
| void | AddToWorld () override |
| void | RemoveFromWorld () override |
| void | GetNearPoint2D (WorldObject const *searcher, float &x, float &y, float distance, float absAngle) const |
| void | GetNearPoint (WorldObject const *searcher, float &x, float &y, float &z, float distance2d, float absAngle) const |
| void | GetClosePoint (float &x, float &y, float &z, float size, float distance2d=0, float relAngle=0) const |
| void | MovePosition (Position &pos, float dist, float angle) |
| Position | GetNearPosition (float dist, float angle) |
| void | MovePositionToFirstCollision (Position &pos, float dist, float angle) |
| Position | GetFirstCollisionPosition (float dist, float angle) |
| Position | GetRandomNearPosition (float radius) |
| void | GetContactPoint (WorldObject const *obj, float &x, float &y, float &z, float distance2d=CONTACT_DISTANCE) const |
| virtual float | GetCombatReach () const |
| void | UpdateGroundPositionZ (float x, float y, float &z) const |
| void | UpdateAllowedPositionZ (float x, float y, float &z, float *groundZ=nullptr) const |
| void | GetRandomPoint (Position const &srcPos, float distance, float &rand_x, float &rand_y, float &rand_z) const |
| Position | GetRandomPoint (Position const &srcPos, float distance) const |
| uint32 | GetInstanceId () const |
| virtual void | SetPhaseMask (uint32 newPhaseMask, bool update) |
| uint32 | GetPhaseMask () const |
| bool | InSamePhase (uint32 phasemask) const |
| bool | InSamePhase (WorldObject const *obj) const |
| uint32 | GetZoneId () const |
| uint32 | GetAreaId () const |
| void | GetZoneAndAreaId (uint32 &zoneid, uint32 &areaid) const |
| bool | IsInWorldPvpZone () const |
| bool | IsOutdoors () const |
| ZLiquidStatus | GetLiquidStatus () const |
| InstanceScript * | GetInstanceScript () const |
| std::string const & | GetName () const |
| void | SetName (std::string newname) |
| virtual std::string const & | GetNameForLocaleIdx (LocaleConstant) const |
| float | GetDistance (WorldObject const *obj) const |
| float | GetDistance (Position const &pos) const |
| float | GetDistance (float x, float y, float z) const |
| float | GetDistance2d (WorldObject const *obj) const |
| float | GetDistance2d (float x, float y) const |
| float | GetDistanceZ (WorldObject const *obj) const |
| bool | IsSelfOrInSameMap (WorldObject const *obj) const |
| bool | IsInMap (WorldObject const *obj) const |
| bool | IsWithinDist3d (float x, float y, float z, float dist) const |
| bool | IsWithinDist3d (Position const *pos, float dist) const |
| bool | IsWithinDist2d (float x, float y, float dist) const |
| bool | IsWithinDist2d (Position const *pos, float dist) const |
| bool | IsWithinDist (WorldObject const *obj, float dist2compare, bool is3D=true) const |
| bool | IsWithinDistInMap (WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const |
| bool | IsWithinLOS (float x, float y, float z, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing) const |
| bool | IsWithinLOSInMap (WorldObject const *obj, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing) const |
| Position | GetHitSpherePointFor (Position const &dest) const |
| void | GetHitSpherePointFor (Position const &dest, float &x, float &y, float &z) const |
| bool | GetDistanceOrder (WorldObject const *obj1, WorldObject const *obj2, bool is3D=true) 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 | isInFront (WorldObject const *target, float arc=float(M_PI)) const |
| bool | isInBack (WorldObject const *target, float arc=float(M_PI)) const |
| bool | IsInBetween (Position const &pos1, Position const &pos2, float size=0) const |
| bool | IsInBetween (WorldObject const *obj1, WorldObject const *obj2, float size=0) const |
| virtual void | CleanupsBeforeDelete (bool finalCleanup=true) |
| virtual void | SendMessageToSet (WorldPacket const *data, bool self) const |
| virtual void | SendMessageToSetInRange (WorldPacket const *data, float dist, bool self) const |
| virtual void | SendMessageToSet (WorldPacket const *data, Player const *skipped_rcvr) const |
| virtual uint8 | GetLevelForTarget (WorldObject const *) const |
| void | PlayDistanceSound (uint32 soundId, Player *target=nullptr) |
| void | PlayDirectSound (uint32 soundId, Player *target=nullptr) |
| void | PlayDirectMusic (uint32 musicId, Player *target=nullptr) |
| void | SendObjectDeSpawnAnim (ObjectGuid guid) |
| void | AddObjectToRemoveList () |
| float | GetGridActivationRange () const |
| float | GetVisibilityRange () const |
| float | GetSightRange (WorldObject const *target=nullptr) const |
| bool | CanSeeOrDetect (WorldObject const *obj, bool implicitDetect=false, bool distanceCheck=false, bool checkAlert=false) const |
| virtual void | SetMap (Map *map) |
| virtual void | ResetMap () |
| Map * | GetMap () const |
| Map * | FindMap () const |
| void | SetZoneScript () |
| void | ClearZoneScript () |
| ZoneScript * | GetZoneScript () const |
| TempSummon * | SummonCreature (uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty) |
| TempSummon * | SummonCreature (uint32 entry, float x, float y, float z, float o=0, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, ObjectGuid privateObjectOwner=ObjectGuid::Empty) |
| GameObject * | SummonGameObject (uint32 entry, Position const &pos, QuaternionData const &rot, Seconds respawnTime, GOSummonType summonType=GO_SUMMON_TIMED_OR_CORPSE_DESPAWN) |
| GameObject * | SummonGameObject (uint32 entry, float x, float y, float z, float ang, QuaternionData const &rot, Seconds respawnTime, GOSummonType summonType=GO_SUMMON_TIMED_OR_CORPSE_DESPAWN) |
| Creature * | SummonTrigger (float x, float y, float z, float ang, Milliseconds despawnTime, CreatureAI *(*GetAI)(Creature *)=nullptr) |
| void | SummonCreatureGroup (uint8 group, std::list< TempSummon * > *list=nullptr) |
| Creature * | FindNearestCreature (uint32 entry, float range, bool alive=true) const |
| Creature * | FindNearestCreatureWithOptions (float range, FindCreatureOptions const &options) const |
| GameObject * | FindNearestGameObject (uint32 entry, float range, bool spawnedOnly=true) const |
| GameObject * | FindNearestGameObjectWithOptions (float range, FindGameObjectOptions const &options) const |
| GameObject * | FindNearestUnspawnedGameObject (uint32 entry, float range) const |
| GameObject * | FindNearestGameObjectOfType (GameobjectTypes type, float range) const |
| Player * | SelectNearestPlayer (float distance) const |
| virtual ObjectGuid | GetOwnerGUID () const =0 |
| virtual ObjectGuid | GetCharmerOrOwnerGUID () const |
| ObjectGuid | GetCharmerOrOwnerOrOwnGUID () const |
| Unit * | GetOwner () const |
| Unit * | GetCharmerOrOwner () const |
| Unit * | GetCharmerOrOwnerOrSelf () const |
| Player * | GetCharmerOrOwnerPlayerOrPlayerItself () const |
| Player * | GetAffectingPlayer () const |
| Player * | GetSpellModOwner () const |
| int32 | CalculateSpellDamage (SpellEffectInfo const &spellEffectInfo, int32 const *basePoints=nullptr) const |
| float | GetSpellMaxRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const |
| float | GetSpellMinRangeForTarget (Unit const *target, SpellInfo const *spellInfo) const |
| float | ApplyEffectModifiers (SpellInfo const *spellInfo, uint8 effIndex, float value) const |
| int32 | CalcSpellDuration (SpellInfo const *spellInfo) const |
| int32 | ModSpellDuration (SpellInfo const *spellInfo, WorldObject const *target, int32 duration, bool positive, uint32 effectMask) const |
| void | ModSpellCastTime (SpellInfo const *spellInfo, int32 &castTime, Spell *spell=nullptr) const |
| void | ModSpellDurationTime (SpellInfo const *spellInfo, int32 &durationTime, Spell *spell=nullptr) const |
| virtual float | MeleeSpellMissChance (Unit const *victim, WeaponAttackType attType, int32 skillDiff, uint32 spellId) const |
| virtual SpellMissInfo | MeleeSpellHitResult (Unit *victim, SpellInfo const *spellInfo) const |
| SpellMissInfo | MagicSpellHitResult (Unit *victim, SpellInfo const *spellInfo) const |
| SpellMissInfo | SpellHitResult (Unit *victim, SpellInfo const *spellInfo, bool canReflect=false) const |
| void | SendSpellMiss (Unit *target, uint32 spellID, SpellMissInfo missInfo) |
| virtual uint32 | GetFaction () const =0 |
| virtual void | SetFaction (uint32) |
| FactionTemplateEntry const * | GetFactionTemplateEntry () const |
| ReputationRank | GetReactionTo (WorldObject const *target) const |
| bool | IsHostileTo (WorldObject const *target) const |
| bool | IsHostileToPlayers () const |
| bool | IsFriendlyTo (WorldObject const *target) const |
| bool | IsNeutralToAll () const |
| SpellCastResult | CastSpell (CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ }) |
| bool | IsValidAttackTarget (WorldObject const *target, SpellInfo const *bySpell=nullptr) const |
| bool | IsValidAssistTarget (WorldObject const *target, SpellInfo const *bySpell=nullptr) const |
| Unit * | GetMagicHitRedirectTarget (Unit *victim, SpellInfo const *spellInfo) |
| template<typename Container > | |
| void | GetGameObjectListWithEntryInGrid (Container &gameObjectContainer, uint32 entry, float maxSearchRange=250.0f) const |
| template<typename Container > | |
| void | GetGameObjectListWithOptionsInGrid (Container &gameObjectContainer, float maxSearchRange, FindGameObjectOptions const &options) const |
| template<typename Container > | |
| void | GetCreatureListWithEntryInGrid (Container &creatureContainer, uint32 entry, float maxSearchRange=250.0f) const |
| template<typename Container > | |
| void | GetCreatureListWithOptionsInGrid (Container &creatureContainer, float maxSearchRange, FindCreatureOptions const &options) const |
| template<typename Container > | |
| void | GetPlayerListInGrid (Container &playerContainer, float maxSearchRange, bool alive=true) const |
| void | DestroyForNearbyPlayers () |
| virtual void | UpdateObjectVisibility (bool forced=true) |
| virtual void | UpdateObjectVisibilityOnCreate () |
| void | UpdatePositionData () |
| void | BuildUpdate (UpdateDataMapType &) override |
| bool | AddToObjectUpdate () override |
| void | RemoveFromObjectUpdate () override |
| void | AddToNotify (uint16 f) |
| bool | isNeedNotify (uint16 f) const |
| uint16 | GetNotifyFlags () const |
| void | ResetAllNotifies () |
| bool | isActiveObject () const |
| void | setActive (bool isActiveObject) |
| bool | IsFarVisible () const |
| void | SetFarVisible (bool on) |
| bool | IsVisibilityOverridden () const |
| void | SetVisibilityDistanceOverride (VisibilityDistanceType type) |
| void | SetIsStoredInWorldObjectGridContainer (bool apply) |
| bool | IsAlwaysStoredInWorldObjectGridContainer () const |
| bool | IsStoredInWorldObjectGridContainer () const |
| Transport * | GetTransport () const |
| float | GetTransOffsetX () const |
| float | GetTransOffsetY () const |
| float | GetTransOffsetZ () const |
| float | GetTransOffsetO () const |
| Position const & | GetTransOffset () const |
| uint32 | GetTransTime () const |
| int8 | GetTransSeat () const |
| virtual ObjectGuid | GetTransGUID () const |
| void | SetTransport (Transport *t) |
| virtual float | GetStationaryX () const |
| virtual float | GetStationaryY () const |
| virtual float | GetStationaryZ () const |
| virtual float | GetStationaryO () const |
| float | GetFloorZ () const |
| virtual float | GetCollisionHeight () const |
| float | GetMapWaterOrGroundLevel (float x, float y, float z, float *ground=nullptr) const |
| float | GetMapHeight (float x, float y, float z, bool vmap=true, float distanceToSearch=50.0f) const |
| std::string | GetDebugInfo () const override |
| bool | IsPrivateObject () const |
| ObjectGuid | GetPrivateObjectOwner () const |
| void | SetPrivateObjectOwner (ObjectGuid const &owner) |
| bool | CheckPrivateObjectOwnerVisibility (WorldObject const *seer) const |
Public Member Functions inherited from Object | |
| virtual | ~Object () |
| bool | IsInWorld () const |
| ObjectGuid | GetGUID () const |
| PackedGuid const & | GetPackGUID () const |
| uint32 | GetEntry () const |
| void | SetEntry (uint32 entry) |
| float | GetObjectScale () const |
| virtual void | SetObjectScale (float scale) |
| virtual uint32 | GetDynamicFlags () const |
| bool | HasDynamicFlag (uint32 flag) const |
| virtual void | SetDynamicFlag (uint32 flag) |
| virtual void | RemoveDynamicFlag (uint32 flag) |
| virtual void | ReplaceAllDynamicFlags (uint32 flag) |
| TypeID | GetTypeId () const |
| bool | isType (uint16 mask) const |
| virtual void | BuildCreateUpdateBlockForPlayer (UpdateData *data, Player *target) const |
| void | SendUpdateToPlayer (Player *player) |
| void | BuildValuesUpdateBlockForPlayer (UpdateData *data, Player const *target) const |
| void | BuildOutOfRangeUpdateBlock (UpdateData *data) const |
| void | BuildMovementUpdateBlock (UpdateData *data, uint32 flags=0) const |
| virtual void | DestroyForPlayer (Player *target, bool onDeath=false) const |
| int32 | GetInt32Value (uint16 index) const |
| uint32 | GetUInt32Value (uint16 index) const |
| uint64 | GetUInt64Value (uint16 index) const |
| float | GetFloatValue (uint16 index) const |
| uint8 | GetByteValue (uint16 index, uint8 offset) const |
| uint16 | GetUInt16Value (uint16 index, uint8 offset) const |
| ObjectGuid | GetGuidValue (uint16 index) const |
| void | SetInt32Value (uint16 index, int32 value) |
| void | SetUInt32Value (uint16 index, uint32 value) |
| void | UpdateUInt32Value (uint16 index, uint32 value) |
| void | SetUInt64Value (uint16 index, uint64 value) |
| void | SetFloatValue (uint16 index, float value) |
| void | SetByteValue (uint16 index, uint8 offset, uint8 value) |
| void | SetUInt16Value (uint16 index, uint8 offset, uint16 value) |
| void | SetInt16Value (uint16 index, uint8 offset, int16 value) |
| void | SetGuidValue (uint16 index, ObjectGuid value) |
| void | SetStatFloatValue (uint16 index, float value) |
| void | SetStatInt32Value (uint16 index, int32 value) |
| bool | AddGuidValue (uint16 index, ObjectGuid value) |
| bool | RemoveGuidValue (uint16 index, ObjectGuid value) |
| void | ApplyModUInt32Value (uint16 index, int32 val, bool apply) |
| void | ApplyModInt32Value (uint16 index, int32 val, bool apply) |
| void | ApplyModPositiveFloatValue (uint16 index, float val, bool apply) |
| void | ApplyModSignedFloatValue (uint16 index, float val, bool apply) |
| void | SetFlag (uint16 index, uint32 newFlag) |
| void | RemoveFlag (uint16 index, uint32 oldFlag) |
| void | ToggleFlag (uint16 index, uint32 flag) |
| bool | HasFlag (uint16 index, uint32 flag) const |
| void | ApplyModFlag (uint16 index, uint32 flag, bool apply) |
| void | SetByteFlag (uint16 index, uint8 offset, uint8 newFlag) |
| void | RemoveByteFlag (uint16 index, uint8 offset, uint8 newFlag) |
| void | ToggleByteFlag (uint16 index, uint8 offset, uint8 flag) |
| bool | HasByteFlag (uint16 index, uint8 offset, uint8 flag) const |
| void | ApplyModByteFlag (uint16 index, uint8 offset, uint8 flag, bool apply) |
| void | SetFlag64 (uint16 index, uint64 newFlag) |
| void | RemoveFlag64 (uint16 index, uint64 oldFlag) |
| void | ToggleFlag64 (uint16 index, uint64 flag) |
| bool | HasFlag64 (uint16 index, uint64 flag) const |
| void | ApplyModFlag64 (uint16 index, uint64 flag, bool apply) |
| void | ClearUpdateMask (bool remove) |
| uint16 | GetValuesCount () const |
| virtual bool | hasQuest (uint32) const |
| virtual bool | hasInvolvedQuest (uint32) const |
| void | SetIsNewObject (bool enable) |
| void | BuildFieldsUpdate (Player *, UpdateDataMapType &) const |
| void | SetFieldNotifyFlag (uint16 flag) |
| void | RemoveFieldNotifyFlag (uint16 flag) |
| void | ForceValuesUpdateAtIndex (uint32) |
| bool | IsWorldObject () const |
| WorldObject * | ToWorldObject () |
| WorldObject const * | ToWorldObject () const |
| bool | IsItem () const |
| Item * | ToItem () |
| Item const * | ToItem () const |
| bool | IsPlayer () const |
| Player * | ToPlayer () |
| Player const * | ToPlayer () const |
| bool | IsCreature () const |
| Creature * | ToCreature () |
| Creature const * | ToCreature () const |
| bool | IsUnit () const |
| Unit * | ToUnit () |
| Unit const * | ToUnit () const |
| bool | IsGameObject () const |
| GameObject * | ToGameObject () |
| GameObject const * | ToGameObject () const |
| bool | IsCorpse () const |
| Corpse * | ToCorpse () |
| Corpse const * | ToCorpse () const |
| bool | IsDynObject () const |
| DynamicObject * | ToDynObject () |
| DynamicObject const * | ToDynObject () const |
| Trinity::unique_weak_ptr< Object > | GetWeakPtr () const |
Public Member Functions inherited from WorldLocation | |
| WorldLocation () | |
| WorldLocation (uint32 _mapId, float x, float y, float z=0.0f, float o=0.0f) | |
| WorldLocation (uint32 mapId, Position const &position) | |
| void | WorldRelocate (WorldLocation const &loc) |
| void | WorldRelocate (WorldLocation const *loc) |
| void | WorldRelocate (uint32 mapId, Position const &pos) |
| void | WorldRelocate (uint32 mapId=MAPID_INVALID, float x=0.f, float y=0.f, float z=0.f, float o=0.f) |
| WorldLocation | GetWorldLocation () const |
| uint32 | GetMapId () const |
| std::string | GetDebugInfo () const |
Public Member Functions inherited from Position | |
| Position () | |
| Position (float x, float y, float z=0.0f, float o=0.0f) | |
| bool | operator== (Position const &a) const |
| void | Relocate (float x, float y) |
| void | Relocate (float x, float y, float z) |
| void | Relocate (float x, float y, float z, float o) |
| void | Relocate (Position const &pos) |
| void | Relocate (Position const *pos) |
| void | RelocateOffset (Position const &offset) |
| void | SetOrientation (float orientation) |
| float | GetPositionX () const |
| float | GetPositionY () const |
| float | GetPositionZ () 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 |
| Position | GetPosition () const |
| Streamer< XY > | PositionXYStream () |
| ConstStreamer< XY > | PositionXYStream () const |
| Streamer< XYZ > | PositionXYZStream () |
| ConstStreamer< XYZ > | PositionXYZStream () const |
| Streamer< XYZO > | PositionXYZOStream () |
| ConstStreamer< XYZO > | PositionXYZOStream () const |
| Streamer< PackedXYZ > | PositionPackedXYZStream () |
| ConstStreamer< PackedXYZ > | PositionPackedXYZStream () const |
| bool | IsPositionValid () const |
| float | GetExactDist2dSq (const float x, const float y) const |
| float | GetExactDist2dSq (Position const &pos) const |
| float | GetExactDist2dSq (Position const *pos) const |
| float | GetExactDist2d (const float x, const float y) const |
| float | GetExactDist2d (Position const &pos) const |
| float | GetExactDist2d (Position const *pos) const |
| float | GetExactDistSq (float x, float y, float z) const |
| float | GetExactDistSq (Position const &pos) const |
| float | GetExactDistSq (Position const *pos) const |
| float | GetExactDist (float x, float y, float z) const |
| float | GetExactDist (Position const &pos) const |
| float | GetExactDist (Position const *pos) const |
| void | GetPositionOffsetTo (Position const &endPos, Position &retOffset) const |
| Position | GetPositionWithOffset (Position const &offset) const |
| float | GetAbsoluteAngle (float x, float y) const |
| float | GetAbsoluteAngle (Position const &pos) const |
| float | GetAbsoluteAngle (Position const *pos) const |
| float | ToAbsoluteAngle (float relAngle) const |
| float | ToRelativeAngle (float absAngle) const |
| float | GetRelativeAngle (float x, float y) const |
| float | GetRelativeAngle (Position const &pos) const |
| float | GetRelativeAngle (Position const *pos) const |
| void | GetSinCos (float x, float y, float &vsin, float &vcos) const |
| bool | IsInDist2d (float x, float y, float dist) const |
| bool | IsInDist2d (Position const *pos, float dist) const |
| bool | IsInDist (float x, float y, float z, float dist) const |
| bool | IsInDist (Position const &pos, float dist) const |
| bool | IsInDist (Position const *pos, float dist) const |
| bool | IsWithinBox (Position const ¢er, float xradius, float yradius, float zradius) const |
| bool | IsWithinDoubleVerticalCylinder (Position const *center, float radius, float height) const |
| bool | HasInArc (float arcangle, Position const *pos, float border=2.0f) const |
| bool | HasInLine (Position const *pos, float objSize, float width) const |
| std::string | ToString () const |
Static Public Member Functions | |
| static bool | InSamePhase (WorldObject const *a, WorldObject const *b) |
| static ReputationRank | GetFactionReactionTo (FactionTemplateEntry const *factionTemplateEntry, WorldObject const *target) |
Static Public Member Functions inherited from Object | |
| static ObjectGuid | GetGUID (Object const *o) |
| static WorldObject * | ToWorldObject (Object *o) |
| static WorldObject const * | ToWorldObject (Object const *o) |
| static Item * | ToItem (Object *o) |
| static Item const * | ToItem (Object const *o) |
| static Player * | ToPlayer (Object *o) |
| static Player const * | ToPlayer (Object const *o) |
| static Creature * | ToCreature (Object *o) |
| static Creature const * | ToCreature (Object const *o) |
| static Unit * | ToUnit (Object *o) |
| static Unit const * | ToUnit (Object const *o) |
| static GameObject * | ToGameObject (Object *o) |
| static GameObject const * | ToGameObject (Object const *o) |
| static Corpse * | ToCorpse (Object *o) |
| static Corpse const * | ToCorpse (Object const *o) |
| static DynamicObject * | ToDynObject (Object *o) |
| static DynamicObject const * | ToDynObject (Object const *o) |
Static Public Member Functions inherited from Position | |
| static float | NormalizeOrientation (float o) |
Public Attributes | |
| FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPES > | m_stealth |
| FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPES > | m_stealthDetect |
| FlaggedValuesArray32< int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPES > | m_invisibility |
| FlaggedValuesArray32< int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPES > | m_invisibilityDetect |
| FlaggedValuesArray32< int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPES > | m_serverSideVisibility |
| FlaggedValuesArray32< int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPES > | m_serverSideVisibilityDetect |
| uint32 | LastUsedScriptID |
| MovementInfo | m_movementInfo |
| EventProcessor | m_Events |
Public Attributes inherited from WorldLocation | |
| uint32 | m_mapId |
Public Attributes inherited from Position | |
| float | m_positionX |
| float | m_positionY |
| float | m_positionZ |
Protected Member Functions | |
| WorldObject (bool isWorldObject) | |
| virtual void | ProcessPositionDataChanged (PositionFullTerrainStatus const &data) |
| void | SetLocationMapId (uint32 _mapId) |
| void | SetLocationInstanceId (uint32 _instanceId) |
| virtual bool | IsNeverVisible (bool allowServersideObjects) const |
| virtual bool | IsAlwaysVisibleFor (WorldObject const *) const |
| virtual bool | IsInvisibleDueToDespawn () const |
| virtual bool | IsAlwaysDetectableFor (WorldObject const *) const |
| virtual void | Heartbeat () |
Protected Member Functions inherited from Object | |
| Object () | |
| void | _InitValues () |
| void | _Create (ObjectGuid const &guid) |
| std::string | _ConcatFields (uint16 startIndex, uint16 size) const |
| bool | _LoadIntoDataField (std::string const &data, uint32 startOffset, uint32 count) |
| uint32 | GetUpdateFieldData (Player const *target, uint32 *&flags) const |
| void | BuildMovementUpdate (ByteBuffer *data, uint16 flags) const |
| virtual void | BuildValuesUpdate (uint8 updatetype, ByteBuffer *data, Player const *target) const |
| void | AddToObjectUpdateIfNeeded () |
Protected Attributes | ||
| std::string | m_name | |
| bool | m_isActive | |
| bool | m_isFarVisible | |
| Optional< float > | m_visibilityDistanceOverride | |
| bool const | m_isStoredInWorldObjectGridContainer | |
| ZoneScript * | m_zoneScript | |
| Transport * | m_transport | |
| uint32 | m_zoneId | |
| uint32 | m_areaId | |
| float | m_staticFloorZ | |
| bool | m_outdoors | |
| ZLiquidStatus | m_liquidStatus | |
Protected Attributes inherited from Object | ||
| uint16 | m_objectType | |
| TypeID | m_objectTypeId | |
| uint16 | m_updateFlag | |
| union { | ||
| int32 * m_int32Values | ||
| uint32 * m_uint32Values | ||
| float * m_floatValues | ||
| }; | ||
| UpdateMask | _changesMask | |
| uint16 | m_valuesCount | |
| uint16 | _fieldNotifyFlags | |
| bool | m_objectUpdated | |
Private Member Functions | |
| virtual bool | _IsWithinDist (WorldObject const *obj, float dist2compare, bool is3D, bool incOwnRadius=true, bool incTargetRadius=true) const |
| bool | CanNeverSee (WorldObject const *obj) const |
| virtual bool | CanAlwaysSee (WorldObject const *) const |
| bool | CanDetect (WorldObject const *obj, bool ignoreStealth, bool checkAlert=false) const |
| bool | CanDetectInvisibilityOf (WorldObject const *obj) const |
| bool | CanDetectStealthOf (WorldObject const *obj, bool checkAlert=false) const |
Private Attributes | |
| Map * | m_currMap |
| uint32 | m_InstanceId |
| uint32 | m_phaseMask |
| uint16 | m_notifyflags |
| ObjectGuid | _privateObjectOwner |
| Milliseconds | _heartbeatTimer |
|
explicitprotected |
|
virtual |
|
privatevirtual |
Reimplemented in GameObject.
Definition at line 1101 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::AddObjectToRemoveList | ( | ) |
Definition at line 1838 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
overridevirtual |
Implements Object.
Definition at line 3568 of file Object.cpp.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from Object.
Definition at line 1060 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float WorldObject::ApplyEffectModifiers | ( | SpellInfo const * | spellInfo, |
| uint8 | effIndex, | ||
| float | value | ||
| ) | const |
Definition at line 2281 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from Object.
Definition at line 3559 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2302 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| int32 WorldObject::CalculateSpellDamage | ( | SpellEffectInfo const & | spellEffectInfo, |
| int32 const * | basePoints = nullptr |
||
| ) | const |
Definition at line 2248 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivatevirtual |
|
private |
Definition at line 1641 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1670 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1701 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1636 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::CanSeeOrDetect | ( | WorldObject const * | obj, |
| bool | implicitDetect = false, |
||
| bool | distanceCheck = false, |
||
| bool | checkAlert = false |
||
| ) | const |
Definition at line 1547 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| SpellCastResult WorldObject::CastSpell | ( | CastSpellTargetArg const & | targets, |
| uint32 | spellId, | ||
| CastSpellExtraArgs const & | args = { } |
||
| ) |
| bool WorldObject::CheckPrivateObjectOwnerVisibility | ( | WorldObject const * | seer | ) | const |
Definition at line 1531 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in GameObject, Player, Transport, and Unit.
Definition at line 1031 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::ClearZoneScript | ( | ) |
Definition at line 1987 of file Object.cpp.
| void WorldObject::DestroyForNearbyPlayers | ( | ) |
Definition at line 3449 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 2099 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Creature * WorldObject::FindNearestCreatureWithOptions | ( | float | range, |
| FindCreatureOptions const & | options | ||
| ) | const |
Definition at line 2108 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| GameObject * WorldObject::FindNearestGameObject | ( | uint32 | entry, |
| float | range, | ||
| bool | spawnedOnly = true |
||
| ) | const |
Definition at line 2121 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| GameObject * WorldObject::FindNearestGameObjectOfType | ( | GameobjectTypes | type, |
| float | range | ||
| ) | const |
Definition at line 2152 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| GameObject * WorldObject::FindNearestGameObjectWithOptions | ( | float | range, |
| FindGameObjectOptions const & | options | ||
| ) | const |
| GameObject * WorldObject::FindNearestUnspawnedGameObject | ( | uint32 | entry, |
| float | range | ||
| ) | const |
Definition at line 2143 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Player * WorldObject::GetAffectingPlayer | ( | ) | const |
Definition at line 2212 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| Unit * WorldObject::GetCharmerOrOwner | ( | ) | const |
Definition at line 2185 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
| ObjectGuid WorldObject::GetCharmerOrOwnerOrOwnGUID | ( | ) | const |
| Unit * WorldObject::GetCharmerOrOwnerOrSelf | ( | ) | const |
Definition at line 2195 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Player * WorldObject::GetCharmerOrOwnerPlayerOrPlayerItself | ( | ) | const |
Definition at line 2203 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::GetClosePoint | ( | float & | x, |
| float & | y, | ||
| float & | z, | ||
| float | size, | ||
| float | distance2d = 0, |
||
| float | relAngle = 0 |
||
| ) | const |
Definition at line 3244 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
|
inlinevirtual |
| void WorldObject::GetContactPoint | ( | WorldObject const * | obj, |
| float & | x, | ||
| float & | y, | ||
| float & | z, | ||
| float | distance2d = CONTACT_DISTANCE |
||
| ) | const |
Definition at line 3271 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| template TC_GAME_API void WorldObject::GetCreatureListWithEntryInGrid | ( | Container & | creatureContainer, |
| uint32 | entry, | ||
| float | maxSearchRange = 250.0f |
||
| ) | const |
Definition at line 3153 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| template TC_GAME_API void WorldObject::GetCreatureListWithOptionsInGrid | ( | Container & | creatureContainer, |
| float | maxSearchRange, | ||
| FindCreatureOptions const & | options | ||
| ) | const |
Definition at line 3161 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from Object.
Definition at line 3614 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float WorldObject::GetDistance | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) | const |
| float WorldObject::GetDistance | ( | Position const & | pos | ) | const |
| float WorldObject::GetDistance | ( | WorldObject const * | obj | ) | const |
Definition at line 1123 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float WorldObject::GetDistance2d | ( | float | x, |
| float | y | ||
| ) | const |
| float WorldObject::GetDistance2d | ( | WorldObject const * | obj | ) | const |
Definition at line 1141 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::GetDistanceOrder | ( | WorldObject const * | obj1, |
| WorldObject const * | obj2, | ||
| bool | is3D = true |
||
| ) | const |
Definition at line 1260 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float WorldObject::GetDistanceZ | ( | WorldObject const * | obj | ) | const |
Definition at line 1093 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
pure virtual |
Implemented in Corpse, DynamicObject, GameObject, and Unit.
Here is the caller graph for this function:
|
static |
Definition at line 2749 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| FactionTemplateEntry const * WorldObject::GetFactionTemplateEntry | ( | ) | const |
Definition at line 2634 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Position WorldObject::GetFirstCollisionPosition | ( | float | dist, |
| float | angle | ||
| ) |
Definition at line 3257 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float WorldObject::GetFloorZ | ( | ) | const |
Definition at line 3586 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| template TC_GAME_API void WorldObject::GetGameObjectListWithEntryInGrid | ( | Container & | gameObjectContainer, |
| uint32 | entry, | ||
| float | maxSearchRange = 250.0f |
||
| ) | const |
Definition at line 3133 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| template TC_GAME_API void WorldObject::GetGameObjectListWithOptionsInGrid | ( | Container & | gameObjectContainer, |
| float | maxSearchRange, | ||
| FindGameObjectOptions const & | options | ||
| ) | const |
| float WorldObject::GetGridActivationRange | ( | ) | const |
Definition at line 1476 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1197 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::GetHitSpherePointFor | ( | Position const & | dest, |
| float & | x, | ||
| float & | y, | ||
| float & | z | ||
| ) | const |
|
inline |
| InstanceScript * WorldObject::GetInstanceScript | ( | ) | const |
|
inlinevirtual |
Reimplemented in Unit, Creature, and GameObject.
Definition at line 423 of file Object.h.
Here is the caller graph for this function:
|
inline |
Definition at line 3101 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float WorldObject::GetMapHeight | ( | float | x, |
| float | y, | ||
| float | z, | ||
| bool | vmap = true, |
||
| float | distanceToSearch = 50.0f |
||
| ) | const |
Definition at line 3606 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float WorldObject::GetMapWaterOrGroundLevel | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float * | ground = nullptr |
||
| ) | const |
Definition at line 3593 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in GameObject, and Creature.
Definition at line 385 of file Object.h.
Here is the caller graph for this function:| void WorldObject::GetNearPoint | ( | WorldObject const * | searcher, |
| float & | x, | ||
| float & | y, | ||
| float & | z, | ||
| float | distance2d, | ||
| float | absAngle | ||
| ) | const |
Definition at line 3209 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::GetNearPoint2D | ( | WorldObject const * | searcher, |
| float & | x, | ||
| float & | y, | ||
| float | distance, | ||
| float | absAngle | ||
| ) | const |
Definition at line 3180 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Position WorldObject::GetNearPosition | ( | float | dist, |
| float | angle | ||
| ) |
Definition at line 3250 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Unit * WorldObject::GetOwner | ( | ) | const |
Definition at line 2180 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
pure virtual |
Implemented in Corpse, DynamicObject, GameObject, and Unit.
Here is the caller graph for this function:
|
inline |
| template TC_GAME_API void WorldObject::GetPlayerListInGrid | ( | Container & | playerContainer, |
| float | maxSearchRange, | ||
| bool | alive = true |
||
| ) | const |
Definition at line 3173 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| Position WorldObject::GetRandomNearPosition | ( | float | radius | ) |
Definition at line 3264 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::GetRandomPoint | ( | Position const & | srcPos, |
| float | distance, | ||
| float & | rand_x, | ||
| float & | rand_y, | ||
| float & | rand_z | ||
| ) | const |
Definition at line 1376 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| ReputationRank WorldObject::GetReactionTo | ( | WorldObject const * | target | ) | const |
Definition at line 2662 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float WorldObject::GetSightRange | ( | WorldObject const * | target = nullptr | ) | const |
Definition at line 1502 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float WorldObject::GetSpellMaxRangeForTarget | ( | Unit const * | target, |
| SpellInfo const * | spellInfo | ||
| ) | const |
Definition at line 2253 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float WorldObject::GetSpellMinRangeForTarget | ( | Unit const * | target, |
| SpellInfo const * | spellInfo | ||
| ) | const |
Definition at line 2267 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Player * WorldObject::GetSpellModOwner | ( | ) | const |
Definition at line 2223 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 580 of file Object.h.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 577 of file Object.h.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 578 of file Object.h.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 579 of file Object.h.
Here is the caller graph for this function:
|
virtual |
Reimplemented in Unit.
Definition at line 3579 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| float WorldObject::GetVisibilityRange | ( | ) | const |
Definition at line 1492 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inlineprotectedvirtual |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inlineprotectedvirtual |
|
inline |
|
inlineprotectedvirtual |
Reimplemented in GameObject, and Unit.
Definition at line 624 of file Object.h.
Here is the caller graph for this function:
|
inline |
| bool WorldObject::IsFriendlyTo | ( | WorldObject const * | target | ) | const |
Definition at line 2801 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsHostileTo | ( | WorldObject const * | target | ) | const |
Definition at line 2796 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsHostileToPlayers | ( | ) | const |
| bool WorldObject::isInBack | ( | WorldObject const * | target, |
| float | arc = float(M_PI) |
||
| ) | const |
Definition at line 1371 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsInBetween | ( | Position const & | pos1, |
| Position const & | pos2, | ||
| float | size = 0 |
||
| ) | const |
Definition at line 1349 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| bool WorldObject::isInFront | ( | WorldObject const * | target, |
| float | arc = float(M_PI) |
||
| ) | const |
Definition at line 1366 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsInMap | ( | WorldObject const * | obj | ) | const |
Definition at line 1160 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsInRange | ( | WorldObject const * | obj, |
| float | minRange, | ||
| float | maxRange, | ||
| bool | is3D = true |
||
| ) | const |
Definition at line 1283 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsInRange2d | ( | float | x, |
| float | y, | ||
| float | minRange, | ||
| float | maxRange | ||
| ) | const |
| bool WorldObject::IsInRange3d | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | minRange, | ||
| float | maxRange | ||
| ) | const |
|
inlineprotectedvirtual |
Reimplemented in Creature, and GameObject.
Definition at line 625 of file Object.h.
Here is the caller graph for this function:| bool WorldObject::IsInWorldPvpZone | ( | ) | const |
Definition at line 1076 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| bool WorldObject::IsNeutralToAll | ( | ) | const |
Definition at line 2819 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotectedvirtual |
Reimplemented in GameObject, and Player.
Definition at line 623 of file Object.h.
Here is the caller graph for this function:
|
inline |
|
inline |
| bool WorldObject::IsSelfOrInSameMap | ( | WorldObject const * | obj | ) | const |
Definition at line 1153 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsStoredInWorldObjectGridContainer | ( | ) | const |
Definition at line 980 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsValidAssistTarget | ( | WorldObject const * | target, |
| SpellInfo const * | bySpell = nullptr |
||
| ) | const |
Definition at line 3000 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsValidAttackTarget | ( | WorldObject const * | target, |
| SpellInfo const * | bySpell = nullptr |
||
| ) | const |
Definition at line 2856 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| bool WorldObject::IsWithinDist | ( | WorldObject const * | obj, |
| float | dist2compare, | ||
| bool | is3D = true |
||
| ) | const |
Definition at line 1187 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsWithinDist2d | ( | float | x, |
| float | y, | ||
| float | dist | ||
| ) | const |
Definition at line 1177 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsWithinDist2d | ( | Position const * | pos, |
| float | dist | ||
| ) | const |
| bool WorldObject::IsWithinDist3d | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | dist | ||
| ) | const |
Definition at line 1167 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsWithinDist3d | ( | Position const * | pos, |
| float | dist | ||
| ) | const |
| bool WorldObject::IsWithinDistInMap | ( | WorldObject const * | obj, |
| float | dist2compare, | ||
| bool | is3D = true, |
||
| bool | incOwnRadius = true, |
||
| bool | incTargetRadius = true |
||
| ) | const |
Definition at line 1192 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsWithinLOS | ( | float | x, |
| float | y, | ||
| float | z, | ||
| LineOfSightChecks | checks = LINEOFSIGHT_ALL_CHECKS, |
||
| VMAP::ModelIgnoreFlags | ignoreFlags = VMAP::ModelIgnoreFlags::Nothing |
||
| ) | const |
Definition at line 1206 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool WorldObject::IsWithinLOSInMap | ( | WorldObject const * | obj, |
| LineOfSightChecks | checks = LINEOFSIGHT_ALL_CHECKS, |
||
| VMAP::ModelIgnoreFlags | ignoreFlags = VMAP::ModelIgnoreFlags::Nothing |
||
| ) | const |
Definition at line 1226 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| SpellMissInfo WorldObject::MagicSpellHitResult | ( | Unit * | victim, |
| SpellInfo const * | spellInfo | ||
| ) | const |
Definition at line 2469 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in Unit.
Definition at line 2464 of file Object.cpp.
Here is the caller graph for this function:
|
virtual |
Reimplemented in Unit.
Definition at line 2459 of file Object.cpp.
| void WorldObject::ModSpellCastTime | ( | SpellInfo const * | spellInfo, |
| int32 & | castTime, | ||
| Spell * | spell = nullptr |
||
| ) | const |
Definition at line 2414 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| int32 WorldObject::ModSpellDuration | ( | SpellInfo const * | spellInfo, |
| WorldObject const * | target, | ||
| int32 | duration, | ||
| bool | positive, | ||
| uint32 | effectMask | ||
| ) | const |
Definition at line 2320 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::ModSpellDurationTime | ( | SpellInfo const * | spellInfo, |
| int32 & | durationTime, | ||
| Spell * | spell = nullptr |
||
| ) | const |
Definition at line 2436 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::MovePosition | ( | Position & | pos, |
| float | dist, | ||
| float | angle | ||
| ) |
Definition at line 3277 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::MovePositionToFirstCollision | ( | Position & | pos, |
| float | dist, | ||
| float | angle | ||
| ) |
Definition at line 3323 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 3441 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 3433 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 3425 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
Reimplemented in Unit.
Definition at line 1049 of file Object.cpp.
Here is the caller graph for this function:
|
overridevirtual |
Implements Object.
Definition at line 3574 of file Object.cpp.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from Object.
Definition at line 1066 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in Player.
Definition at line 1826 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Player * WorldObject::SelectNearestPlayer | ( | float | distance | ) | const |
Definition at line 2161 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in Player.
Definition at line 1783 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in Player.
Definition at line 1795 of file Object.cpp.
Here is the call graph for this function:
|
virtual |
Reimplemented in Player.
Definition at line 1789 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::SendObjectDeSpawnAnim | ( | ObjectGuid | guid | ) |
Definition at line 1801 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::SendSpellMiss | ( | Unit * | target, |
| uint32 | spellID, | ||
| SpellMissInfo | missInfo | ||
| ) |
Definition at line 2620 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::setActive | ( | bool | isActiveObject | ) |
Definition at line 991 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in GameObject, and Unit.
| void WorldObject::SetFarVisible | ( | bool | on | ) |
Definition at line 1014 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::SetIsStoredInWorldObjectGridContainer | ( | bool | apply | ) |
Definition at line 972 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
|
inlineprotected |
|
virtual |
Reimplemented in Player.
Definition at line 1808 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
virtual |
Reimplemented in Creature, GameObject, Player, and Unit.
Definition at line 3417 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
| void WorldObject::SetVisibilityDistanceOverride | ( | VisibilityDistanceType | type | ) |
Definition at line 1022 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::SetZoneScript | ( | ) |
Definition at line 1971 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| SpellMissInfo WorldObject::SpellHitResult | ( | Unit * | victim, |
| SpellInfo const * | spellInfo, | ||
| bool | canReflect = false |
||
| ) | const |
Definition at line 2571 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| TempSummon * WorldObject::SummonCreature | ( | uint32 | entry, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | o = 0, |
||
| TempSummonType | despawnType = TEMPSUMMON_MANUAL_DESPAWN, |
||
| Milliseconds | despawnTime = 0s, |
||
| ObjectGuid | privateObjectOwner = ObjectGuid::Empty |
||
| ) |
| TempSummon * WorldObject::SummonCreature | ( | uint32 | entry, |
| Position const & | pos, | ||
| TempSummonType | despawnType = TEMPSUMMON_MANUAL_DESPAWN, |
||
| Milliseconds | despawnTime = 0s, |
||
| uint32 | vehId = 0, |
||
| uint32 | spellId = 0, |
||
| ObjectGuid | privateObjectOwner = ObjectGuid::Empty |
||
| ) |
| void WorldObject::SummonCreatureGroup | ( | uint8 | group, |
| std::list< TempSummon * > * | list = nullptr |
||
| ) |
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 2082 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| GameObject * WorldObject::SummonGameObject | ( | uint32 | entry, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | ang, | ||
| QuaternionData const & | rot, | ||
| Seconds | respawnTime, | ||
| GOSummonType | summonType = GO_SUMMON_TIMED_OR_CORPSE_DESPAWN |
||
| ) |
| GameObject * WorldObject::SummonGameObject | ( | uint32 | entry, |
| Position const & | pos, | ||
| QuaternionData const & | rot, | ||
| Seconds | respawnTime, | ||
| GOSummonType | summonType = GO_SUMMON_TIMED_OR_CORPSE_DESPAWN |
||
| ) |
Definition at line 2015 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Creature * WorldObject::SummonTrigger | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | ang, | ||
| Milliseconds | despawnTime, | ||
| CreatureAI *(*)(Creature *) | GetAI = nullptr |
||
| ) |
Definition at line 2057 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in Pet, Transport, DynamicObject, GameObject, Creature, TempSummon, Puppet, Player, Totem, and Unit.
Definition at line 960 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::UpdateAllowedPositionZ | ( | float | x, |
| float | y, | ||
| float & | z, | ||
| float * | groundZ = nullptr |
||
| ) | const |
Definition at line 1416 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldObject::UpdateGroundPositionZ | ( | float | x, |
| float | y, | ||
| float & | z | ||
| ) | const |
Definition at line 1405 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in Player, and Unit.
Definition at line 3482 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in TempSummon.
| void WorldObject::UpdatePositionData | ( | ) |
Definition at line 1042 of file Object.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
| EventProcessor WorldObject::m_Events |
| FlaggedValuesArray32<int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPES> WorldObject::m_invisibility |
| FlaggedValuesArray32<int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPES> WorldObject::m_invisibilityDetect |
|
protected |
|
protected |
| MovementInfo WorldObject::m_movementInfo |
| FlaggedValuesArray32<int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPES> WorldObject::m_serverSideVisibility |
| FlaggedValuesArray32<int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPES> WorldObject::m_serverSideVisibilityDetect |
| FlaggedValuesArray32<int32, uint32, StealthType, TOTAL_STEALTH_TYPES> WorldObject::m_stealth |
| FlaggedValuesArray32<int32, uint32, StealthType, TOTAL_STEALTH_TYPES> WorldObject::m_stealthDetect |
|
protected |
|
protected |