![]() |
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) |
| std::string const & | GetNameForLocaleIdx (LocaleConstant) const override |
| 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 | ApplyModUInt16Value (uint16 index, uint8 offset, int16 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) |
| 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 |
Definition at line 937 of file Object.cpp.
References GHOST_VISIBILITY_ALIVE, GHOST_VISIBILITY_GHOST, m_serverSideVisibility, m_serverSideVisibilityDetect, SERVERSIDE_VISIBILITY_GHOST, and FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::SetValue().
|
virtual |
Definition at line 946 of file Object.cpp.
References ABORT, Object::GetGUID(), Object::GetTypeId(), IsStoredInWorldObjectGridContainer(), m_currMap, ResetMap(), TC_LOG_FATAL, Object::ToCorpse(), Position::ToString(), and TYPEID_CORPSE.
|
privatevirtual |
Reimplemented in GameObject.
Definition at line 1102 of file Object.cpp.
References GetCombatReach(), Object::GetGUID(), Object::GetGUID(), GetTransport(), Position::IsInDist(), Position::IsInDist2d(), m_movementInfo, MovementInfo::TransportInfo::pos, and MovementInfo::transport.
Referenced by IsWithinDist(), and IsWithinDistInMap().
| void WorldObject::AddObjectToRemoveList | ( | ) |
Definition at line 1839 of file Object.cpp.
References Map::AddObjectToRemoveList(), ASSERT, FindMap(), Object::GetGUID(), WorldLocation::GetMapId(), Object::m_uint32Values, TC_LOG_ERROR, and Position::ToString().
Referenced by Transport::DelayedTeleportTransport(), GameObject::Delete(), ResetEncounterEvent::Execute(), Creature::ForcedDespawn(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::ProcessEvent(), DynamicObject::Remove(), Creature::RemoveCorpse(), Player::RemovePet(), Transport::UnloadStaticPassengers(), TempSummon::UnSummon(), Totem::UnSummon(), GameObject::Update(), and npc_minigob_manabonk::UpdateAI().
|
inline |
Definition at line 548 of file Object.h.
Referenced by Player::UpdateObjectVisibility(), and Unit::UpdateObjectVisibility().
|
overridevirtual |
Implements Object.
Definition at line 3567 of file Object.cpp.
References Map::AddUpdateObject(), and GetMap().
|
overridevirtual |
Reimplemented from Object.
Definition at line 1061 of file Object.cpp.
References Object::AddToWorld(), GetMap(), GetPhaseMask(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Map::GetZoneAndAreaId(), m_areaId, and m_zoneId.
Referenced by DynamicObject::AddToWorld(), GameObject::AddToWorld(), and Unit::AddToWorld().
| float WorldObject::ApplyEffectModifiers | ( | SpellInfo const * | spellInfo, |
| uint8 | effIndex, | ||
| float | value | ||
| ) | const |
Definition at line 2282 of file Object.cpp.
References EFFECT_0, EFFECT_1, EFFECT_2, GetSpellModOwner(), SpellInfo::Id, SPELLMOD_ALL_EFFECTS, SPELLMOD_EFFECT1, SPELLMOD_EFFECT2, and SPELLMOD_EFFECT3.
Referenced by SpellEffectInfo::CalcValue(), and Spell::EffectSchoolDMG().
|
overridevirtual |
Reimplemented from Object.
Definition at line 3558 of file Object.cpp.
References Object::ClearUpdateMask(), GetVisibilityRange(), and Cell::VisitWorldObjects().
Referenced by Player::SetViewpoint().
Definition at line 2303 of file Object.cpp.
References Unit::GetComboPoints(), SpellInfo::GetDuration(), SpellInfo::GetMaxDuration(), and Object::ToUnit().
Referenced by Aura::CalcMaxDuration().
| int32 WorldObject::CalculateSpellDamage | ( | SpellEffectInfo const & | spellEffectInfo, |
| int32 const * | basePoints = nullptr |
||
| ) | const |
Definition at line 2249 of file Object.cpp.
References SpellEffectInfo::CalcValue().
Referenced by Spell::CalculateDamage(), Spell::EffectSchoolDMG(), AuraEffect::HandleAuraModShapeshift(), spell_dk_death_strike::HandleDummy(), Spell::PrepareTriggersExecutedOnHit(), and Unit::SpellDamagePctDone().
|
inlineprivatevirtual |
Reimplemented in Creature, and Player.
Definition at line 647 of file Object.h.
Referenced by CanSeeOrDetect().
|
private |
Definition at line 1642 of file Object.cpp.
References CanDetectInvisibilityOf(), CanDetectStealthOf(), Unit::GetCharmed(), Unit::GetCharmerOrOwner(), IsAlwaysDetectableFor(), and Object::ToUnit().
Referenced by CanSeeOrDetect().
|
private |
Definition at line 1671 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 Object::ToUnit().
Referenced by CanDetect().
|
private |
Definition at line 1702 of file Object.cpp.
References GAMEOBJECT_TYPE_TRAP, Creature::GetAttackDistance(), Unit::GetCombatReach(), Position::GetExactDist(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::GetFlags(), GetLevelForTarget(), GetOwner(), Object::GetTypeId(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::GetValue(), Unit::HasAuraTypeWithMiscvalue(), Position::HasInArc(), Creature::m_CombatDistance, M_PI, m_stealth, m_stealthDetect, MAX_PLAYER_STEALTH_DETECT_RANGE, SPELL_AURA_DETECT_STEALTH, Object::ToCreature(), Object::ToGameObject(), Object::ToGameObject(), TOTAL_STEALTH_TYPES, Object::ToUnit(), Object::ToUnit(), and TYPEID_PLAYER.
Referenced by CanDetect().
|
private |
Definition at line 1637 of file Object.cpp.
References GetMap(), and InSamePhase().
Referenced by CanSeeOrDetect().
| bool WorldObject::CanSeeOrDetect | ( | WorldObject const * | obj, |
| bool | implicitDetect = false, |
||
| bool | distanceCheck = false, |
||
| bool | checkAlert = false |
||
| ) | const |
Definition at line 1548 of file Object.cpp.
References CanAlwaysSee(), CanDetect(), CanNeverSee(), CheckPrivateObjectOwnerVisibility(), GetSightRange(), FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::GetValue(), Unit::GetVehicleBase(), GHOST_VISIBILITY_GHOST, IsAlwaysVisibleFor(), IsInvisibleDueToDespawn(), IsNeverVisible(), IsWithinDist(), m_serverSideVisibility, m_serverSideVisibilityDetect, SERVERSIDE_VISIBILITY_GHOST, SERVERSIDE_VISIBILITY_GM, Object::ToPlayer(), Object::ToPlayer(), and Object::ToUnit().
Referenced by SpellInfo::CheckTarget(), CreatureUnitRelocationWorker(), FindEligibleTarget(), IsValidAssistTarget(), IsValidAttackTarget(), Trinity::NearestAttackableUnitInObjectRangeCheck::operator()(), Trinity::NearestHostileUnitInAttackDistanceCheck::operator()(), ThreatReference::ShouldBeOffline(), TotemAI::UpdateAI(), Player::UpdateVisibilityOf(), and Player::UpdateVisibilityOf().
| SpellCastResult WorldObject::CastSpell | ( | CastSpellTargetArg const & | targets, |
| uint32 | spellId, | ||
| CastSpellExtraArgs const & | args = { } |
||
| ) |
Definition at line 2833 of file Object.cpp.
References CastSpellExtraArgs::CastItem, Object::GetGUID(), Spell::m_CastItem, CastSpellExtraArgs::OriginalCaster, Spell::prepare(), Spell::SetSpellValue(), SPELL_FAILED_BAD_TARGETS, SPELL_FAILED_SPELL_UNAVAILABLE, CastSpellExtraArgs::SpellValueOverrides, sSpellMgr, CastSpellTargetArg::Targets, TC_LOG_ERROR, Position::ToString(), CastSpellExtraArgs::TriggerFlags, and CastSpellExtraArgs::TriggeringAura.
Referenced by Spell::_cast(), Player::_LoadGlyphAuras(), BattlegroundAB::_NodeOccupied(), Battleground::_ProcessResurrect(), spell_valkyr_essences::Absorb(), spell_pri_guardian_spirit::Absorb(), spell_rog_cheat_death::Absorb(), spell_illidari_council_balance_of_power::Absorb(), spell_mage_fire_frost_ward::Absorb(), spell_pal_ardent_defender::Absorb(), Player::ActivateTalentGroup(), spell_halion_combustion_consumption::AddMarkStack(), Battleground::AddPlayer(), Arena::AddPlayer(), BattlegroundIC::AddPlayer(), Battleground::AddPlayerToResurrectQueue(), Pet::addSpell(), Player::AddSpell(), spell_vexallus_energy_feedback::AfterApply(), spell_brutallus_break_ice::AfterApply(), spell_muru_summon_blood_elves_periodic::AfterApply(), spell_midsummer_torch_tossing_training_practice::AfterApply(), spell_midsummer_stamp_out_bonfire_quest_complete::AfterApply(), spell_azuremyst_isle_shadow_of_the_forest_creature::AfterApply(), spell_anubarak_pound::AfterApply(), spell_magus_telestra_clone_dies::AfterApply(), spell_bjarngrim_stance_dummy::AfterApply(), spell_sjonnir_periodic_summon::AfterApply(), spell_dragonblight_toaluus_spiritual_incense::AfterApply(), spell_grizzly_hills_flight_onequah_to_lights_breach::AfterApply(), spell_grizzly_hills_flight_westfall_to_lights_breach::AfterApply(), spell_fjord_worg_disguise::AfterApply(), spell_zuldrak_have_ingredient::AfterApply(), spell_zuldrak_summon_escort_aura::AfterApply(), spell_serpent_shrine_coilfang_water::AfterApply(), spell_ahune_summoning_rhyme_aura::AfterApply(), spell_gruul_gronn_lords_grasp::AfterApply(), spell_kelidan_the_breaker_burning_nova::AfterApply(), spell_magtheridon_shadow_grasp::AfterApply(), spell_magtheridon_shadow_grasp_visual::AfterApply(), spell_alar_ashtongue_ruse_master::AfterApply(), spell_kaelthas_mind_control_aura::AfterApply(), spell_bem_vision_guide::AfterApply(), spell_zangarmarsh_stormcrow_amulet::AfterApply(), spell_dk_lichborne::AfterApply(), spell_item_thrallmar_and_honor_hold_favor::AfterApply(), spell_pri_dispersion::AfterApply(), spell_dru_nurturing_instinct::AfterApply(), spell_dru_savage_roar_aura::AfterApply(), spell_dru_survival_instincts_aura::AfterApply(), spell_the_lich_king_necrotic_plague_jump_aura::AfterDispel(), spell_sunken_temple_hex_of_jammalan::AfterRemove(), spell_brutallus_break_ice::AfterRemove(), spell_brewfest_botm_the_beast_within::AfterRemove(), spell_brewfest_botm_gassy::AfterRemove(), spell_brewfest_botm_bloated::AfterRemove(), spell_brewfest_botm_internal_combustion::AfterRemove(), spell_brewfest_botm_nauseous::AfterRemove(), spell_love_is_in_the_air_heavily_perfumed::AfterRemove(), spell_love_is_in_the_air_recently_analyzed::AfterRemove(), spell_archimonde_eternal_silence::AfterRemove(), spell_dustwallow_marsh_alcaz_survey_aura::AfterRemove(), spell_bronjahm_corrupt_soul::AfterRemove(), spell_eck_spit::AfterRemove(), spell_zuramat_void_shift::AfterRemove(), spell_borean_tundra_taxi_amber_ledge_to_beryl_point_platform::AfterRemove(), spell_borean_tundra_taxi_coldarra_ledge_to_transitus_shield::AfterRemove(), spell_borean_tundra_drake_hatchling_subdued::AfterRemove(), spell_grizzly_hills_rage_of_jinarrak::AfterRemove(), spell_fjord_the_cleansing_cleansing_soul::AfterRemove(), spell_fjord_taxi_to_explorers_league_outpost::AfterRemove(), spell_icecrown_through_the_eye_the_eye_of_the_lk::AfterRemove(), spell_kelidan_the_breaker_burning_nova::AfterRemove(), spell_dalliah_the_doomsayer_whirlwind::AfterRemove(), spell_astromancer_wrath_of_the_astromancer::AfterRemove(), spell_kaelthas_flame_strike::AfterRemove(), spell_hellfire_peninsula_demonaic_visitation::AfterRemove(), spell_zangarmarsh_whisper_aura::AfterRemove(), spell_gen_furious_rage::AfterRemove(), spell_item_darkmoon_card_illusion::AfterRemove(), spell_malacrass_lifebloom::AfterRemove(), spell_gen_lifebloom::AfterRemove(), spell_loatheb_deathbloom::AfterRemove(), spell_oculus_stop_time::Apply(), spell_sha_earthbind_totem::Apply(), spell_zuldrak_scourge_disguise::ApplyEffect(), spell_warl_health_funnel::ApplyEffect(), Player::ApplyEnchantment(), Player::ApplyEquipSpell(), Player::ApplyItemObtainSpells(), spell_rog_vanish::ApplyStealth(), Player::BuildPlayerRepop(), Player::CastItemCombatSpell(), npc_volatile_ooze::CastMainSpell(), npc_gas_cloud::CastMainSpell(), Pet::CastPetAura(), spell_summon_gauntlet_mobs_periodic::CastTheNextTwoSpells(), spell_the_lich_king_defile::ChangeDamageAndGrow(), Spell::CheckCast(), spell_igb_cannon_blast::CheckEnergy(), Spell::CheckItems(), spell_mage_combustion::CheckProc(), spell_the_lich_king_shadow_trap_periodic::CheckTargetCount(), spell_the_lich_king_vile_spirit_damage_target_search::CheckTargetCount(), spell_the_lich_king_ice_burst_target_search::CheckTargetCount(), Player::CheckTitanGripPenalty(), spell_yogg_saron_induce_madness::spell_yogg_saron_induce_madness_SpellScript::ClearShatteredIllusion(), spell_dk_raise_dead::ConsumeReagents(), player_overlord_brandAI::DamageDealt(), spell_igb_rocket_artillery_explosion::DamageGunship(), boss_the_lich_king::DamageTaken(), boss_lady_deathwhisper::DamageTaken(), npc_tiger_matriarch::DamageTaken(), npc_death_knight_initiate::npc_death_knight_initiateAI::DamageTaken(), npc_argent_valiant::DamageTaken(), boss_elder_stonebark::boss_elder_stonebarkAI::DamageTaken(), Unit::DealDamage(), Unit::DealMeleeDamage(), npc_halion_controller::DoAction(), boss_the_lich_king::DoAction(), npc_terenas_menethil::DoAction(), boss_palehoof::DoAction(), UnitAI::DoCast(), UnitAI::DoCast(), ScriptedAI::DoCastSpell(), InstanceScript::DoCastSpellOnPlayer(), Spell::TargetInfo::DoDamageAndTriggers(), boss_lady_deathwhisper::DoImproveCultist(), UnitAI::DoSpellAttackIfReady(), Spell::DoTriggersOnSpellHit(), Player::DuelComplete(), spell_yogg_saron_sanity::spell_yogg_saron_sanity_AuraScript::DummyTick(), spell_yogg_saron_brain_link::spell_yogg_saron_brain_link_AuraScript::DummyTick(), Spell::EffectApplyGlyph(), Spell::EffectCastButtons(), Spell::EffectDestroyAllTotems(), Spell::EffectFeedPet(), Spell::EffectForceCast(), Spell::EffectInebriate(), Spell::EffectSchoolDMG(), Spell::EffectScriptEffect(), Spell::EffectStuck(), Spell::EffectSummonRaFFriend(), Spell::EffectSummonType(), Spell::EffectTaunt(), Spell::EffectTriggerMissileSpell(), Spell::EffectTriggerRitualOfSummoning(), Spell::EffectTriggerSpell(), Spell::EffectWeaponDmg(), Arena::EndBattleground(), Unit::EnterVehicle(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), BattlegroundWS::EventPlayerDroppedFlag(), BattlegroundEY::EventPlayerDroppedFlag(), BattlegroundEY::EventTeamCapturedPoint(), TrashJumpEvent::Execute(), LightningFieldEvent::Execute(), ActivateLivingConstellation::Execute(), SummonUnleashedDarkMatter::Execute(), BattleExperienceEvent::Execute(), CreatureGameObjectScriptRegistrySwapHooks< ObjectType, ScriptType, Base >::AsyncCastHotswapEffectEvent::Execute(), OrcDeathEvent::Execute(), ArthasPortalEvent::Execute(), ScheduledIcicleSummons::Execute(), VortexEvent::Execute(), ResetEncounterEvent::Execute(), FrostBombExplosion::Execute(), VileSpiritActivateEvent::Execute(), TriggerWickedSpirit::Execute(), ValithriaDelayedCastEvent::Execute(), CosmicSmashDamageEvent::Execute(), RunicSmashExplosionEvent::Execute(), UlduarKeeperDespawnEvent::Execute(), OrbFinalPositionEvent::Execute(), SummonWarglaiveEvent::Execute(), EnslavedSoulEvent::Execute(), boss_twin_baseAI::ExecuteEvent(), boss_lethon::boss_lethonAI::ExecuteEvent(), spell_malygos_surge_of_power_warning_selector_25::ExecuteMainSpell(), spell_festergut_blighted_spores::ExtraEffect(), spell_ioc_seaforium_blast_credit::HandleAchievementCredit(), spell_zuljin_claw_rage::HandleAfterCast(), spell_brewfest_botm_jungle_madness::HandleAfterCast(), spell_brewfest_botm_pink_elekk::HandleAfterCast(), spell_brewfest_botm_weak_alcohol::HandleAfterCast(), spell_fankriss_entangle::HandleAfterCast(), spell_drakos_magic_pull::HandleAfterCast(), spell_fjord_braves_flare::HandleAfterCast(), spell_fjord_sergeants_flare::HandleAfterCast(), spell_icecrown_argent_cannon_assault::HandleAfterCast(), spell_gruul_ground_slam::HandleAfterCast(), spell_capacitus_polarity_charge_damage::HandleAfterCast(), spell_gen_lifeblood::HandleAfterCast(), spell_pri_holy_nova::HandleAfterCast(), spell_infected_worgen_bite::HandleAfterEffectApply(), spell_karazhan_charge::HandleAfterHit(), spell_felmyst_encapsulate::HandleAfterHit(), spell_akilzon_electrical_storm::HandleAfterHit(), spell_ayamiss_paralyze::HandleAfterHit(), spell_exarch_maladaar_stolen_soul::HandleAfterHit(), spell_dk_blood_boil::HandleAfterHit(), spell_dk_scourge_strike::HandleAfterHit(), spell_rog_deadly_poison::HandleAfterHit(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), spell_hallow_end_candy_pirate::HandleApply(), spell_deathwhisper_dominated_mind::HandleApply(), spell_icecrown_burst_at_the_seams_59579::HandleApply(), spell_dru_enrage::HandleApply(), spell_rog_killing_spree::spell_rog_killing_spree_AuraScript::HandleApply(), spell_warr_vigilance::HandleApply(), spell_pal_avenging_wrath::HandleApply(), spell_pal_seal_of_vengeance< DoTSpellId, DamageSpellId >::spell_pal_seal_of_vengeance_AuraScript< DoTSpell, DamageSpell >::HandleApplyDoT(), spell_pri_renew::HandleApplyEffect(), BattlegroundIC::HandleAreaTrigger(), OutdoorPvPSI::HandleAreaTrigger(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraLinked(), AuraEffect::HandleAuraModShapeshift(), Aura::HandleAuraSpecificMods(), misc_commandscript::HandleBindSightCommand(), spell_illidan_flame_blast::HandleBlaze(), spell_sha_maelstrom_weapon::HandleBonus(), spell_thaddius_magnetic_pull::HandleCast(), spell_fathomlord_karathress_the_beast_within::HandleCast(), spell_rotface_unstable_ooze_explosion_init::HandleCast(), spell_shadow_portal::HandleCast(), cast_commandscript::HandleCastBackCommand(), cast_commandscript::HandleCastCommand(), cast_commandscript::HandleCastDestCommand(), cast_commandscript::HandleCastDistCommand(), cast_commandscript::HandleCastSelfCommand(), cast_commandscript::HandleCastTargetCommad(), AuraEffect::HandleChannelDeathItem(), spell_thorim_lightning_charge::spell_thorim_lightning_charge_SpellScript::HandleCharge(), spell_gen_mounted_charge::HandleChargeEffect(), spell_mage_imp_blizzard::HandleChill(), spell_gen_choking_vines::HandleChoke(), spell_dk_corpse_explosion::HandleCorpseExplosion(), OutdoorPvPSI::HandleCustomSpell(), spell_pri_shadow_word_death::HandleDamage(), spell_dk_corpse_explosion::HandleDamage(), spell_terokkar_fumping_the_big_bone_worm::HandleDespawn(), WorldSession::HandleDuelCancelled(), spell_jormungars_paralytic_toxin::HandleDummy(), spell_player_mount_wyrm::HandleDummy(), spell_sha_totemic_mastery::HandleDummy(), spell_brewfest_relay_race_turn_in::HandleDummy(), spell_ooze_zap::HandleDummy(), spell_saviana_conflagration_init::HandleDummy(), spell_igb_burning_pitch_selector::HandleDummy(), spell_igb_burning_pitch::HandleDummy(), spell_rotface_vile_gas_trigger::HandleDummy(), spell_warl_life_tap::HandleDummy(), spell_send_mug_target_picker::HandleDummy(), spell_magmadar_lava_bomb::HandleDummy(), spell_ragnaros_lava_burst::HandleDummy(), spell_ragnaros_summon_sons_of_flame::HandleDummy(), spell_chapter1_siphon_of_acherus::HandleDummy(), spell_kalecgos_tap_check::HandleDummy(), spell_kalecgos_spectral_blast::HandleDummy(), spell_kalecgos_spectral_realm_trigger::HandleDummy(), spell_sunwell_plateau_cataclysm_breath::HandleDummy(), spell_eastern_plaguelands_test_fetid_skull::HandleDummy(), spell_janalai_summon_all_players::HandleDummy(), spell_nalorakk_surge::HandleDummy(), spell_zulgurub_axe_flurry::HandleDummy(), spell_brewfest_mount_transformation::HandleDummy(), spell_brewfest_botm_empty_bottle_throw_resolve::HandleDummy(), spell_hallow_end_candy::HandleDummy(), spell_midsummer_juggle_torch::HandleDummy(), spell_midsummer_torch_catch::HandleDummy(), spell_midsummer_fling_torch::HandleDummy(), spell_midsummer_cleansing_flames::HandleDummy(), spell_pilgrims_bounty_feast_on::HandleDummy(), spell_pilgrims_bounty_on_plate::HandleDummy(), spell_winter_veil_reindeer_transformation::HandleDummy(), spell_voljin_war_drums::HandleDummy(), spell_archimonde_drain_world_tree_dummy::HandleDummy(), spell_buru_egg_explosion::HandleDummy(), spell_azuremyst_isle_cast_fishing_net::HandleDummy(), spell_free_webbed::HandleDummy(), spell_free_webbed_on_quest::HandleDummy(), spell_voodoo::HandleDummy(), spell_dustwallow_marsh_salvage_wreckage::HandleDummy(), spell_gordunni_trap::HandleDummy(), spell_ahn_kahet_swarm::HandleDummy(), spell_ruby_sanctum_rallying_shout::HandleDummy(), spell_deathbringer_blood_link::HandleDummy(), spell_putricide_ooze_eruption_searcher::HandleDummy(), spell_drakos_magic_pull::HandleDummy(), spell_hodir_icicle::HandleDummy(), spell_hodir_storm_cloud_primer::HandleDummy(), spell_hodir_melt_ice::HandleDummy(), spell_mimiron_proximity_trigger::spell_mimiron_proximity_trigger_SpellScript::HandleDummy(), spell_mimiron_rocket_strike::spell_mimiron_rocket_strike_SpellScript::HandleDummy(), spell_mimiron_summon_assault_bot_target::spell_mimiron_summon_assault_bot_target_SpellScript::HandleDummy(), spell_mimiron_summon_fire_bot_target::spell_mimiron_summon_fire_bot_target_SpellScript::HandleDummy(), spell_mimiron_summon_junk_bot_target::spell_mimiron_summon_junk_bot_target_SpellScript::HandleDummy(), spell_yogg_saron_boil_ominously::spell_yogg_saron_boil_ominously_SpellScript::HandleDummy(), spell_borean_tundra_nerubar_web_random_unit_not_on_quest_dummy::HandleDummy(), spell_borean_tundra_nerubar_web_random_unit_on_quest_dummy::HandleDummy(), spell_borean_tundra_arcane_prisoner_rescue::HandleDummy(), spell_borean_tundra_signal_alliance::HandleDummy(), spell_borean_tundra_ultrasonic_screwdriver::HandleDummy(), spell_borean_tundra_re_cursive_transmatter_injection::HandleDummy(), spell_vehicle_warhead_fuse::HandleDummy(), spell_warhead_detonate::HandleDummy(), spell_grizzly_hills_escape_from_silverbrook::HandleDummy(), spell_fjord_rivenwood_captives_not_on_quest::HandleDummy(), spell_fjord_rivenwood_captives_on_quest::HandleDummy(), spell_fjord_the_way_to_his_heart_anuniaq_net::HandleDummy(), spell_fjord_scourging_crystal_controller::HandleDummy(), spell_icecrown_plant_battle_standard::HandleDummy(), spell_icecrown_grab_fake_soldier::HandleDummy(), spell_icecrown_cannons_target::HandleDummy(), spell_sholazar_shoot_rjr::HandleDummy(), spell_sholazar_take_sputum_sample::HandleDummy(), spell_sholazar_despawn_fruit_tosser::HandleDummy(), spell_fatal_strike::HandleDummy(), spell_zuldrak_cocooned_not_on_quest::HandleDummy(), spell_zuldrak_cocooned_on_quest::HandleDummy(), spell_talon_king_ikiss_blink::HandleDummy(), spell_mother_shahraz_fatal_attraction_link::HandleDummy(), spell_leotheras_the_blind_chaos_blast::HandleDummy(), spell_morogrim_tidewalker_watery_grave::HandleDummy(), spell_morogrim_tidewalker_summon_water_globules::HandleDummy(), spell_ahune_ice_spear_target_picker::HandleDummy(), spell_ahune_ice_bombardment_dest_picker::HandleDummy(), spell_gruul_hurtful_strike_primer::HandleDummy(), spell_omor_the_unscarred_orbital_strike_target::HandleDummy(), spell_kargath_blade_dance_targeting::HandleDummy(), spell_arcatraz_chaos_breath::HandleDummy(), spell_commander_sarannis_summon_reinforcements::HandleDummy(), spell_capacitus_polarity_shift::HandleDummy(), spell_bem_kfc_the_bolt::HandleDummy(), spell_bem_summon_spirit::HandleDummy(), spell_hellfire_peninsula_purify_helboar_meat::HandleDummy(), spell_netherstorm_socrethars_stone::HandleDummy(), spell_terokkar_free_webbed::HandleDummy(), spell_terokkar_free_webbed_on_quest::HandleDummy(), spell_terokkar_fumping::HandleDummy(), spell_dk_death_coil::HandleDummy(), spell_dk_death_strike::HandleDummy(), spell_dk_hungering_cold_init::HandleDummy(), spell_dk_death_grip_initial::HandleDummy(), spell_dru_starfall_dummy::HandleDummy(), spell_gen_cannibalize::HandleDummy(), spell_gen_gadgetzan_transporter_backfire::HandleDummy(), spell_gen_gnomish_transporter::HandleDummy(), spell_hun_last_stand_pet::HandleDummy(), spell_hun_masters_call::HandleDummy(), spell_hun_pet_carrion_feeder::HandleDummy(), spell_item_trigger_spell::spell_item_trigger_spell_SpellScript::HandleDummy(), spell_item_deadly_precision_dummy::HandleDummy(), spell_item_goblin_bomb_dispenser::HandleDummy(), spell_item_deviate_fish::HandleDummy(), spell_item_flask_of_the_north::HandleDummy(), spell_item_gnomish_death_ray::HandleDummy(), spell_item_make_a_wish::HandleDummy(), spell_item_mingos_fortune_generator::HandleDummy(), spell_item_net_o_matic::HandleDummy(), spell_item_noggenfogger_elixir::HandleDummy(), spell_item_savory_deviate_delight::HandleDummy(), spell_item_six_demon_bag::HandleDummy(), spell_item_underbelly_elixir::HandleDummy(), spell_item_vanquished_clutches::HandleDummy(), spell_item_nigh_invulnerability::HandleDummy(), spell_item_poultryizer::HandleDummy(), spell_item_demon_broiled_surprise::HandleDummy(), spell_item_complete_raptor_capture::HandleDummy(), spell_item_lifegiving_gem::HandleDummy(), spell_item_nitro_boosts::HandleDummy(), spell_item_rocket_boots::HandleDummy(), spell_item_pygmy_oil::HandleDummy(), spell_item_chicken_cover::HandleDummy(), spell_item_greatmothers_soulcatcher::HandleDummy(), spell_item_taunt_flag_targeting::HandleDummy(), spell_item_mind_control_cap::HandleDummy(), spell_item_universal_remote::HandleDummy(), spell_mage_summon_water_elemental::HandleDummy(), spell_pal_blessing_of_faith::HandleDummy(), spell_pal_divine_storm_dummy::HandleDummy(), spell_pal_holy_shock::HandleDummy(), spell_pal_judgement_of_command::HandleDummy(), spell_pal_righteous_defense::HandleDummy(), spell_pri_penance::HandleDummy(), spell_rog_cheat_death_cooldown::HandleDummy(), spell_rog_shiv::HandleDummy(), spell_rog_hunger_for_blood::HandleDummy(), spell_sha_ancestral_awakening_proc::HandleDummy(), spell_sha_cleansing_totem_pulse::HandleDummy(), spell_sha_fire_nova::HandleDummy(), spell_sha_healing_stream_totem::HandleDummy(), spell_warl_ritual_of_doom_effect::HandleDummy(), spell_warl_soulshatter::HandleDummy(), spell_warr_bloodthirst::HandleDummy(), spell_warr_charge::HandleDummy(), spell_warr_deep_wounds::HandleDummy(), spell_warr_last_stand::HandleDummy(), spell_warr_slam::HandleDummy(), spell_warr_warriors_wrath::HandleDummy(), spell_volkhan_temper_dummy::HandleDummyEffect(), spell_auriaya_agro_creator::HandleDummyEffect(), spell_stratholme_haunting_phantoms::HandleDummyTick(), spell_zuldrak_scourge_disguise_instability::HandleDummyTick(), spell_warl_demonic_circle_summon::HandleDummyTick(), spell_garr_separation_anxiety::HandleDummyTick(), spell_majordomo_separation_anxiety::HandleDummyTick(), spell_shadowfang_keep_haunting_spirits::spell_shadowfang_keep_haunting_spirits_AuraScript::HandleDummyTick(), spell_blood_council_shadow_prison::HandleDummyTick(), spell_mimiron_rapid_burst::spell_mimiron_rapid_burst_AuraScript::HandleDummyTick(), spell_dk_death_and_decay::HandleDummyTick(), spell_akilzon_electrical_overload::HandleEffect(), spell_mark_of_frost::HandleEffect(), spell_mark_of_nature::spell_mark_of_nature_SpellScript::HandleEffect(), spell_skeram_true_fulfillment::spell_skeram_true_fulfillment_SpellScript::HandleEffect(), spell_murmur_sonic_boom::HandleEffect(), spell_leotheras_the_blind_insidious_whisper::HandleEffect(), spell_warr_execute::HandleEffect(), spell_midsummer_braziers_hit::HandleEffectApply(), spell_algalon_black_hole_phase_shifts::HandleEffectApply(), spell_storm_peaks_flaming_arrow_triggered_effect::HandleEffectApply(), spell_pal_aura_mastery::HandleEffectApply(), spell_pal_improved_aura::HandleEffectApply(), spell_dk_improved_blood_presence::HandleEffectApply(), spell_dk_improved_frost_presence::HandleEffectApply(), spell_dk_improved_unholy_presence::HandleEffectApply(), spell_gen_whisper_gulch_yogg_saron_whisper::HandleEffectPeriodic(), spell_rog_killing_spree::spell_rog_killing_spree_AuraScript::HandleEffectPeriodic(), spell_sha_earthbind_totem::HandleEffectPeriodic(), spell_muru_darkness::HandleEffectPeriodic(), spell_anubarak_leeching_swarm::HandleEffectPeriodic(), spell_rog_prey_on_the_weak::HandleEffectPeriodic(), spell_warr_retaliation::HandleEffectProc(), spell_illidan_parasitic_shadowfiend::HandleEffectRemove(), spell_rotface_mutated_infection_aura::HandleEffectRemove(), spell_brewfest_relay_race_intro_force_player_to_throw::HandleForceCast(), spell_dreamwalker_summoner::HandleForceCast(), spell_dreamwalker_summon_suppresser_effect::HandleForceCast(), spell_kologarn_summon_focused_eyebeam::spell_kologarn_summon_focused_eyebeam_SpellScript::HandleForceCast(), spell_deathbringer_blood_nova_targeting::HandleForceCast(), spell_mimiron_rocket_strike_damage::spell_mimiron_rocket_strike_damage_SpellScript::HandleFriendlyFire(), spell_razorscale_fuse_armor::HandleFused(), OPvPCapturePointZM_Graveyard::HandleGossipOption(), spell_dk_presence::HandleImprovedBloodPresence(), spell_dk_presence::HandleImprovedFrostPresence(), spell_dk_presence::HandleImprovedUnholyPresence(), spell_sindragosa_frost_breath::HandleInfusion(), spell_frost_giant_death_plague::HandleKill(), OutdoorPvPHP::HandleKillImpl(), OutdoorPvPNA::HandleKillImpl(), OutdoorPvPZM::HandleKillImpl(), BattlegroundIC::HandleKillUnit(), learn_commandscript::HandleLearnMySpellsCommand(), spell_darkfallen_blood_mirror::HandleMirror(), WorldSession::HandleMoveSplineDoneOpcode(), WorldSession::HandleMoveTeleportAck(), WorldSession::HandleMoveWorldportAck(), spell_auriaya_feral_rush::HandleOnHit(), spell_salramm_steal_flesh::HandlePeriodic(), spell_anubarak_carrion_beetles::HandlePeriodic(), spell_hadronox_periodic_summon_template_AuraScript::HandlePeriodic(), spell_hor_gunship_cannon_fire::spell_hor_gunship_cannon_fire_AuraScript::HandlePeriodic(), spell_moorabi_mojo_frenzy::HandlePeriodic(), spell_bjarngrim_arc_weld::HandlePeriodic(), spell_algalon_phase_punch::HandlePeriodic(), spell_close_rift::HandlePeriodic(), spell_kaelthas_remote_toy::HandlePeriodic(), spell_ahnkahet_shadow_sickle::HandlePeriodic(), spell_oculus_ride_ruby_emerald_amber_drake_que::HandlePeriodic(), spell_algalon_phase_constellation::HandlePeriodic(), spell_assembly_rune_of_summoning::spell_assembly_rune_of_summoning_AuraScript::HandlePeriodic(), spell_hun_rapid_recuperation::HandlePeriodic(), spell_hun_sniper_training::HandlePeriodic(), spell_item_dementia::HandlePeriodicDummy(), spell_item_nitro_boosts_backfire::HandlePeriodicDummy(), spell_volkhan_cool_down::HandlePeriodicDummyEffect(), AuraEffect::HandlePeriodicManaLeechAuraTick(), spell_krick_explosive_barrage::HandlePeriodicTick(), spell_bronjahm_soulstorm_visual::HandlePeriodicTick(), spell_igb_periodic_trigger_with_power_cost::HandlePeriodicTick(), spell_pilgrims_bounty_a_serving_of::HandlePlate(), OutdoorPvPEP::HandlePlayerEnterZone(), OutdoorPvPHP::HandlePlayerEnterZone(), OutdoorPvPNA::HandlePlayerEnterZone(), OutdoorPvPSI::HandlePlayerEnterZone(), OutdoorPvPTF::HandlePlayerEnterZone(), OutdoorPvPZM::HandlePlayerEnterZone(), WorldSession::HandlePlayerLogin(), BattlegroundIC::HandlePlayerResurrect(), misc_commandscript::HandlePossessCommand(), spell_blood_queen_vampiric_bite::HandlePresence(), spell_pet_gen_lich_pet_aura::HandleProc(), spell_item_fate_rune_of_unsurpassed_vigor::HandleProc(), spell_eredar_twins_dark_flame_aura_shadow::HandleProc(), spell_eredar_twins_dark_flame_aura_fire::HandleProc(), spell_devourer_of_souls_mirrored_soul_proc::HandleProc(), spell_ahune_spanky_hands::HandleProc(), spell_dk_dancing_rune_weapon::HandleProc(), spell_utgarde_pinnacle_beast_mark::HandleProc(), spell_mark_of_malice::HandleProc(), spell_dk_scent_of_blood::HandleProc(), spell_dru_living_seed_proc::HandleProc(), spell_dru_omen_of_clarity::HandleProc(), spell_hun_ascpect_of_the_viper::HandleProc(), spell_hun_cobra_strikes::HandleProc(), spell_hun_improved_mend_pet::HandleProc(), spell_hun_misdirection::HandleProc(), spell_item_aegis_of_preservation::HandleProc(), spell_item_desperate_defense::HandleProc(), spell_mage_empowered_fire::HandleProc(), spell_mage_focus_magic::HandleProc(), spell_pal_blessing_of_sanctuary::HandleProc(), spell_pal_item_healing_discount::HandleProc(), spell_pri_mana_leech::HandleProc(), spell_pri_t5_heal_2p_bonus::HandleProc(), spell_rog_tricks_of_the_trade_aura::HandleProc(), spell_rog_honor_among_thieves::HandleProc(), spell_rog_turn_the_tables::HandleProc(), spell_sha_earth_shield::HandleProc(), spell_sha_shamanistic_rage::HandleProc(), spell_warr_extra_proc::HandleProc(), spell_warr_vigilance::HandleProc(), spell_malacrass_mark_of_blood::HandleProc(), spell_anetheron_vampiric_aura::HandleProc(), spell_deathbringer_blood_beast_blood_link::HandleProc(), spell_deathwhisper_vampiric_might::HandleProc(), spell_putricide_ooze_tank_protection::HandleProc(), spell_the_lich_king_dark_hunger::HandleProc(), spell_yogg_saron_grim_reprisal::spell_yogg_saron_grim_reprisal_AuraScript::HandleProc(), spell_ingvar_woe_strike::HandleProc(), spell_uk_second_wind::HandleProc(), spell_doom_lord_kazzak_twisted_reflection::HandleProc(), spell_pet_guard_dog::HandleProc(), spell_pet_silverback::HandleProc(), spell_dk_blood_gorged::HandleProc(), spell_dk_butchery::HandleProc(), spell_dk_glyph_of_scourge_strike::HandleProc(), spell_dk_improved_blood_presence_triggered::HandleProc(), spell_dk_pvp_4p_bonus::HandleProc(), spell_dk_mark_of_blood::HandleProc(), spell_dk_necrosis::HandleProc(), spell_dk_sudden_doom::HandleProc(), spell_dk_threat_of_thassarian::HandleProc(), spell_dk_unholy_blight::HandleProc(), spell_dk_vendetta::HandleProc(), spell_dk_wandering_plague::HandleProc(), spell_dru_forms_trinket::HandleProc(), spell_dru_glyph_of_barkskin::HandleProc(), spell_dru_glyph_of_innervate::HandleProc(), spell_dru_glyph_of_rake::HandleProc(), spell_dru_glyph_of_rejuvenation::HandleProc(), spell_dru_glyph_of_starfire_dummy::HandleProc(), spell_dru_leader_of_the_pack::HandleProc(), spell_dru_living_seed::HandleProc(), spell_dru_revitalize::HandleProc(), spell_dru_savage_defense::HandleProc(), spell_dru_t3_2p_bonus::HandleProc(), spell_dru_t3_6p_bonus::HandleProc(), spell_dru_t3_8p_bonus::HandleProc(), spell_dru_t4_2p_bonus::HandleProc(), spell_dru_item_t6_trinket::HandleProc(), spell_dru_t9_feral_relic::HandleProc(), spell_dru_t10_balance_4p_bonus::HandleProc(), spell_dru_t10_restoration_4p_bonus_dummy::HandleProc(), spell_gen_adaptive_warding::HandleProc(), spell_gen_blood_reserve::HandleProc(), spell_gen_blade_warding::HandleProc(), spell_gen_moss_covered_feet::HandleProc(), spell_gen_vampiric_touch::HandleProc(), spell_hun_glyph_of_arcane_shot::HandleProc(), spell_hun_glyph_of_mend_pet::HandleProc(), spell_hun_hunting_party::HandleProc(), spell_hun_piercing_shots::HandleProc(), spell_hun_roar_of_sacrifice::HandleProc(), spell_hun_thrill_of_the_hunt::HandleProc(), spell_hun_t9_4p_bonus::HandleProc(), spell_item_alchemists_stone::HandleProc(), spell_item_anger_capacitor< StackAmount >::spell_item_anger_capacitor_AuraScript< Stacks >::HandleProc(), spell_item_aura_of_madness::HandleProc(), spell_item_blessing_of_ancient_kings::HandleProc(), spell_item_deathbringers_will< StrengthSpellId, AgilitySpellId, APSpellId, CriticalSpellId, HasteSpellId >::spell_item_deathbringers_will_AuraScript< Strength, Agility, AttackPower, Critical, Haste >::HandleProc(), spell_item_discerning_eye_beast_dummy::HandleProc(), spell_item_frozen_shadoweave::HandleProc(), spell_item_healing_touch_refund::HandleProc(), spell_item_heartpierce< EnergySpellId, ManaSpellId, RageSpellId, RPSpellId >::spell_item_heartpierce_AuraScript< Energy, Mana, Rage, RunicPower >::HandleProc(), spell_item_mark_of_conquest::HandleProc(), spell_item_necrotic_touch::HandleProc(), spell_item_persistent_shield::HandleProc(), spell_item_pet_healing::HandleProc(), spell_item_shadowmourne::HandleProc(), spell_item_swift_hand_justice_dummy::HandleProc(), spell_item_totem_of_flowing_water::HandleProc(), spell_item_shard_of_the_scale< HealProcSpellId, DamageProcSpellId >::spell_item_shard_of_the_scale_AuraScript< HealProc, DamageProc >::HandleProc(), spell_item_soul_preserver::HandleProc(), spell_item_sunwell_neck< AldorSpellId, ScryersSpellId >::spell_item_sunwell_neck_AuraScript< Aldors, Scryers >::HandleProc(), spell_item_death_choice::HandleProc(), spell_item_trinket_stack::spell_item_trinket_stack_AuraScript::HandleProc(), spell_item_darkmoon_card_greatness::HandleProc(), spell_item_charm_witch_doctor::HandleProc(), spell_item_mana_drain::HandleProc(), spell_mage_arcane_potency::HandleProc(), spell_mage_burnout::HandleProc(), spell_mage_imp_mana_gems::HandleProc(), spell_mage_hot_streak::HandleProc(), spell_mage_ignite::HandleProc(), spell_mage_magic_absorption::HandleProc(), spell_mage_mana_shield::HandleProc(), spell_mage_master_of_elements::HandleProc(), spell_pal_glyph_of_holy_light_dummy::HandleProc(), spell_pal_heart_of_the_crusader::HandleProc(), spell_pal_illumination::HandleProc(), spell_pal_improved_lay_of_hands::HandleProc(), spell_pal_infusion_of_light::HandleProc(), spell_pal_item_t6_trinket::HandleProc(), spell_pal_judgement_of_light_heal::HandleProc(), spell_pal_judgement_of_wisdom_mana::HandleProc(), spell_pal_judgements_of_the_wise::HandleProc(), spell_pal_light_s_beacon::HandleProc(), spell_pal_righteous_vengeance::HandleProc(), spell_pal_sacred_shield_dummy::HandleProc(), spell_pal_seal_of_righteousness::HandleProc(), spell_pal_spiritual_attunement::HandleProc(), spell_pal_sheath_of_light::HandleProc(), spell_pal_t3_6p_bonus::HandleProc(), spell_pal_t8_2p_bonus::HandleProc(), spell_pri_aq_3p_bonus::HandleProc(), spell_pri_blessed_recovery::HandleProc(), spell_pri_divine_aegis::HandleProc(), spell_pri_glyph_of_dispel_magic::HandleProc(), spell_pri_glyph_of_prayer_of_healing::HandleProc(), spell_pri_item_t6_trinket::HandleProc(), spell_pri_shadowfiend_death::HandleProc(), spell_pri_vampiric_embrace::HandleProc(), spell_pri_vampiric_touch::HandleProc(), spell_pri_t3_4p_bonus::HandleProc(), spell_pri_t10_heal_2p_bonus::HandleProc(), spell_rog_blade_flurry::HandleProc(), spell_rog_deadly_brew::HandleProc(), spell_rog_quick_recovery::HandleProc(), spell_rog_glyph_of_backstab::HandleProc(), spell_sha_ancestral_awakening::HandleProc(), spell_sha_flametongue_weapon::HandleProc(), spell_sha_frozen_power::HandleProc(), spell_sha_glyph_of_healing_wave::HandleProc(), spell_sha_glyph_of_totem_of_wrath::HandleProc(), spell_sha_imp_water_shield::HandleProc(), spell_sha_lightning_overload::HandleProc(), spell_sha_item_lightning_shield::HandleProc(), spell_sha_item_lightning_shield_trigger::HandleProc(), spell_sha_item_mana_surge::HandleProc(), spell_sha_item_t6_trinket::HandleProc(), spell_sha_lightning_shield::HandleProc(), spell_sha_nature_guardian::HandleProc(), spell_sha_spirit_hunt::HandleProc(), spell_sha_static_shock::HandleProc(), spell_sha_t3_6p_bonus::HandleProc(), spell_sha_t8_elemental_4p_bonus::HandleProc(), spell_sha_t9_elemental_4p_bonus::HandleProc(), spell_sha_t10_restoration_4p_bonus::HandleProc(), spell_sha_windfury_weapon::HandleProc(), spell_warl_drain_soul::HandleProc(), spell_warl_glyph_of_corruption_nightfall::HandleProc(), spell_warl_glyph_of_life_tap::HandleProc(), spell_warl_glyph_of_shadowflame::HandleProc(), spell_warl_seed_of_corruption_dummy::HandleProc(), spell_warl_seed_of_corruption_generic::HandleProc(), spell_warl_soul_leech::HandleProc(), spell_warl_t4_2p_bonus< TriggerSpellId >::HandleProc(), spell_warr_glyph_of_blocking::HandleProc(), spell_warr_improved_spell_reflection::HandleProc(), spell_warr_second_wind::HandleProc(), spell_warr_sweeping_strikes::HandleProc(), spell_item_harm_prevention_belt::HandleProc(), spell_putricide_gaseous_bloat::HandleProc(), spell_hun_lock_and_load::HandleProc(), spell_mage_gen_extra_effects::HandleProc(), spell_warr_item_t10_prot_4p_bonus::HandleProc(), spell_item_shadows_fate::HandleProc(), spell_pri_body_and_soul::HandleProcDummy(), AuraEffect::HandleProcTriggerSpellAuraProc(), AuraEffect::HandleProcTriggerSpellWithValueAuraProc(), WorldSession::HandleQuestConfirmAccept(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), AuraEffect::HandleRaidProcFromChargeAuraProc(), AuraEffect::HandleRaidProcFromChargeWithValueAuraProc(), spell_dk_raise_dead::HandleRaiseDead(), spell_hun_rapid_recuperation_trigger::HandleRapidKillingProc(), spell_hor_quel_delars_will::HandleReagent(), spell_icecrown_burst_at_the_seams_59579::HandleRemove(), spell_igb_rocket_pack::HandleRemove(), spell_grobbulus_mutating_injection::HandleRemove(), spell_warl_haunt_aura::HandleRemove(), spell_festergut_blighted_spores::HandleResidue(), spell_rotface_slime_spray::HandleResidue(), spell_gen_bandage::HandleScript(), spell_pvp_trinket_wotf_shared_cd< TriggeredSpellId >::HandleScript(), spell_pal_lay_on_hands::HandleScript(), spell_kelthuzad_detonate_mana::HandleScript(), spell_pilgrims_bounty_well_fed::HandleScript(), spell_energize_aoe::HandleScript(), spell_halion_blazing_aura::HandleScript(), spell_saviana_conflagration_throwback::HandleScript(), spell_bronjahm_consume_soul::HandleScript(), spell_taldaram_glittering_sparks::HandleScript(), spell_taldaram_summon_flame_ball::HandleScript(), spell_blood_queen_bloodbolt::HandleScript(), spell_deathbringer_rune_of_blood::HandleScript(), spell_deathbringer_blood_nova::HandleScript(), spell_igb_rocket_artillery::HandleScript(), spell_putricide_unstable_experiment::HandleScript(), spell_sindragosa_icy_grip::HandleScript(), spell_the_lich_king_raging_spirit::HandleScript(), spell_the_lich_king_valkyr_target_search::HandleScript(), spell_the_lich_king_summon_spirit_bomb::HandleScript(), spell_the_lich_king_jump::HandleScript(), spell_dreamwalker_summon_dream_portal::HandleScript(), spell_dreamwalker_summon_nightmare_portal::HandleScript(), spell_dreamwalker_twisted_nightmares::HandleScript(), spell_frost_giant_death_plague::HandleScript(), spell_wintergrasp_force_building::HandleScript(), spell_gen_create_lance::HandleScript(), spell_item_defibrillate::spell_item_defibrillate_SpellScript::HandleScript(), spell_item_scroll_of_recall::HandleScript(), spell_item_red_rider_air_rifle::HandleScript(), spell_shazzrah_gate_dummy::HandleScript(), spell_eastern_kingdoms_duskwither_spire_up::HandleScript(), spell_eastern_kingdoms_duskwither_spire_down::HandleScript(), spell_eastern_kingdoms_silvermoon_to_undercity::HandleScript(), spell_eastern_kingdoms_undercity_to_silvermoon::HandleScript(), spell_eastern_kingdoms_dawnblade_attack::HandleScript(), spell_opera_little_red_riding_hood::HandleScript(), spell_chapter1_sky_darkener_assault::HandleScript(), spell_chapter1_emblazon_runeblade_effect::HandleScript(), spell_kormok_summon_bone_mages::HandleScript(), spell_kormok_summon_bone_minions::HandleScript(), spell_apothecary_lingering_fumes::HandleScript(), spell_apothecary_validate_area::HandleScript(), spell_apothecary_throw_cologne::HandleScript(), spell_apothecary_throw_perfume::HandleScript(), spell_brutallus_burn_primer::HandleScript(), spell_brutallus_burn_ally::HandleScript(), spell_brutallus_freeze::HandleScript(), spell_eredar_twins_blaze::HandleScript(), spell_muru_summon_blood_elves_script::HandleScript(), spell_muru_negative_energy::HandleScript(), spell_blasted_lands_teleport_to_razelikh_group::HandleScript(), spell_undercity_bending_shinbone::HandleScript(), spell_akilzon_eagle_swoop_primer::HandleScript(), spell_akilzon_electrical_overload_primer::HandleScript(), spell_akilzon_electrical_overload::HandleScript(), spell_zuljin_zap::HandleScript(), spell_zulgurub_poisonous_blood::HandleScript(), spell_brewfest_mole_machine_portal_schedule::HandleScript(), spell_hallow_end_trick_initial::HandleScript(), spell_hallow_end_trick::HandleScript(), spell_hallow_end_trick_or_treat::HandleScript(), spell_hallow_end_tricky_treat::HandleScript(), spell_hallow_end_create_water_bucket::HandleScript(), spell_love_is_in_the_air_create_heart_candy::HandleScript(), spell_lunar_festival_elune_candle::HandleScript(), spell_lunar_festival_elunes_blessing::HandleScript(), spell_midsummer_torch_target_picker::HandleScript(), spell_midsummer_torch_toss_land::HandleScript(), spell_midsummer_stamp_out_bonfire_event::HandleScript(), spell_pilgrims_bounty_turkey_tracker::HandleScript(), spell_winter_veil_mistletoe::HandleScript(), spell_winter_veil_px_238_winter_wondervolt::HandleScript(), spell_cos_teleport_to_cot_stratholme_phase_4::HandleScript(), spell_black_morass_banish_dragon_helper::HandleScript(), spell_ayamiss_swarmer_start_loop::HandleScript(), spell_ayamiss_swarmer_teleport_trigger::HandleScript(), spell_kurinnaxx_sand_trap::HandleScript(), spell_moam_summon_mana_fiends::HandleScript(), spell_moam_drain_mana::HandleScript(), spell_moam_drain_mana_effect::HandleScript(), spell_temple_of_ahnqiraj_teleport_to_twin_emperors::HandleScript(), spell_temple_of_ahnqiraj_teleport_to_final_chamber::HandleScript(), spell_prince_taldaram_conjure_flame_sphere::HandleScript(), spell_halion_spawn_living_embers::HandleScript(), spell_paletress_summon_memory::spell_paletress_summon_memory_SpellScript::HandleScript(), spell_black_knight_ghoul_explode::HandleScript(), spell_black_knight_ghoul_explode_risen_ghoul::HandleScript(), spell_mistress_kiss_area::HandleScript(), spell_fel_streak_visual::HandleScript(), spell_jormungars_snakes_spray::HandleScript(), spell_novos_summon_minions::HandleScript(), spell_summon_random_drakkari::HandleScript(), spell_devourer_of_souls_mirrored_soul_target_selector::HandleScript(), spell_festergut_gastric_bloat::HandleScript(), spell_putricide_choking_gas_bomb::HandleScript(), spell_putricide_unbound_plague::HandleScript(), spell_rotface_ooze_flood::HandleScript(), spell_rotface_little_ooze_combine::HandleScript(), spell_rotface_large_ooze_combine::HandleScript(), spell_rotface_large_ooze_buff_combine::HandleScript(), spell_the_lich_king_cast_back_to_caster::HandleScript(), spell_alexstrasza_bunny_destroy_platform_event::HandleScript(), spell_magus_telestra_summon_clones::HandleScript(), spell_ormorok_summon_crystal_spikes::HandleScript(), spell_ulduar_rubble_summon::spell_ulduar_rubble_summonSpellScript::HandleScript(), spell_mimiron_fire_search::spell_mimiron_fire_search_SpellScript::HandleScript(), spell_mimiron_napalm_shell::spell_mimiron_napalm_shell_SpellScript::HandleScript(), spell_mimiron_proximity_mines::spell_mimiron_proximity_mines_SpellScript::HandleScript(), spell_mimiron_rocket_strike_target_select::spell_mimiron_rocket_strike_target_select_SpellScript::HandleScript(), spell_mimiron_summon_frost_bomb_target::spell_mimiron_summon_frost_bomb_target_SpellScript::HandleScript(), spell_xt002_heart_overload_periodic::HandleScript(), spell_yogg_saron_target_selectors::spell_yogg_saron_target_selectors_SpellScript::HandleScript(), spell_yogg_saron_insane_periodic::spell_yogg_saron_insane_periodic_SpellScript::HandleScript(), spell_palehoof_awaken_subboss::HandleScript(), spell_freezing_cloud_area_right::HandleScript(), spell_freezing_cloud_area_left::HandleScript(), spell_skadi_poisoned_spear::HandleScript(), spell_archavon_rock_shards::HandleScript(), spell_cyanigosa_arcane_vacuum::HandleScript(), spell_xevozz_summon_players::HandleScript(), spell_borean_tundra_shortening_blaster::HandleScript(), spell_borean_tundra_magnataur_on_death_1::HandleScript(), spell_borean_tundra_nerubar_web_random_unit_not_on_quest::HandleScript(), spell_borean_tundra_deliver_kodo::HandleScript(), spell_borean_tundra_weakness_to_lightning_cast_on_master::HandleScript(), spell_borean_tundra_land_mine_barrier::HandleScript(), spell_borean_tundra_arcane_chains_character_force_cast::HandleScript(), spell_dalaran_teleport_to_dalaran::HandleScript(), spell_dalaran_teleport_to_lake_wintergrasp::HandleScript(), spell_dragonblight_defending_wyrmrest_temple_cast_from_gossip::HandleScript(), spell_dragonblight_moti_mirror_image_script_effect::HandleScript(), spell_dragonblight_bombard_the_ballistae_fx_master::HandleScript(), spell_dragonblight_surge_needle_teleporter::HandleScript(), spell_dragonblight_fill_blood_unholy_frost_gem::HandleScript(), spell_dragonblight_lich_king_zap_player::HandleScript(), spell_grizzly_hills_script_cast_summon_image_of_drakuru::HandleScript(), spell_fjord_guide_our_sights_fx_master::HandleScript(), spell_fjord_mindless_abomination_ping_master::HandleScript(), spell_fjord_mindless_abomination_explosion_fx_master::HandleScript(), spell_fjord_the_cleansing_shrine_cast::HandleScript(), spell_fjord_the_cleansing_mirror_image_script_effect::HandleScript(), spell_fjord_the_way_to_his_heart_reverse_cast::HandleScript(), spell_icecrown_chum_the_water::HandleScript(), spell_icecrown_summon_freed_crusader::HandleScript(), spell_icecrown_gift_of_the_lich_king::HandleScript(), spell_icecrown_consume_minions::HandleScript(), spell_icecrown_bested_trigger::HandleScript(), spell_icecrown_forcecast_bridenbrad_ascension::HandleScript(), spell_sholazar_freya_dummy::HandleScript(), spell_sholazar_deathbolt::HandleScript(), spell_sholazar_song_of_cleansing::HandleScript(), spell_sholazar_lightning_strike::HandleScript(), spell_sholazar_mount_mammoth_cue::HandleScript(), spell_low_health_trigger::HandleScript(), spell_storm_peaks_bear_flank_master::HandleScript(), spell_storm_peaks_mammoth_explosion_master::HandleScript(), spell_storm_peaks_call_of_earth::HandleScript(), spell_storm_peaks_contact_brann::HandleScript(), spell_zuldrak_scourgewagon_explosion::HandleScript(), spell_zuldrak_chains_of_the_scourge::HandleScript(), spell_zuldrak_rampage_summon_zulaman_gods_master::HandleScript(), spell_zuldrak_breaking_through_summon_zulaman_gods_master::HandleScript(), spell_zuldrak_summon_nass::HandleScript(), spell_zuldrak_gymers_grab::HandleScript(), spell_zuldrak_gymers_throw::HandleScript(), spell_shirrak_ping_shirrak::HandleScript(), spell_mana_tombs_summon_arcane_fiends::HandleScript(), spell_darkweaver_syth_summon_elementals::HandleScript(), spell_blackheart_incite_chaos::HandleScript(), spell_illidan_agonizing_flames::HandleScript(), spell_illidari_council_judgement::HandleScript(), spell_najentus_needle_spine::HandleScript(), spell_najentus_needle_spine_explosion::HandleScript(), spell_fathomlord_karathress_tidal_surge::HandleScript(), spell_lady_vashj_summon_wave_mob_trigger::HandleScript(), spell_lady_vashj_summon_wave_e_mob_trigger::HandleScript(), spell_lady_vashj_spore_drop_effect::HandleScript(), spell_lady_vashj_remove_tainted_cores::HandleScript(), spell_leotheras_the_blind_summon_inner_demon::HandleScript(), spell_ahune_slippery_floor_periodic::HandleScript(), spell_ahune_find_opening_visual::HandleScript(), spell_ahune_spank_force_bunny_to_knock_you_to::HandleScript(), spell_hungarfen_putrid_mushroom_primer::HandleScript(), spell_the_black_stalker_levitate::HandleScript(), spell_the_black_stalker_levitation_pulse::HandleScript(), spell_the_black_stalker_someone_grab_me::HandleScript(), spell_the_black_stalker_magnetic_pull::HandleScript(), spell_the_black_stalker_summon_spore_strider::HandleScript(), spell_gruul_ground_slam::HandleScript(), spell_gruul_shatter::HandleScript(), spell_vazruden_fireball::HandleScript(), spell_vazruden_cone_of_fire::HandleScript(), spell_magtheridon_blaze_target::HandleScript(), spell_magtheridon_quake_target_selector::HandleScript(), spell_magtheridon_debris::HandleScript(), spell_magtheridon_shadow_grasp_cube::HandleScript(), spell_grand_warlock_nethekurse_target_fissures::HandleScript(), spell_kaelthas_gravity_lapse::HandleScript(), spell_kaelthas_summon_weapons::HandleScript(), spell_kaelthas_remove_weapons::HandleScript(), spell_kaelthas_pure_nether_beam::HandleScript(), spell_kaelthas_summon_nether_vapor::HandleScript(), spell_pathaleon_summon_nether_wraiths::HandleScript(), spell_hellfire_peninsula_send_vengeance_to_player::HandleScript(), spell_hellfire_peninsula_translocation_falcon_watch::HandleScript(), spell_nagrand_fire_bomb_target_summon_effect::HandleScript(), spell_nagrand_fire_bomb_damage_missile::HandleScript(), spell_shadowmoon_quest_credit_crazed_colossus::HandleScript(), spell_terokkar_shadowy_disguise_cast_from_questgiver::HandleScript(), spell_terokkar_translocation_firewing_point::HandleScript(), spell_pet_gen_lich_pet_onsummon::HandleScript(), spell_pet_gen_lich_pet_focus::HandleScript(), spell_pet_gen_toxic_wasteling_find_target::HandleScript(), spell_gen_cast_caster_to_target::HandleScript(), spell_gen_cast_target_to_target::HandleScript(), spell_gen_dalaran_disguise::HandleScript(), spell_gen_dreaming_glory::HandleScript(), spell_gen_feast::HandleScript(), spell_gen_orc_disguise::HandleScript(), spell_gen_teleporting::HandleScript(), spell_gen_cannon_blast::HandleScript(), spell_hun_pet_heart_of_the_phoenix::HandleScript(), spell_item_goblin_weather_machine::HandleScript(), spell_item_dimensional_ripper_everlook::HandleScript(), spell_item_ultrasafe_transporter::HandleScript(), spell_item_dimensional_ripper_area52::HandleScript(), spell_item_eggnog::HandleScript(), spell_item_runescroll_of_fortitude::HandleScript(), spell_item_drums_of_forgotten_kings::HandleScript(), spell_item_drums_of_the_wild::HandleScript(), spell_item_disco_ball_listening_to_music_parent::HandleScript(), spell_quest_uther_grom_tribute::HandleScript(), spell_quest_make_player_destroy_totems::HandleScript(), spell_warl_ritual_of_souls::HandleScript(), spell_hallow_end_wand::HandleScriptEffect(), spell_marrowgar_coldflame::HandleScriptEffect(), spell_marrowgar_coldflame_bonestorm::HandleScriptEffect(), spell_illidan_draw_soul::HandleScriptEffect(), spell_gen_break_shield::HandleScriptEffect(), spell_gen_clone::HandleScriptEffect(), spell_gen_clone_weapon::HandleScriptEffect(), spell_gen_mounted_charge::HandleScriptEffect(), spell_gen_throw_shield::HandleScriptEffect(), spell_direbrew_summon_mole_machine_target_picker::HandleScriptEffect(), spell_request_second_mug::HandleScriptEffect(), spell_death_knight_initiate_visual::HandleScriptEffect(), spell_deliver_stolen_horse::HandleScriptEffect(), spell_gift_of_the_harvester::HandleScriptEffect(), spell_death_knight_devour_humanoid::HandleScriptEffect(), spell_midsummer_fling_torch_catch::HandleScriptEffect(), spell_icehowl_arctic_breath::HandleScriptEffect(), spell_deathwhisper_summon_spirits::HandleScriptEffect(), spell_gluth_decimate::HandleScriptEffect(), spell_razorscale_summon_iron_dwarves::HandleScriptEffect(), spell_fixate::HandleScriptEffect(), spell_palehoof_crazed_effect::HandleScriptEffect(), spell_zuldrak_zuldrak_rat::HandleScriptEffect(), spell_illidan_flame_burst::HandleScriptEffect(), spell_ethereal_pet_onsummon::HandleScriptEffect(), spell_hun_chimera_shot::HandleScriptEffect(), spell_hun_masters_call::HandleScriptEffect(), spell_item_mirrens_drinking_hat::HandleScriptEffect(), spell_pal_judgement::HandleScriptEffect(), spell_pri_lightwell::HandleScriptEffect(), spell_quest_portal_with_condition::HandleScriptEffect(), spell_sha_stoneclaw_totem::HandleScriptEffect(), spell_pal_seal_of_vengeance< DoTSpellId, DamageSpellId >::spell_pal_seal_of_vengeance_AuraScript< DoTSpell, DamageSpell >::HandleSeal(), WorldSession::HandleSelfResOpcode(), AuraEffect::HandleShapeshiftBoosts(), spell_baltharus_enervating_brand_trigger::HandleSiphonedMight(), Unit::HandleSpellClick(), spell_marrowgar_bone_spike_graveyard::HandleSpikes(), spell_forge_of_souls_soul_sickness::HandleStun(), spell_gen_paralytic_poison::HandleStun(), spell_icecrown_pound_drum::HandleSummon(), spell_putricide_mutated_transformation::HandleSummon(), spell_dk_raise_ally::spell_dk_raise_ally_SpellScript::HandleSummon(), spell_terokkar_fumping_the_big_bone_worm::HandleSummon(), spell_dreamwalker_summon_suppresser::HandleSummon(), spell_xt002_energy_orb::HandleSummons(), WorldSession::HandleTalentWipeConfirmOpcode(), spell_mother_shahraz_fatal_attraction::HandleTeleport(), spell_warr_intervene::HandleThreat(), spell_halion_combustion_consumption_periodic::HandleTick(), spell_mimiron_weld::spell_mimiron_weld_AuraScript::HandleTick(), spell_warl_drain_soul::HandleTick(), spell_trigger_spell_from_caster::HandleTrigger(), spell_midsummer_fling_torch_triggered::HandleTriggerMissile(), spell_magic_eater_food::HandleTriggerSpell(), spell_putricide_mutated_plague::HandleTriggerSpell(), spell_drakkari_colossus_surge::HandleVisual(), spell_malygos_arcane_storm::HandleVisual(), spell_borean_tundra_neural_needle::HandleWhisper(), spell_borean_tundra_prototype_neural_needle::HandleWhisper(), spell_dragonblight_high_executor_branding_iron::HandleWhisper(), player_overlord_brandAI::HealDone(), boss_lady_malande::HealReceived(), CharmInfo::InitCharmCreateSpells(), npc_violet_hold_teleportation_portal::InitializeAI(), npc_pet_mage_mirror_image::InitializeAI(), CharmInfo::InitPossessCreateSpells(), Totem::InitSummon(), npc_living_inferno::IsSummonedBy(), npc_void_sentry::IsSummonedBy(), npc_crystal_spike_trigger::IsSummonedBy(), TriggerAI::IsSummonedBy(), npc_raging_ghoul::npc_raging_ghoulAI::IsSummonedBy(), npc_risen_witch_doctor::npc_risen_witch_doctorAI::IsSummonedBy(), npc_ruby_emerald_amber_drake::IsSummonedBy(), npc_q10720_marmot::IsSummonedBy(), npc_bone_spike::IsSummonedBy(), npc_gunship::npc_gunshipAI::JustDied(), boss_sapphiron::JustDied(), npc_power_spark::JustDied(), npc_mechanolift::npc_mechanoliftAI::JustDied(), boss_freya::boss_freyaAI::JustDied(), CombatAI::JustDied(), CasterAI::JustEngagedWith(), npc_slad_ran_constrictor::JustEngagedWith(), CombatAI::JustEngagedWith(), boss_sapphiron::JustEngagedWith(), boss_freya::boss_freyaAI::JustEngagedWith(), boss_skeram::boss_skeramAI::JustSummoned(), boss_felblood_kaelthas::JustSummoned(), boss_felmyst::JustSummoned(), boss_prince_taldaram::JustSummoned(), boss_bronjahm::JustSummoned(), boss_krick::JustSummoned(), boss_gal_darah::JustSummoned(), boss_prince_valanar_icc::JustSummoned(), boss_deathbringer_saurfang::JustSummoned(), boss_professor_putricide::JustSummoned(), boss_sindragosa::JustSummoned(), boss_the_lich_king::JustSummoned(), npc_risen_archmage::JustSummoned(), boss_algalon_the_observer::JustSummoned(), boss_kologarn::boss_kologarnAI::JustSummoned(), boss_vx_001::boss_vx_001AI::JustSummoned(), boss_aerial_command_unit::boss_aerial_command_unitAI::JustSummoned(), boss_thorim::boss_thorimAI::JustSummoned(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::JustSummoned(), boss_sara::boss_saraAI::JustSummoned(), boss_svala::JustSummoned(), boss_ymiron::JustSummoned(), npc_restless_soul::npc_restless_soulAI::JustSummoned(), npc_kiljaeden_controller::npc_kiljaeden_controllerAI::JustSummoned(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::JustSummoned(), boss_anubarak_trial::JustSummoned(), Unit::Kill(), boss_archimonde::KilledUnit(), boss_twilight_halion::KilledUnit(), boss_anubrekhan::KilledUnit(), boss_doomwalker::KilledUnit(), boss_azuregos::KilledUnit(), emerald_dragonAI::KilledUnit(), Player::LearnQuestRewardedSpells(), Player::LeaveBattleground(), lfg::LFGMgr::MakeNewGroup(), Unit::ModifyAuraState(), npc_anubarak_spike::MoveInLineOfSight(), npc_dkc1_gothik::npc_dkc1_gothikAI::MoveInLineOfSight(), boss_malygos::MoveInLineOfSight(), npc_guardian_pavilion::MoveInLineOfSight(), boss_doomwalker::MoveInLineOfSight(), npc_spirit_shade::npc_spirit_shadeAI::MovementInform(), boss_selin_fireheart::MovementInform(), npc_unworthy_initiate::npc_unworthy_initiateAI::MovementInform(), npc_corrupted_soul_fragment::MovementInform(), npc_ichor_globule::MovementInform(), boss_sindragosa::MovementInform(), npc_azure_saboteur::MovementInform(), npc_freyas_ward::npc_freyas_wardAI::npc_freyas_wardAI(), npc_hodirs_fury::npc_hodirs_furyAI::npc_hodirs_furyAI(), npc_mimirons_inferno::npc_mimirons_infernoAI::npc_mimirons_infernoAI(), npc_pool_of_tar::npc_pool_of_tarAI::npc_pool_of_tarAI(), npc_thorims_hammer::npc_thorims_hammerAI::npc_thorims_hammerAI(), spell_yogg_saron_hodirs_protective_gaze::spell_yogg_saron_hodirs_protective_gaze_AuraScript::OnAbsorb(), spell_illidari_council_reflective_shield::OnAbsorb(), spell_kaelthas_shock_barrier::OnAbsorb(), spell_direbrew_disarm::OnApply(), spell_brewfest_ram_fatigue::OnApply(), spell_love_is_in_the_air_romantic_picnic::OnApply(), spell_halion_combustion_consumption::OnApply(), spell_icc_empowered_blood::OnApply(), spell_icc_empowered_blood_3::OnApply(), spell_load_into_catapult::spell_load_into_catapult_AuraScript::OnApply(), spell_yogg_saron_constrictor_tentacle::spell_yogg_saron_constrictor_tentacle_AuraScript::OnApply(), spell_yogg_saron_empowered::spell_yogg_saron_empowered_AuraScript::OnApply(), spell_yogg_saron_insane::spell_yogg_saron_insane_AuraScript::OnApply(), spell_gen_damage_reduction_aura::OnApply(), spell_hun_aspect_of_the_beast::OnApply(), spell_item_power_circle::OnApply(), spell_pilgrims_bounty_a_serving_of::OnApply(), spell_gen_turkey_marker::OnApply(), spell_hun_ascpect_of_the_viper::OnApply(), spell_hun_viper_attack_speed::OnApply(), spell_vael_burning_adrenaline::OnAuraRemoveHandler(), spell_blood_queen_vampiric_bite::OnCast(), spell_brewfest_giddyup::OnChange(), BattlefieldWG::OnCreatureCreate(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::OnCreatureCreate(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureCreate(), instance_blackrock_spire::instance_blackrock_spireMapScript::OnGameObjectCreate(), go_orb_of_domination::OnGossipHello(), go_gauntlet_gate::go_gauntlet_gateAI::OnGossipHello(), go_kalecgos_spectral_rift::go_kalecgos_spectral_riftAI::OnGossipHello(), go_orb_of_the_blue_flight::go_orb_of_the_blue_flightAI::OnGossipHello(), go_wind_stone::go_wind_stoneAI::OnGossipHello(), go_twilight_portal::OnGossipHello(), npc_essence_of_twin::OnGossipHello(), go_empowering_blood_orb::OnGossipHello(), go_activation_crystal::OnGossipHello(), go_finklesteins_cauldron::OnGossipHello(), go_najentus_spine::OnGossipHello(), go_simon_cluster::go_simon_clusterAI::OnGossipHello(), go_tablet_of_the_seven::go_tablet_of_the_sevenAI::OnGossipHello(), go_midsummer_ribbon_pole::go_midsummer_ribbon_poleAI::OnGossipHello(), npc_sinclari_vh::OnGossipSelect(), npc_wyrmrest_defender::OnGossipSelect(), go_soothsaying_for_dummies::go_soothsaying_for_dummiesAI::OnGossipSelect(), npc_stable_master::npc_stable_masterAI::OnGossipSelect(), npc_lokhtos_darkbargainer::npc_lokhtos_darkbargainerAI::OnGossipSelect(), boss_gloomrel::boss_gloomrelAI::OnGossipSelect(), npc_death_knight_initiate::npc_death_knight_initiateAI::OnGossipSelect(), icecrown_citadel_teleport::icecrown_citadel_teleportAI::OnGossipSelect(), go_amberpine_outhouse::go_amberpine_outhouseAI::OnGossipSelect(), npc_innkeeper::npc_innkeeperAI::OnGossipSelect(), npc_engineering_tele_trinket::npc_engineering_tele_trinketAI::OnGossipSelect(), npc_argent_squire_gruntling::npc_argent_squire_gruntlingAI::OnGossipSelect(), npc_chromie_start::npc_chromie_startAI::OnGossipSelect(), npc_zafod_boombox::OnGossipSelect(), npc_crusade_recruit::OnGossipSelect(), go_ahune_ice_stone::OnGossipSelect(), go_apexis_relic::go_apexis_relicAI::OnGossipSelect(), go_midsummer_bonfire::go_midsummer_bonfireAI::OnGossipSelect(), Player::OnGossipSelect(), spell_dru_tiger_s_fury::OnHit(), spell_dk_pestilence::OnHit(), lfg::LFGPlayerScript::OnMapChanged(), spell_apothecary_perfume_spill::OnPeriodic(), spell_apothecary_cologne_spill::OnPeriodic(), spell_muru_summon_blood_elves_periodic::OnPeriodic(), spell_muru_transform_visual_missile_periodic::OnPeriodic(), spell_love_is_in_the_air_romantic_picnic::OnPeriodic(), spell_the_lich_king_soul_reaper::OnPeriodic(), spell_sjonnir_periodic_summon::OnPeriodic(), spell_hodir_shatter_chest::OnPeriodic(), spell_hodir_biting_cold_periodic::OnPeriodic(), spell_yogg_saron_empowered::spell_yogg_saron_empowered_AuraScript::OnPeriodic(), spell_illidan_tear_of_azzinoth_channel::OnPeriodic(), spell_illidan_demon_transform1::OnPeriodic(), spell_illidan_caged::OnPeriodic(), spell_mother_shahraz_random_periodic::OnPeriodic(), spell_serpent_shrine_frenzy_water::OnPeriodic(), spell_mekgineer_steamrigger_summon_gnomes::OnPeriodic(), spell_ahune_ahunes_shield::OnPeriodic(), spell_ahune_summon_ice_spear_delayer::OnPeriodic(), spell_ahune_ice_spear_control_aura::OnPeriodic(), spell_ahune_find_opening_beam_end::OnPeriodic(), spell_magtheridon_quake_initial::OnPeriodic(), spell_kaelthas_gravity_lapse_periodic::OnPeriodic(), spell_pet_gen_lich_pet_periodic_emote::OnPeriodic(), spell_item_disco_ball_listening_to_music_periodic::OnPeriodic(), spell_baron_geddon_inferno::OnPeriodic(), spell_vexallus_energy_feedback::OnPeriodic(), spell_kalecgos_curse_of_boundless_agony::OnPeriodic(), spell_janalai_fire_bomb::OnPeriodic(), spell_zuljin_claw_rage_periodic::OnPeriodic(), spell_brewfest_ram::OnPeriodic(), spell_mark_of_kazrogal_aura::OnPeriodic(), spell_black_morass_time_rift_periodic::OnPeriodic(), spell_the_lich_king_vile_spirits::OnPeriodic(), spell_hodir_flash_freeze::OnPeriodic(), spell_hodir_biting_cold_area_aura::OnPeriodic(), spell_keleseth_frost_tomb_periodic::OnPeriodic(), spell_moragg_ray::OnPeriodic(), spell_murmur_murmurs_touch::OnPeriodic(), spell_illidan_demon_transform2::OnPeriodic(), spell_doom_lord_kazzak_mark_of_kazzak::OnPeriodic(), spell_leotheras_the_blind_demon_link::OnPeriodic(), spell_the_lurker_below_spout_periodic::OnPeriodic(), spell_ahune_summoning_rhyme_aura::OnPeriodic(), spell_broggok_poison_cloud::OnPeriodic(), spell_omor_the_unscarred_orbital_strike_whip::OnPeriodic(), spell_kaelthas_gaining_power::OnPeriodic(), spell_kaelthas_nether_vapor_lightning::OnPeriodic(), spell_nethermancer_sepethrea_inferno::OnPeriodic(), spell_illidari_nightlord_shadow_inferno::OnPeriodic(), instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript::OnPlayerEnter(), instance_shattered_halls::instance_shattered_halls_InstanceMapScript::OnPlayerEnter(), BattlefieldWG::OnPlayerJoinWar(), spell_omrogg_burning_maul::OnProc(), spell_blood_queen_essence_of_the_blood_queen::OnProc(), spell_gen_obsidian_armor::OnProc(), spell_pal_eye_for_an_eye::OnProc(), spell_pal_glyph_of_divinity::OnProc(), spell_pal_judgements_of_the_just::OnProc(), spell_warl_fel_synergy::OnProc(), spell_warl_siphon_life::OnProc(), spell_warr_damage_shield::OnProc(), spell_warr_deep_wounds_aura::OnProc(), spell_reliquary_of_souls_aura_of_desire::OnProcSpell(), spell_kalecgos_spectral_realm_aura::OnRemove(), spell_kalecgos_curse_of_boundless_agony::OnRemove(), spell_brewfest_exhausted_ram::OnRemove(), spell_gormok_jump_to_hand::OnRemove(), spell_taldaram_flame_ball_visual::OnRemove(), spell_putricide_mutation_init_aura::OnRemove(), spell_the_lich_king_necrotic_plague::OnRemove(), spell_the_lich_king_shadow_trap_visual::OnRemove(), spell_the_lich_king_harvest_soul::OnRemove(), spell_the_lich_king_in_frostmourne_room::OnRemove(), spell_ignis_slag_pot::spell_ignis_slag_pot_AuraScript::OnRemove(), spell_ulduar_stone_grip_absorb::spell_ulduar_stone_grip_absorb_AuraScript::OnRemove(), spell_yogg_saron_malady_of_the_mind::spell_yogg_saron_malady_of_the_mind_AuraScript::OnRemove(), spell_illidari_council_deadly_poison::OnRemove(), spell_illidari_council_vanish::OnRemove(), spell_teron_gorefiend_shadow_of_death::OnRemove(), spell_quest_taming_the_beast::OnRemove(), spell_halion_marks::OnRemove(), spell_putricide_mutated_plague::OnRemove(), spell_sindragosa_instability::OnRemove(), spell_the_lich_king_necrotic_plague_jump_aura::OnRemove(), spell_yogg_saron_nondescript::spell_yogg_saron_nondescript_AuraScript::OnRemove(), spell_claw_swipe_check::OnRemove(), spell_illidari_council_seal::OnRemove(), spell_mage_arcane_missiles::OnRemove(), spell_warl_curse_of_doom::OnRemove(), spell_illidan_akama_door_channel::OnRemoveDummy(), spell_dru_lifebloom::OnRemoveEffect(), boss_flame_leviathan_overload_device::boss_flame_leviathan_overload_deviceAI::OnSpellClick(), spell_exploding_orb_hasty_grow::OnStackChange(), spell_item_shadowmourne_soul_fragment::OnStackChange(), spell_warl_devour_magic::OnSuccessfulDispel(), spell_rain_of_bones::spell_rain_of_bones_AuraScript::OnTrigger(), spell_illidari_council_deadly_strike::OnTrigger(), spell_mother_shahraz_saber_lash::OnTrigger(), spell_mother_shahraz_generic_periodic::OnTrigger(), at_frozen_throne_teleport::OnTrigger(), AreaTrigger_at_legion_teleporter::OnTrigger(), AreaTrigger_at_sholazar_waygate::OnTrigger(), dummy_dragonAI::OpenPortal(), npc_wild_wyrm::PassengerBoarded(), npc_tournament_mount::npc_tournament_mountAI::PassengerBoarded(), npc_melee_hover_disk::PassengerBoarded(), npc_caster_hover_disk::PassengerBoarded(), boss_gormok::PassengerBoarded(), boss_xt002::PassengerBoarded(), npc_four_car_garage::PassengerBoarded(), boss_kologarn::boss_kologarnAI::PassengerBoarded(), spell_send_mug_control_aura::PeriodicTick(), spell_barreled_control_aura::PeriodicTick(), spell_midsummer_test_ribbon_pole_channel::PeriodicTick(), spell_pursuing_spikes::PeriodicTick(), spell_bullet_controller::PeriodicTick(), spell_overload_circuit::PeriodicTick(), spell_ichoron_splatter::PeriodicTick(), spell_random_ingredient_aura::PeriodicTick(), spell_headless_horseman_summoning_rhyme_aura::PeriodicTick(), spell_muru_negative_energy_periodic::PeriodicTick(), spell_jormungars_slime_pool::PeriodicTick(), spell_blood_queen_pact_of_the_darkfallen_dmg::PeriodicTick(), spell_sindragosa_ice_tomb_trap::PeriodicTick(), spell_grobbulus_poison_cloud::PeriodicTick(), spell_tar_blaze::PeriodicTick(), spell_alar_flame_quills::PeriodicTick(), spell_hellfire_peninsula_absorb_eye_of_grillok::PeriodicTick(), spell_dru_frenzied_regeneration::PeriodicTick(), spell_gen_aura_of_fear::PeriodicTick(), spell_hun_feeding_frenzy::PeriodicTick(), spell_mage_mirror_image::PeriodicTick(), spell_pal_beacon_of_light::PeriodicTick(), spell_sha_mana_tide::PeriodicTick(), spell_halion_twilight_phasing::Phase(), SmartScript::ProcessAction(), ProcessCastaction(), Player::ProcessDelayedOperations(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::ProcessEvent(), Unit::ProcessTerrainStatusUpdate(), ProcessUnlearnAction(), spell_dru_eclipse::ProcLunar(), spell_dru_eclipse::ProcSolar(), BattlefieldWG::PromotePlayer(), spell_pri_power_word_shield_aura::ReflectDamage(), spell_wintergrasp_tenacity_refresh::Refresh(), spell_gen_defend::RefreshVisualShields(), Vehicle::RemovePassenger(), spell_igb_below_zero::RemovePassengers(), Player::ReportedAfkBy(), go_direbrew_mole_machine::go_direbrew_mole_machineAI::Reset(), npc_firework::Reset(), npc_gauntlet_trash::Reset(), npc_brunnhildar_prisoner::Reset(), npc_storm_cloud::Reset(), npc_torch_tossing_target_bunny_controller::npc_torch_tossing_target_bunny_controllerAI::Reset(), BfGraveyard::Resurrect(), Player::ResurrectPlayer(), Player::ResurrectUsingRequestData(), Player::RewardQuest(), Map::ScriptsProcess(), spell_item_mad_alchemists_potion::SecondaryEffect(), spell_item_crazy_alchemists_potion::SecondaryEffect(), npc_prof_blacksmith::npc_prof_blacksmithAI::SendActionMenu(), WorldSession::SendBindPoint(), Player::SendInitialPacketsAfterAddToMap(), Player::SendQuestUpdate(), instance_ulduar::instance_ulduar_InstanceMapScript::SetBossState(), npc_violet_hold_teleportation_portal::SetData(), npc_combustion_consumption::SetData(), go_empowering_blood_orb::SetGUID(), npc_simon_bunny::npc_simon_bunnyAI::SetUpPreGame(), boss_pyroguard_emberseer::SpellHit(), boss_ionar::SpellHit(), npc_pool_of_tar::npc_pool_of_tarAI::SpellHit(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), npc_stalagg::SpellHit(), npc_feugen::SpellHit(), npc_living_constellation::SpellHit(), npc_brunnhildar_prisoner::SpellHit(), npc_storm_cloud::SpellHit(), npc_pet_dk_ebon_gargoyle::SpellHit(), boss_felblood_kaelthas::SpellHitTarget(), boss_infinite_corruptor::boss_infinite_corruptorAI::SpellHitTarget(), boss_volazj::SpellHitTarget(), boss_deathbringer_saurfang::SpellHitTarget(), boss_grobbulus::SpellHitTarget(), npc_azure_ring_captain::SpellHitTarget(), npc_simon_bunny::npc_simon_bunnyAI::SpellHitTarget(), spell_dk_ghoul_explode::Suicide(), boss_eregos::SummonedCreatureDespawn(), boss_loatheb::SummonedCreatureDies(), boss_freya::boss_freyaAI::SummonedCreatureDies(), go_wind_stone::go_wind_stoneAI::SummonNPC(), Trainer::Trainer::TeachSpell(), spell_igb_check_for_players::TeleportPlayer(), spell_dk_anti_magic_shell_self::Trigger(), spell_mage_incanters_absorbtion_base_AuraScript::Trigger(), npc_orb_carrier::TriggerCutter(), spell_koralon_meteor_fists::TriggerFists(), spell_flame_warder_meteor_fists::TriggerFists(), spell_the_lich_king_life_siphon::TriggerHeal(), spell_pal_divine_storm::TriggerHeal(), spell_mage_ice_block::TriggerHypothermia(), spell_shirrak_inhibit_magic::TriggerNext(), GameObject::Update(), instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript::Update(), TotemAI::UpdateAI(), boss_coren_direbrew::UpdateAI(), boss_pyroguard_emberseer::UpdateAI(), go_suppression_device::UpdateAI(), boss_vaelastrasz::UpdateAI(), boss_shade_of_aran::boss_aranAI::UpdateAI(), npc_image_of_medivh::npc_image_of_medivhAI::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), boss_felmyst::UpdateAI(), npc_partygoer::UpdateAI(), boss_marli::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_gargoyle::npc_gargoyleAI::UpdateAI(), alliance_rifleman::alliance_riflemanAI::UpdateAI(), boss_anub_arak::UpdateAI(), boss_halion::UpdateAI(), boss_twilight_halion::UpdateAI(), npc_orb_carrier::UpdateAI(), npc_meteor_strike_flame::UpdateAI(), boss_anubarak_trial::UpdateAI(), boss_jaraxxus::UpdateAI(), npc_snobold_vassal::UpdateAI(), boss_bronjahm::UpdateAI(), npc_jaina_or_sylvanas_intro_hor::npc_jaina_or_sylvanas_intro_horAI::UpdateAI(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::UpdateAI(), boss_blood_council_controller::UpdateAI(), boss_blood_queen_lana_thel::UpdateAI(), boss_festergut::UpdateAI(), boss_sindragosa::UpdateAI(), boss_the_lich_king::UpdateAI(), npc_dream_cloud::UpdateAI(), boss_thaddius::UpdateAI(), boss_malygos::UpdateAI(), npc_wyrmrest_skytalon::UpdateAI(), boss_flame_leviathan::boss_flame_leviathanAI::UpdateAI(), npc_mimirons_inferno::npc_mimirons_infernoAI::UpdateAI(), npc_freyas_ward::npc_freyas_wardAI::UpdateAI(), boss_freya::boss_freyaAI::UpdateAI(), boss_elder_brightleaf::boss_elder_brightleafAI::UpdateAI(), boss_mimiron::boss_mimironAI::UpdateAI(), boss_emalon::UpdateAI(), boss_toravon::UpdateAI(), npc_wyrmrest_defender::UpdateAI(), npc_freed_protodrake::UpdateAI(), npc_infernal_rain_hellfire::UpdateAI(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::UpdateAI(), npc_pet_gen_pandaren_monk::UpdateAI(), npc_midsummer_bunny_pole::npc_midsummer_bunny_poleAI::UpdateAI(), npc_death_knight_initiate::npc_death_knight_initiateAI::UpdateAI(), generic_vehicleAI_toc5::generic_vehicleAI_toc5AI::UpdateAI(), npc_thorims_hammer::npc_thorims_hammerAI::UpdateAI(), npc_hodirs_fury::npc_hodirs_furyAI::UpdateAI(), npc_air_force_bots::npc_air_force_botsAI::UpdateAI(), Player::UpdateAreaDependentAuras(), npc_brann_hos::UpdateEscortAI(), Player::UpdateZoneDependentAuras(), GameObject::Use(), Player::VehicleSpellInitialize(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::WaypointReached(), and spell_pri_power_word_shield::WeakenSoul().
| bool WorldObject::CheckPrivateObjectOwnerVisibility | ( | WorldObject const * | seer | ) | const |
Definition at line 1532 of file Object.cpp.
References _privateObjectOwner, Object::GetGUID(), GetPrivateObjectOwner(), and IsPrivateObject().
Referenced by CanSeeOrDetect(), Trinity::NearestCreatureEntryWithLiveStateInObjectRangeCheck::operator()(), Trinity::CreatureWithOptionsInObjectRangeCheck< Customizer >::operator()(), and Trinity::GameObjectWithOptionsInObjectRangeCheck< Customizer >::operator()().
|
virtual |
Reimplemented in GameObject, Player, Transport, and Unit.
Definition at line 1032 of file Object.cpp.
References GetTransport(), Object::IsInWorld(), EventProcessor::KillAllEvents(), m_Events, and RemoveFromWorld().
Referenced by Map::AddObjectToRemoveList(), GameObject::CleanupsBeforeDelete(), and Unit::CleanupsBeforeDelete().
| void WorldObject::ClearZoneScript | ( | ) |
Definition at line 1988 of file Object.cpp.
References m_zoneScript.
| void WorldObject::DestroyForNearbyPlayers | ( | ) |
Definition at line 3448 of file Object.cpp.
References Object::DestroyForPlayer(), Unit::GetCharmerGUID(), Object::GetGUID(), Object::GetGUID(), GetVisibilityRange(), Player::HaveAtClient(), Unit::isDead(), Unit::IsDuringRemoveFromWorld(), Object::IsInWorld(), Player::m_clientGUIDs, Object::ToUnit(), and Cell::VisitWorldObjects().
Referenced by Creature::ForcedDespawn(), debug_commandscript::HandleDebugMoveflagsCommand(), spell_ulduar_squeezed_lifeless::spell_ulduar_squeezed_lifeless_SpellScript::HandleInstaKill(), Creature::RemoveCorpse(), Map::RemoveCorpse(), RemoveFromWorld(), Map::RemovePlayerFromMap(), Creature::Respawn(), and GameObject::Update().
|
inline |
Definition at line 452 of file Object.h.
Referenced by AddObjectToRemoveList(), Player::CheckInstanceValidity(), Group::ConvertLeaderInstancesToGroup(), Group::CountTheRoll(), lfg::LFGMgr::FinishDungeon(), Player::GetMapAreaAndZoneString(), WorldSession::HandleEnterPlayerVehicle(), WorldSession::HandleSetDungeonDifficultyOpcode(), WorldSession::HandleSetRaidDifficultyOpcode(), DisableMgr::IsDisabledFor(), LogCommandUsage(), WorldSession::LogoutPlayer(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllDynamicObjectsInMoveList(), Map::MoveAllGameObjectsInMoveList(), setActive(), SetZoneScript(), SummonCreature(), and Transport::SummonPassenger().
Definition at line 2100 of file Object.cpp.
References Cell::VisitAllObjects().
Referenced by npc_commander_dawnforge::npc_commander_dawnforgeAI::CanStartEvent(), BattlegroundSA::CaptureGraveyard(), spell_item_demon_broiled_surprise::CheckRequirement(), spell_item_map_of_the_geyser_fields::CheckSinkholes(), npc_gunship::npc_gunshipAI::DamageTaken(), npc_terenas_menethil::DamageTaken(), go_ulduar_tower::go_ulduar_towerAI::Destroyed(), boss_infinite_corruptor::boss_infinite_corruptorAI::DoAction(), npc_high_overlord_saurfang_igb::DoAction(), npc_muradin_bronzebeard_igb::DoAction(), boss_skadi::DoAction(), npc_barada::npc_baradaAI::DoAction(), npc_thrall_herald_of_war::npc_thrall_herald_of_warAI::DoAction(), boss_janalai::DoSummonHatchers(), npc_koltira_deathweaver::FakeValrothTalk(), npc_jena_anderson::Find(), npc_bartleby_battson::Find(), npc_sergeant_morigan::Find(), npc_roger_owens::Find(), GetClosestCreatureWithEntry(), SmartScript::GetTargets(), spell_unlocking_zuluheds_chains::spell_unlocking_zuluheds_chains_SpellScript::HandleAfterHit(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), spell_igb_on_gunship_deck::HandleApply(), spell_sholazar_shoot_rjr::HandleDummy(), spell_valanar_kinetic_bomb_aura::HandleDummyTick(), spell_q11719_bloodspore_ruination_45997::HandleEffect(), spell_fjord_mixing_blood::HandleEffect(), spell_fjord_failed_mix_concoction_1::HandleEffect(), spell_fjord_failed_mix_concoction_2::HandleEffect(), spell_thaddius_polarity_charge::HandleTargets(), boss_valithria_dreamwalker::HealReceived(), npc_amanishi_hatcher::IsOtherHatcherAlive(), npc_yogg_saron_illusions::npc_yogg_saron_illusionsAI::IsSummonedBy(), npc_ruby_emerald_amber_drake::IsSummonedBy(), ShadowswordBaseAI::JustAppeared(), npc_ingvar_throw_dummy::JustAppeared(), boss_rend_blackhand::JustDied(), boss_infinite_corruptor::boss_infinite_corruptorAI::JustDied(), dummy_dragonAI::JustDied(), boss_blood_queen_lana_thel::JustDied(), gunship_npc_AI::JustDied(), npc_gunship::npc_gunshipAI::JustDied(), boss_the_lich_king::JustDied(), npc_brood_of_anzu::JustDied(), boss_darkweaver_syth::JustDied(), boss_swamplord_muselek::JustDied(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), npc_ros_dark_rider::npc_ros_dark_riderAI::JustDied(), npc_sironas::npc_sironasAI::JustDied(), boss_devourer_of_souls::JustEngagedWith(), boss_festergut::JustEngagedWith(), boss_eregos::JustEngagedWith(), boss_stormcaller_brundir::boss_stormcaller_brundirAI::JustEngagedWith(), npc_cw_area_trigger::npc_cw_area_triggerAI::MoveInLineOfSight(), boss_rend_blackhand::MovementInform(), npc_jena_anderson::npc_jena_andersonAI::MovementInform(), npc_arthas_stratholme::npc_arthas_stratholmeAI::MovementInform(), boss_malygos::MovementInform(), npc_mechanolift::npc_mechanoliftAI::MovementInform(), boss_the_lich_king::MovementInform(), npc_stalagg::myCoil(), npc_feugen::myCoil(), go_razorscale_harpoon::go_razorscale_harpoonAI::OnGossipHello(), go_acherus_soul_prison::go_acherus_soul_prisonAI::OnGossipHello(), go_ossirian_crystal::go_ossirian_crystalAI::OnGossipHello(), go_simon_cluster::go_simon_clusterAI::OnGossipHello(), go_midsummer_ribbon_pole::go_midsummer_ribbon_poleAI::OnGossipHello(), npc_wg_demolisher_engineer::OnGossipSelect(), npc_tyrion::npc_tyrionAI::OnQuestAccept(), go_crystalline_tear::go_crystalline_tearAI::OnQuestAccept(), go_crystal_prison::go_crystal_prisonAI::OnQuestAccept(), spell_ulduar_stone_grip_absorb::spell_ulduar_stone_grip_absorb_AuraScript::OnRemove(), AreaTrigger_at_sentry_point::OnTrigger(), at_blackrock_stadium::OnTrigger(), at_malfurion_stormrage::OnTrigger(), at_twilight_grove::OnTrigger(), at_stratholme_inn_stairs_cot::OnTrigger(), areatrigger_orgrimmar_herald_of_war::OnTrigger(), at_zumrah::OnTrigger(), at_commander_dawnforge::OnTrigger(), AreaTrigger_at_scent_larkorwi::OnTrigger(), AreaTrigger_at_nats_landing::OnTrigger(), AreaTrigger_at_brewfest::OnTrigger(), item_captured_frog::OnUse(), boss_kologarn::boss_kologarnAI::PassengerBoarded(), npc_sergeant_morigan::npc_sergeant_moriganAI::Perelli(), boss_halazzi::PerformAdditionalEvents(), BattlegroundSA::ProcessEvent(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::ProcessEvent(), boss_victor_nefarius::Reset(), npc_ros_dark_rider::npc_ros_dark_riderAI::Reset(), npc_firework::Reset(), boss_eye_of_cthun::eye_of_cthunAI::Reset(), boss_festergut::Reset(), go_razorscale_harpoon::go_razorscale_harpoonAI::Reset(), npc_amberpine_woodsman::Reset(), Map::ScriptsProcess(), boss_selin_fireheart::SelectNearestCrystal(), boss_novos::SetCrystalStatus(), boss_rend_blackhand::SetData(), npc_gunship_boarding_addAI::SetData(), npc_highlord_tirion_fordring_lh::SetData(), npc_hearthsinger_forresten_cot::npc_hearthsinger_forresten_cotAI::SetGUID(), npc_shadowmoon_tuber_node::npc_shadowmoon_tuber_nodeAI::SpellHit(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::SpellHit(), npc_commander_eligor_dawnbringer::StoreTargets(), instance_gundrak::instance_gundrak_InstanceMapScript::Update(), boss_gyth::UpdateAI(), boss_victor_nefarius::UpdateAI(), npc_unworthy_initiate::npc_unworthy_initiateAI::UpdateAI(), npc_cameron::UpdateAI(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), npc_giant_spotlight::UpdateAI(), npc_hearthsinger_forresten_cot::npc_hearthsinger_forresten_cotAI::UpdateAI(), npc_jena_anderson::npc_jena_andersonAI::UpdateAI(), npc_malcolm_moore::npc_malcolm_mooreAI::UpdateAI(), npc_arthas_stratholme::npc_arthas_stratholmeAI::UpdateAI(), boss_aeonus::UpdateAI(), boss_chrono_lord_deja::UpdateAI(), boss_temporus::UpdateAI(), boss_eye_of_cthun::eye_of_cthunAI::UpdateAI(), npc_demolitionist_legoso::npc_demolitionist_legosoAI::UpdateAI(), npc_qiraj_war_spawn::npc_qiraj_war_spawnAI::UpdateAI(), npc_high_overlord_saurfang_igb::UpdateAI(), npc_muradin_bronzebeard_igb::UpdateAI(), boss_professor_putricide::UpdateAI(), npc_terenas_menethil::UpdateAI(), npc_mechanolift::npc_mechanoliftAI::UpdateAI(), boss_kologarn::boss_kologarnAI::UpdateAI(), npc_yogg_saron_illusions::npc_yogg_saron_illusionsAI::UpdateAI(), npc_garona::npc_garonaAI::UpdateAI(), go_mammoth_trap::UpdateAI(), npc_thassarian::UpdateAI(), go_wg_vehicle_teleporter::UpdateAI(), boss_warlord_kalithresh::UpdateAI(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::UpdateAI(), npc_spring_rabbit::npc_spring_rabbitAI::UpdateAI(), npc_arugal_voidwalker::npc_arugal_voidwalkerAI::UpdateAI(), npc_lord_gregor_lescovar::npc_lord_gregor_lescovarAI::UpdateAI(), npc_tyrion_spybot::npc_tyrion_spybotAI::UpdateAI(), npc_magwin::npc_magwinAI::UpdateEscortAI(), SmartAI::UpdateFollow(), and npc_magwin::npc_magwinAI::WaypointReached().
| Creature * WorldObject::FindNearestCreatureWithOptions | ( | float | range, |
| FindCreatureOptions const & | options | ||
| ) | const |
Definition at line 2109 of file Object.cpp.
References Trinity::CreatureSearcherBase< Check, Result >::i_phaseMask, FindCreatureOptions::IgnorePhases, PHASEMASK_ANYWHERE, and Cell::VisitAllObjects().
Referenced by npc_shadowmoon_channeler::DoCastChanneledSpell(), boss_lady_vashj::DoCleanupTriggers(), AdvisorBaseAI::DoInformController(), boss_alar::DoMoveToCenter(), boss_alar::DoMoveToPlatform(), boss_kaelthas::EnterEvadeMode(), GetClosestCreatureWithOptions(), boss_lady_vashj::UpdateAI(), npc_ahune_bunny::UpdateAI(), boss_alar::UpdateAI(), and boss_kaelthas::UpdateAI().
| GameObject * WorldObject::FindNearestGameObject | ( | uint32 | entry, |
| float | range, | ||
| bool | spawnedOnly = true |
||
| ) | const |
Definition at line 2122 of file Object.cpp.
References Cell::VisitGridObjects().
Referenced by BfWGGameObjectBuilding::Destroyed(), npc_icc_orb_controller::DoAction(), DarkFallenAI::DoAction(), GetClosestGameObjectWithEntry(), npc_dragonflayer_forge_master::GetForgeMasterType(), SmartScript::GetTargets(), spell_illidan_cage_trap::HandleScriptEffect(), npc_crystal_spike_trigger::IsSummonedBy(), npc_stalagg::myCoilGO(), npc_feugen::myCoilGO(), npc_rinji::npc_rinjiAI::OnQuestAccept(), dummy_dragonAI::OpenPortal(), npc_simon_bunny::npc_simon_bunnyAI::PrepareClusters(), BfWGGameObjectBuilding::Rebuild(), BfWGGameObjectBuilding::RebuildGate(), npc_ruul_snowhoof::npc_ruul_snowhoofAI::Reset(), go_razorscale_harpoon::go_razorscale_harpoonAI::Reset(), npc_simon_bunny::npc_simon_bunnyAI::ResetNode(), npc_shadowmoon_tuber_node::npc_shadowmoon_tuber_nodeAI::SetData(), boss_rend_blackhand::SetData(), npc_simon_bunny::npc_simon_bunnyAI::SetUpPreGame(), npc_crate_helper::npc_crate_helperAI::SpellHit(), npc_toasty_fire::SpellHit(), npc_icc_orb_controller::SpellHit(), npc_simon_bunny::npc_simon_bunnyAI::StartGame(), boss_gyth::UpdateAI(), boss_victor_nefarius::UpdateAI(), npc_unworthy_initiate::npc_unworthy_initiateAI::UpdateAI(), npc_scarlet_courier::npc_scarlet_courierAI::UpdateAI(), npc_partygoer::UpdateAI(), npc_giant_spotlight::UpdateAI(), npc_arthas_stratholme::npc_arthas_stratholmeAI::UpdateAI(), npc_crystal_spike_trigger::UpdateAI(), npc_nature_bomb::npc_nature_bombAI::UpdateAI(), npc_valiance_keep_cannoneer::UpdateAI(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::UpdateAI(), npc_midsummer_bunny_pole::npc_midsummer_bunny_poleAI::UpdateAI(), npc_train_wrecker::npc_train_wreckerAI::UpdateAI(), npc_tallhorn_stag::UpdateAI(), and npc_ruul_snowhoof::npc_ruul_snowhoofAI::WaypointReached().
| GameObject * WorldObject::FindNearestGameObjectOfType | ( | GameobjectTypes | type, |
| float | range | ||
| ) | const |
Definition at line 2153 of file Object.cpp.
References Cell::VisitGridObjects().
Referenced by WorldSession::HandleAlterAppearance().
| GameObject * WorldObject::FindNearestGameObjectWithOptions | ( | float | range, |
| FindGameObjectOptions const & | options | ||
| ) | const |
Definition at line 2131 of file Object.cpp.
References Trinity::GameObjectSearcherBase< Check, Result >::i_phaseMask, FindGameObjectOptions::IgnorePhases, PHASEMASK_ANYWHERE, and Cell::VisitGridObjects().
| GameObject * WorldObject::FindNearestUnspawnedGameObject | ( | uint32 | entry, |
| float | range | ||
| ) | const |
Definition at line 2144 of file Object.cpp.
References Cell::VisitGridObjects().
Referenced by SmartScript::GetTargets().
| Player * WorldObject::GetAffectingPlayer | ( | ) | const |
Definition at line 2213 of file Object.cpp.
References GetCharmerOrOwner(), GetCharmerOrOwnerGUID(), GetCharmerOrOwnerPlayerOrPlayerItself(), and Object::ToPlayer().
Referenced by SpellInfo::CheckTarget(), npc_thorim_pre_phase::npc_thorim_pre_phaseAI::DamageTaken(), Spell::EffectKnockBack(), GetFactionReactionTo(), GetReactionTo(), spell_sha_healing_stream_totem::HandleDummy(), IsValidAssistTarget(), IsValidAttackTarget(), and npc_thorim_pre_phase::npc_thorim_pre_phaseAI::ShouldSparWith().
|
inline |
Definition at line 376 of file Object.h.
Referenced by Player::CheckAreaExplore(), Spell::CheckCast(), Spell::EffectBind(), Spell::EffectDuel(), Player::GetMapAreaAndZoneString(), spell_netherstorm_socrethars_stone::HandleDummy(), spell_item_nitro_boosts::HandleDummy(), group_commandscript::HandleGroupListCommand(), WorldSession::HandleHearthAndResurrect(), misc_commandscript::HandlePInfoCommand(), spell_dragonblight_surge_needle_teleporter::HandleScript(), spell_sholazar_song_of_cleansing::HandleScript(), spell_gen_teleporting::HandleScript(), npc_engineer_spark_overgrind::npc_engineer_spark_overgrindAI::Initialize(), DisableMgr::IsDisabledFor(), SpellArea::IsFitToRequirements(), npc_gilthares::npc_giltharesAI::JustEngagedWith(), LogCommandUsage(), npc_guardian_pavilion::MoveInLineOfSight(), achievement_tilted::OnCheck(), BattlefieldWG::OnCreatureCreate(), item_only_for_flight::OnUse(), item_petrov_cluster_bombs::OnUse(), FlameLeviathanPursuedTargetSelector::operator()(), Player::RepopAtGraveyard(), Player::RewardHonor(), CreatureTextMgr::SendChatPacket(), Battlefield::SendInitWorldStatesTo(), CreatureTextMgr::SendNonChatPacket(), Creature::SendZoneUnderAttackMessage(), npc_counselor_talbot::UpdateAI(), npc_freed_protodrake::UpdateAI(), and go_brewfest_music::go_brewfest_musicAI::UpdateAI().
| Unit * WorldObject::GetCharmerOrOwner | ( | ) | const |
Definition at line 2186 of file Object.cpp.
References Unit::GetCharmerOrOwner(), GetOwner(), Object::ToGameObject(), and Object::ToUnit().
Referenced by Unit::ApplyDiminishingToDuration(), Spell::CheckPetCast(), GetAffectingPlayer(), GetCharmerOrOwnerOrSelf(), Spell::SelectImplicitCasterObjectTargets(), and Spell::SendPetCastResult().
|
inlinevirtual |
Reimplemented in Unit.
Definition at line 475 of file Object.h.
Referenced by GetAffectingPlayer(), GetCharmerOrOwnerOrOwnGUID(), GetCharmerOrOwnerPlayerOrPlayerItself(), and SmartScript::GetTargets().
| ObjectGuid WorldObject::GetCharmerOrOwnerOrOwnGUID | ( | ) | const |
Definition at line 2173 of file Object.cpp.
References GetCharmerOrOwnerGUID(), Object::GetGUID(), and ObjectGuid::IsEmpty().
| Unit * WorldObject::GetCharmerOrOwnerOrSelf | ( | ) | const |
Definition at line 2196 of file Object.cpp.
References GetCharmerOrOwner(), and Object::ToUnit().
Referenced by Unit::GetPartyMembers(), GetReactionTo(), spell_icecrown_bested_trigger::HandleScript(), Unit::IsInPartyWith(), Unit::IsInRaidWith(), and TotemAI::UpdateAI().
| Player * WorldObject::GetCharmerOrOwnerPlayerOrPlayerItself | ( | ) | const |
Definition at line 2204 of file Object.cpp.
References GetCharmerOrOwnerGUID(), ObjectAccessor::GetPlayer(), ObjectGuid::IsPlayer(), and Object::ToPlayer().
Referenced by spell_sha_earthbind_totem::Apply(), EscortAI::AssistPlayerInCombatAgainst(), SmartAI::AssistPlayerInCombatAgainst(), Unit::AtTargetAttacked(), Unit::BuildValuesUpdate(), CombatManager::CanBeginCombat(), Spell::EffectSummonPet(), GetAffectingPlayer(), SpellHistory::GetPlayerOwner(), Object::GetUpdateFieldData(), spell_gen_charmed_unit_spell_cooldown::HandleCast(), misc_commandscript::HandleCooldownCommand(), spell_storm_peaks_flaming_arrow_triggered_effect::HandleEffectApply(), GuardAI::JustDied(), boss_lady_deathwhisper::JustDied(), npc_darnavan::JustDied(), Unit::Kill(), GameObject::ModifyHealth(), npc_mageguard_dalaran::MoveInLineOfSight(), Spell::PreprocessSpellHit(), SmartScript::ProcessAction(), BattlegroundSA::ProcessEvent(), Unit::ProcessTerrainStatusUpdate(), Unit::SetCharm(), GameObject::SetDestructibleState(), Creature::SetLootRecipient(), GameObject::SetLootRecipient(), npc_haiphoon::SpellHitTarget(), Creature::UpdateEntry(), and GameObject::Use().
| void WorldObject::GetClosePoint | ( | float & | x, |
| float & | y, | ||
| float & | z, | ||
| float | size, | ||
| float | distance2d = 0, |
||
| float | relAngle = 0 |
||
| ) | const |
Definition at line 3245 of file Object.cpp.
References GetNearPoint(), and Position::GetOrientation().
Referenced by Spell::EffectCreateTamedPet(), Spell::EffectResurrectPet(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPet(), Spell::EffectTransmitted(), misc_commandscript::HandleAppearCommand(), cast_commandscript::HandleCastDistCommand(), debug_commandscript::HandleDebugSpawnVehicleCommand(), group_commandscript::HandleGroupSummonCommand(), npc_commandscript::HandleNpcTameCommand(), misc_commandscript::HandleSummonCommand(), Pet::LoadPetFromDB(), npc_released_offspring_harkoa::Reset(), Spell::SelectImplicitCasterDestTargets(), boss_king_dred::SpellHit(), SummonCreature(), SummonGameObject(), and npc_valkyr_battle_maiden::npc_valkyr_battle_maidenAI::UpdateAI().
|
inlinevirtual |
Reimplemented in Unit.
Definition at line 585 of file Object.h.
Referenced by PathGenerator::BuildPolyPath(), GetHitSpherePointFor(), GetMapWaterOrGroundLevel(), PathGenerator::GetNavTerrain(), IsWithinLOS(), IsWithinLOSInMap(), MovePositionToFirstCollision(), Spell::SelectImplicitCasterDestTargets(), PathGenerator::ShortenPathUntilDist(), and UpdatePositionData().
|
inlinevirtual |
Reimplemented in Unit.
Definition at line 360 of file Object.h.
Referenced by _IsWithinDist(), Spell::EffectPullTowards(), GetDistance(), GetDistance(), GetDistance(), GetDistance2d(), GetDistance2d(), GetDistanceZ(), GetHitSpherePointFor(), Spell::GetMinMaxRange(), GetNearPoint2D(), IsInBetween(), IsInRange(), IsInRange2d(), IsInRange3d(), IsWithinDist2d(), IsWithinDist2d(), IsWithinDist3d(), IsWithinDist3d(), Trinity::AnyFriendlyUnitInObjectRangeCheck::operator()(), Trinity::AnyGroupedUnitInObjectRangeCheck::operator()(), Trinity::AnyAoETargetUnitInObjectRangeCheck::operator()(), Trinity::WorldObjectSpellConeTargetCheck::operator()(), Trinity::WorldObjectSpellTrajTargetCheck::operator()(), Spell::SelectImplicitCasterDestTargets(), SummonCreature(), SummonGameObject(), and Cell::Visit().
| void WorldObject::GetContactPoint | ( | WorldObject const * | obj, |
| float & | x, | ||
| float & | y, | ||
| float & | z, | ||
| float | distance2d = CONTACT_DISTANCE |
||
| ) | const |
Definition at line 3272 of file Object.cpp.
References Position::GetAbsoluteAngle(), and GetNearPoint().
Referenced by npc_unworthy_initiate::npc_unworthy_initiateAI::EventStart(), boss_felmyst::HandleFlightSequence(), Unit::JumpTo(), npc_steamrigger_mechanic::JustAppeared(), and SmartScript::ProcessAction().
| template TC_GAME_API void WorldObject::GetCreatureListWithEntryInGrid | ( | Container & | creatureContainer, |
| uint32 | entry, | ||
| float | maxSearchRange = 250.0f |
||
| ) | const |
Definition at line 3154 of file Object.cpp.
References Cell::VisitGridObjects().
Referenced by npc_anubisath_sentinel::aqsentinelAI::AddSentinelsNear(), boss_algalon_the_observer::DamageTaken(), npc_sironas::npc_sironasAI::DoAction(), npc_lord_gregor_lescovar::npc_lord_gregor_lescovarAI::DoGuardsDisappearAndDie(), npc_arthas_stratholme::npc_arthas_stratholmeAI::EngageInfinites(), boss_hadronox::EnterEvadeMode(), boss_the_beast::FindNearbyOrcs(), GetCreatureListWithEntryInGrid(), spell_xt002_heart_overload_periodic::GetRandomToyPile(), boss_thorim::boss_thorimAI::GetTrashSpawnTriggers(), spell_apothecary_lingering_fumes::HandleAfterCast(), boss_hydross_the_unstable::HandleBeamHelpers(), BattlegroundIC::HandleCapturedNodes(), boss_auriaya::HandleCats(), BattlegroundIC::HandleContestedNodes(), npc_expedition_commander::HandleControllersStopCast(), spell_warhead_detonate::HandleDummy(), spell_icc_sprit_alarm::HandleEvent(), spell_thorim_runic_smash::spell_thorim_runic_smash_SpellScript::HandleScript(), spell_rotface_ooze_flood::HandleScript(), spell_the_lich_king_restore_soul::HandleScript(), boss_reliquary_of_souls::HandleSpirits(), boss_anubarak_trial::JustDied(), npc_hadronox_crusherPackAI::JustEngagedWith(), npc_gatewatcher_petAI::JustEngagedWith(), npc_kelthuzad_minionAI::JustEngagedWith(), boss_algalon_the_observer::JustEngagedWith(), boss_reliquary_of_souls::KillAssyncEvents(), npc_arthas_stratholme::npc_arthas_stratholmeAI::MovementInform(), SmartScript::ProcessEvent(), boss_selin_fireheart::Reset(), boss_anubarak_trial::Reset(), boss_ioc_horde_alliance::Reset(), npc_sinclari_vh::Reset(), boss_twinemperorsAI::RespawnNearbyBugsAndGetOne(), npc_sinclari_vh::ScheduleIntro(), npc_gothik_trigger::SelectRandomSkullPile(), boss_selin_fireheart::ShatterRemainingCrystals(), boss_apothecary_hummel::UpdateAI(), npc_arthas_stratholme::npc_arthas_stratholmeAI::UpdateAI(), boss_anub_arak::UpdateAI(), boss_gothik::UpdateAI(), boss_kelthuzad::UpdateAI(), boss_algalon_the_observer::UpdateAI(), boss_thorim::boss_thorimAI::UpdateAI(), npc_wrathbone_flayer::UpdateAI(), and boss_shade_of_akama::UpdateAI().
| template TC_GAME_API void WorldObject::GetCreatureListWithOptionsInGrid | ( | Container & | creatureContainer, |
| float | maxSearchRange, | ||
| FindCreatureOptions const & | options | ||
| ) | const |
Definition at line 3162 of file Object.cpp.
References Trinity::CreatureSearcherBase< Check, Result >::i_phaseMask, FindCreatureOptions::IgnorePhases, PHASEMASK_ANYWHERE, and Cell::VisitGridObjects().
Referenced by GetCreatureListWithOptionsInGrid().
|
overridevirtual |
Reimplemented from Object.
Definition at line 3613 of file Object.cpp.
References Object::GetDebugInfo(), WorldLocation::GetDebugInfo(), and GetName().
Referenced by PathGenerator::BuildPolyPath(), PathGenerator::FindSmoothPath(), Aura::GetDebugInfo(), GameObject::GetDebugInfo(), and Unit::GetDebugInfo().
| float WorldObject::GetDistance | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) | const |
Definition at line 1136 of file Object.cpp.
References GetCombatReach(), and Position::GetExactDist().
| float WorldObject::GetDistance | ( | Position const & | pos | ) | const |
Definition at line 1130 of file Object.cpp.
References GetCombatReach(), and Position::GetExactDist().
| float WorldObject::GetDistance | ( | WorldObject const * | obj | ) | const |
Definition at line 1124 of file Object.cpp.
References GetCombatReach(), and Position::GetExactDist().
Referenced by Spell::AddCorpseTarget(), Spell::AddGOTarget(), Spell::AddUnitTarget(), boss_kiggler_the_crazed::AttackStart(), boss_hadronox::CanAIAttack(), spell_dk_death_grip_initial::CheckCast(), ScriptedAI::DoTeleportTo(), Spell::EffectChargeDest(), Spell::EffectScriptEffect(), GetMagicHitRedirectTarget(), OutdoorPvPSI::HandleDropFlag(), misc_commandscript::HandleGetDistanceCommand(), spell_sha_frozen_power::HandleProc(), spell_gen_ds_flush_knockback::HandleScript(), Player::IsAtGroupRewardDistance(), Player::IsAtRecruitAFriendDistance(), SmartAI::IsEscortInvokerInRange(), Player::IsInAreaTriggerRadius(), npc_geist_ambusher::JustEngagedWith(), npc_dark_nucleus::JustEngagedWith(), Condition::Meets(), boss_malygos::MoveInLineOfSight(), instance_magisters_terrace::instance_magisters_terrace_InstanceMapScript::OnCreatureCreate(), ICCOrbControllerMinionSearch::operator()(), Trinity::NearestAssistCreatureInCreatureRangeCheck::operator()(), Trinity::NearestCreatureEntryWithLiveStateInObjectRangeCheck::operator()(), Trinity::NearestGameObjectFishingHole::operator()(), Trinity::NearestGameObjectCheck::operator()(), Trinity::NearestGameObjectEntryInObjectRangeCheck::operator()(), Trinity::NearestUnspawnedGameObjectEntryInObjectRangeCheck::operator()(), Trinity::NearestGameObjectTypeInObjectRangeCheck::operator()(), Trinity::NearestPlayerInObjectRangeCheck::operator()(), Trinity::NearestAttackableNoTotemUnitInObjectRangeCheck::operator()(), Trinity::NearestAttackableUnitInObjectRangeCheck::operator()(), Trinity::NearestHostileUnitCheck::operator()(), Trinity::NearestHostileUnitInAttackDistanceCheck::operator()(), HighInquisitorFairbanksDispelMagicTargetSelector::operator()(), ValithriaManaVoidSelector::operator()(), DeathPlagueTargetSelector::operator()(), CatsTargetSelector::operator()(), Trinity::WorldObjectSpellNearbyTargetCheck::operator()(), Map::ScriptsProcess(), npc_enslaved_proto_drake::SetData(), boss_nightbane::boss_nightbaneAI::StartPhaseFly(), Trinity::NearestCheckCustomizer::Update(), boss_broodlord::UpdateAI(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::UpdateAI(), npc_highborne_lamenter::npc_highborne_lamenterAI::UpdateAI(), boss_archimonde::UpdateAI(), boss_kurinnaxx::UpdateAI(), boss_ossirian::boss_ossirianAI::UpdateAI(), boss_ioc_horde_alliance::UpdateAI(), boss_anomalus::UpdateAI(), boss_warchief_kargath_bladefist::UpdateAI(), npc_spark_of_ionar::UpdateAI(), npc_pet_mage_mirror_image::UpdateImageVictim(), BattlegroundEY::UpdatePointStatuses(), npc_pet_dk_rune_weapon::UpdateRuneWeaponVictim(), Unit::UpdateSpeed(), Player::UpdateVisibilityOf(), and Player::UpdateVisibilityOf().
| float WorldObject::GetDistance2d | ( | float | x, |
| float | y | ||
| ) | const |
Definition at line 1148 of file Object.cpp.
References GetCombatReach(), and Position::GetExactDist2d().
| float WorldObject::GetDistance2d | ( | WorldObject const * | obj | ) | const |
Definition at line 1142 of file Object.cpp.
References GetCombatReach(), and Position::GetExactDist2d().
Referenced by spell_krystallus_shatter_effect::CalculateDamage(), spell_gruul_shatter_effect::CalculateDamage(), spell_loken_pulsing_shockwave::CalculateDamage(), boss_drekthar::CheckInRoom(), boss_galvangar::CheckInRoom(), npc_argent_captainAI::DoAction(), npc_ominous_cloud::npc_ominous_cloudAI::DoAction(), boss_faction_championsAI::EnemiesInRange(), spell_mimiron_summon_flames_spread::spell_mimiron_summon_flames_spread_SpellScript::FilterTargets(), BfGraveyard::GetDistance(), npc_dragonflayer_forge_master::GetForgeMasterType(), spell_xt002_heart_overload_periodic::GetRandomToyPile(), misc_commandscript::HandleGetDistanceCommand(), spell_mimiron_fire_search::spell_mimiron_fire_search_SpellScript::HandleScript(), spell_illidan_cage_trap::HandleScriptEffect(), AdvisorBaseAI::IsEnemyInRange(), boss_vanndar::JustEngagedWith(), boss_prince_keleseth_icc::JustSummoned(), npc_hearthsinger_forresten_cot::npc_hearthsinger_forresten_cotAI::MoveInLineOfSight(), npc_chromie_middle::npc_chromie_middleAI::MoveInLineOfSight(), npc_winterfin_playmate::npc_winterfin_playmateAI::MoveInLineOfSight(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::MoveInLineOfSight(), npc_the_biggest_tree::npc_the_biggest_treeAI::MoveInLineOfSight(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::MoveInLineOfSight(), npc_elder_kekek::npc_elder_kekekAI::MoveInLineOfSight(), npc_the_etymidian::npc_the_etymidianAI::MoveInLineOfSight(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::MoveInLineOfSight(), npc_cw_area_trigger::npc_cw_area_triggerAI::MoveInLineOfSight(), npc_grizzlemaw_cw_trigger::npc_grizzlemaw_cw_triggerAI::MoveInLineOfSight(), npc_kelthuzad_minionAI::MoveInLineOfSight(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::MoveInLineOfSight(), npc_jungle_punch_target::MoveInLineOfSight(), CorruptingPlagueSearcher::operator()(), StasisFieldSearcher::operator()(), ChargeTargetSelector::operator()(), OrmorokTanglerPredicate::operator()(), SkarvaldChargePredicate::operator()(), spell_algalon_cosmic_smash_damage::RecalculateDamage(), npc_firework::Reset(), npc_webwrap::SetGUID(), npc_av_marshal_or_warmaster::UpdateAI(), boss_balinda::UpdateAI(), npc_unworthy_initiate::npc_unworthy_initiateAI::UpdateAI(), npc_toc_hunter::UpdateAI(), npc_feral_defender::UpdateAI(), boss_netherspite::boss_netherspiteAI::UpdatePortals(), boss_faction_championsAI::UpdateThreat(), and GameObject::Use().
| bool WorldObject::GetDistanceOrder | ( | WorldObject const * | obj1, |
| WorldObject const * | obj2, | ||
| bool | is3D = true |
||
| ) | const |
Definition at line 1261 of file Object.cpp.
References Position::GetPositionX(), Position::GetPositionY(), and Position::GetPositionZ().
Referenced by Trinity::ObjectDistanceOrderPred::operator()(), and Spell::SearchChainTargets().
| float WorldObject::GetDistanceZ | ( | WorldObject const * | obj | ) | const |
Definition at line 1094 of file Object.cpp.
References GetCombatReach(), and Position::GetPositionZ().
Referenced by Creature::CanStartAttack(), and boss_twinemperorsAI::MoveInLineOfSight().
|
pure virtual |
Implemented in Corpse, DynamicObject, GameObject, and Unit.
Referenced by Spell::EffectSummonType(), GetFactionTemplateEntry(), and SummonTrigger().
|
static |
Definition at line 2750 of file Object.cpp.
References FactionTemplateEntry::Faction, FACTION_TEMPLATE_FLAG_CONTESTED_GUARD, FACTION_TEMPLATE_FLAG_HOSTILE_BY_DEFAULT, FactionTemplateEntry::Flags, GetAffectingPlayer(), GetFactionTemplateEntry(), Unit::HasUnitFlag2(), FactionTemplateEntry::IsFriendlyTo(), FactionTemplateEntry::IsHostileTo(), Object::IsUnit(), PLAYER_FLAGS, PLAYER_FLAGS_CONTESTED_PVP, REP_FRIENDLY, REP_HOSTILE, REP_NEUTRAL, sFactionStore, Object::ToUnit(), and UNIT_FLAG2_IGNORE_REPUTATION.
Referenced by GetReactionTo().
| FactionTemplateEntry const * WorldObject::GetFactionTemplateEntry | ( | ) | const |
Definition at line 2635 of file Object.cpp.
References Entry, GetFaction(), GetName(), Object::GetTypeId(), sFactionTemplateStore, TC_LOG_ERROR, Object::ToCreature(), Object::ToGameObject(), Object::ToPlayer(), TYPEID_GAMEOBJECT, TYPEID_PLAYER, and TYPEID_UNIT.
Referenced by Unit::BuildValuesUpdate(), Player::CanUseBattlegroundObject(), Spell::EffectGameObjectDamage(), GetFactionReactionTo(), GetReactionTo(), Player::GetReputationPriceDiscount(), Unit::IsContestedGuard(), IsHostileToPlayers(), IsNeutralToAll(), and Unit::StopAttackFaction().
| Position WorldObject::GetFirstCollisionPosition | ( | float | dist, |
| float | angle | ||
| ) |
Definition at line 3258 of file Object.cpp.
References Position::GetPosition(), and MovePositionToFirstCollision().
Referenced by Spell::EffectCharge(), Spell::EffectChargeDest(), Spell::EffectPullTowards(), spell_midsummer_fling_torch::HandleDummy(), spell_midsummer_fling_torch_catch::HandleScriptEffect(), and go_caribou_trap::UpdateAI().
| float WorldObject::GetFloorZ | ( | ) | const |
Definition at line 3585 of file Object.cpp.
References GetMap(), GetPhaseMask(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Object::IsInWorld(), m_staticFloorZ, and Z_OFFSET_FIND_HEIGHT.
Referenced by spell_the_lich_king_valkyr_charge::ChargeDest(), npc_icc_nerubar_broodkeeper::DoAction(), npc_valkyr_shadowguard::MovementInform(), spell_kaelthas_gravity_lapse_periodic::OnPeriodic(), Unit::SetHover(), and Creature::UpdateMovementFlags().
| template TC_GAME_API void WorldObject::GetGameObjectListWithEntryInGrid | ( | Container & | gameObjectContainer, |
| uint32 | entry, | ||
| float | maxSearchRange = 250.0f |
||
| ) | const |
Definition at line 3134 of file Object.cpp.
References Cell::VisitGridObjects().
Referenced by npc_geezle::npc_geezleAI::DespawnNagaFlag(), boss_kalecgos::DespawnPortals(), GetGameObjectListWithEntryInGrid(), spell_garfrost_permafrost::PreventHitByLoS(), SmartScript::ProcessEvent(), and boss_marli::Reset().
| template TC_GAME_API void WorldObject::GetGameObjectListWithOptionsInGrid | ( | Container & | gameObjectContainer, |
| float | maxSearchRange, | ||
| FindGameObjectOptions const & | options | ||
| ) | const |
Definition at line 3142 of file Object.cpp.
References Trinity::GameObjectSearcherBase< Check, Result >::i_phaseMask, FindGameObjectOptions::IgnorePhases, PHASEMASK_ANYWHERE, and Cell::VisitGridObjects().
| float WorldObject::GetGridActivationRange | ( | ) | const |
Definition at line 1477 of file Object.cpp.
References DEFAULT_VISIBILITY_INSTANCE, GetMap(), Object::GetTypeId(), GetVisibilityRange(), Map::GetVisibilityRange(), isActiveObject(), Object::ToCreature(), Object::ToPlayer(), and TYPEID_PLAYER.
Referenced by hyjalAI::DoOverrun(), misc_commandscript::HandleRespawnCommand(), hyjalAI::HideNearPos(), hyjalAI::RespawnNearPos(), Map::VisitNearbyCellsOf(), and hyjalAI::WaypointReached().
Definition at line 1198 of file Object.cpp.
References Position::GetAbsoluteAngle(), GetCollisionHeight(), GetCombatReach(), Position::GetExactDist(), Position::GetPosition(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), and Position::Position().
Referenced by GetHitSpherePointFor(), IsWithinLOS(), IsWithinLOSInMap(), and PathGenerator::ShortenPathUntilDist().
| void WorldObject::GetHitSpherePointFor | ( | Position const & | dest, |
| float & | x, | ||
| float & | y, | ||
| float & | z | ||
| ) | const |
Definition at line 1253 of file Object.cpp.
References GetHitSpherePointFor(), Position::GetPositionX(), Position::GetPositionY(), and Position::GetPositionZ().
|
inline |
Definition at line 367 of file Object.h.
Referenced by FormationMgr::AddCreatureToGroup(), Map::AddObjectToRemoveList(), Map::AddObjectToSwitchList(), misc_commandscript::HandleAppearCommand(), WorldSession::HandleGroupInviteOpcode(), group_commandscript::HandleGroupSummonCommand(), mmaps_commandscript::HandleMmapLoadedTilesCommand(), mmaps_commandscript::HandleMmapLocCommand(), npc_commandscript::HandleNpcInfoCommand(), misc_commandscript::HandleSummonCommand(), Unit::Kill(), PathGenerator::PathGenerator(), Player::PrepareQuestMenu(), FormationMgr::RemoveCreatureFromGroup(), Corpse::SaveToDB(), Player::SaveToDB(), and Player::Update().
| InstanceScript * WorldObject::GetInstanceScript | ( | ) | const |
Definition at line 1088 of file Object.cpp.
References GetMap(), and Map::IsDungeon().
Referenced by Pet::AddToWorld(), spell_serpent_shrine_coilfang_water::AfterApply(), spell_ahune_summoning_rhyme_aura::AfterApply(), boss_ambassador_hellmaw::boss_ambassador_hellmaw(), boss_anomalus::boss_anomalus(), boss_shade_of_aran::boss_aranAI::boss_aranAI(), boss_black_knight::boss_black_knightAI::boss_black_knightAI(), boss_doomrel::boss_doomrelAI::boss_doomrelAI(), boss_emperor_dagran_thaurissan::boss_draganthaurissanAI::boss_draganthaurissanAI(), boss_drakkari_elemental::boss_drakkari_elemental(), boss_eadric::boss_eadricAI::boss_eadricAI(), boss_flame_leviathan_seat::boss_flame_leviathan_seatAI::boss_flame_leviathan_seatAI(), boss_hunter_toc5::boss_hunter_toc5AI::boss_hunter_toc5AI(), boss_kalecgos_kj::boss_kalecgos_kjAI::boss_kalecgos_kjAI(), boss_kiljaeden::boss_kiljaedenAI::boss_kiljaedenAI(), boss_mage_toc5::boss_mage_toc5AI::boss_mage_toc5AI(), boss_malchezaar::boss_malchezaarAI::boss_malchezaarAI(), boss_mr_smite::boss_mr_smiteAI::boss_mr_smiteAI(), boss_netherspite::boss_netherspiteAI::boss_netherspiteAI(), boss_paletress::boss_paletressAI::boss_paletressAI(), boss_priestess_delrissa::boss_priestess_delrissa(), boss_priestess_lackey_commonAI::boss_priestess_lackey_commonAI(), boss_rouge_toc5::boss_rouge_toc5AI::boss_rouge_toc5AI(), boss_saronite_animus::boss_saronite_animusAI::boss_saronite_animusAI(), boss_shaman_toc5::boss_shaman_toc5AI::boss_shaman_toc5AI(), boss_silver_hand_bosses::boss_silver_hand_bossesAI::boss_silver_hand_bossesAI(), boss_warrior_toc5::boss_warrior_toc5AI::boss_warrior_toc5AI(), spell_igb_rocket_pack_useable::CheckAreaTarget(), spell_putricide_mutation_init::CheckRequirementInternal(), spell_gen_dungeon_credit::CreditEncounter(), dummy_dragonAI::dummy_dragonAI(), Spell::EffectSendEvent(), npc_gothik_minion_baseAI::EnterEvadeMode(), LightningFieldEvent::Execute(), boss_eye_of_cthun::eye_of_cthunAI::eye_of_cthunAI(), spell_scion_of_eternity_arcane_barrage::FilterMeleeHoverDiskPassangers(), spell_blood_queen_pact_of_the_darkfallen::FilterTargets(), spell_igb_teleport_players_on_victory::FilterTargets(), generic_vehicleAI_toc5::generic_vehicleAI_toc5AI::generic_vehicleAI_toc5AI(), boss_mal_ganis::GetAI(), GrandChampionsOutVehicle(), spell_thaddius_magnetic_pull::HandleCast(), debug_commandscript::HandleDebugInstanceSpawns(), spell_skadi_reset_check::HandleDummy(), spell_volkhan_temper_dummy::HandleDummyEffect(), spell_hadronox_periodic_summon_template_AuraScript::HandlePeriodic(), spell_xt002_321_boombot_aura::HandleProc(), spell_putricide_unbound_plague::HandleScript(), spell_rotface_large_ooze_combine::HandleScript(), spell_rotface_large_ooze_buff_combine::HandleScript(), spell_heigan_eruption::HandleScript(), spell_malygos_vortex_dummy::HandleScript(), spell_auto_repair::spell_auto_repair_SpellScript::HandleScript(), spell_ulduar_rubble_summon::spell_ulduar_rubble_summonSpellScript::HandleScript(), spell_pos_ice_shards::HandleScriptEffect(), spell_alexstrasza_bunny_destroy_platform_event::HandleSendEvent(), spell_putricide_mutated_transformation::HandleSummon(), hyjal_trashAI::hyjal_trashAI(), hyjalAI::hyjalAI(), go_ragnaros_lava_burst_trap::InitializeAI(), npc_anubarak_impale_target::InitializeAI(), npc_skittering_swarmer::InitializeAI(), npc_skittering_infector::InitializeAI(), npc_bjarngrim_stormforged_lieutenant::InitializeAI(), IsEncounterFinished(), SmartAI::IsEscortInvokerInRange(), npc_living_inferno::IsSummonedBy(), npc_living_ember::IsSummonedBy(), npc_frozen_orb::IsSummonedBy(), boss_magmus::boss_magmusAI::JustDied(), npc_fel_crystal::JustDied(), npc_glob_of_viscidus::npc_glob_of_viscidusAI::JustDied(), npc_gunship::npc_gunshipAI::JustDied(), npc_rotting_frost_giant::JustDied(), npc_erekem_guard::JustDied(), boss_magmus::boss_magmusAI::JustEngagedWith(), npc_crystal_channel_target::JustSummoned(), npc_gothik_trigger::JustSummoned(), spell_shadow_portal::Load(), spell_shadow_portal_rooms::Load(), spell_igb_rocket_pack_useable::Load(), spell_igb_gunship_fall_teleport::Load(), spell_igb_teleport_players_on_victory::Load(), spell_the_lich_king_quake::Load(), spell_the_lich_king_harvest_soul::Load(), spell_the_lich_king_restore_soul::Load(), spell_the_lich_king_in_frostmourne_room::Load(), spell_dreamwalker_nightmare_cloud::Load(), spell_scion_of_eternity_arcane_barrage::Load(), spell_violet_hold_destroy_door_seal::Load(), npc_abomination::npc_abominationAI::npc_abominationAI(), npc_acolyte_of_shadron::npc_acolyte_of_shadron(), npc_acolyte_of_vesperon::npc_acolyte_of_vesperon(), npc_akama_shade::npc_akama_shade(), npc_ancient_water_spirit::npc_ancient_water_spiritAI::npc_ancient_water_spiritAI(), npc_announcer_toc5::npc_announcer_toc5AI::npc_announcer_toc5AI(), npc_arcane_overload::npc_arcane_overload(), npc_argent_soldier::npc_argent_soldierAI::npc_argent_soldierAI(), npc_arugal_voidwalker::npc_arugal_voidwalkerAI::npc_arugal_voidwalkerAI(), npc_ashtongue_broken::npc_ashtongue_broken(), npc_ashtongue_channeler::npc_ashtongue_channeler(), npc_ashtongue_defender::npc_ashtongue_defender(), npc_ashtongue_elementalist::npc_ashtongue_elementalist(), npc_ashtongue_rogue::npc_ashtongue_rogue(), npc_ashtongue_sorcerer::npc_ashtongue_sorcerer(), npc_ashtongue_spiritbinder::npc_ashtongue_spiritbinder(), npc_azure_ring_captain::npc_azure_ring_captain(), npc_azure_saboteur::npc_azure_saboteur(), npc_banshee::npc_bansheeAI::npc_bansheeAI(), npc_belnistrasz::npc_belnistraszAI::npc_belnistraszAI(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::npc_blastmaster_emi_shortfuseAI(), npc_brann_bronzebeard_ulduar_intro::npc_brann_bronzebeard_ulduar_introAI::npc_brann_bronzebeard_ulduar_introAI(), npc_brann_hos::npc_brann_hos(), npc_caster_hover_disk::npc_caster_hover_disk(), npc_chaotic_rift::npc_chaotic_rift(), npc_colossus::npc_colossusAI::npc_colossusAI(), npc_corrupted_soul_fragment::npc_corrupted_soul_fragment(), npc_crypt_fiend::npc_crypt_fiendAI::npc_crypt_fiendAI(), npc_dragonflayer_forge_master::npc_dragonflayer_forge_master(), npc_ethereal_sphere::npc_ethereal_sphere(), npc_fel_stalker::npc_fel_stalkerAI::npc_fel_stalkerAI(), npc_feugen::npc_feugen(), npc_frost_wyrm::npc_frost_wyrmAI::npc_frost_wyrmAI(), npc_frostsworn_general::npc_frostsworn_generalAI::npc_frostsworn_generalAI(), npc_gargoyle::npc_gargoyleAI::npc_gargoyleAI(), npc_ghoul::npc_ghoulAI::npc_ghoulAI(), npc_giant_infernal::npc_giant_infernalAI::npc_giant_infernalAI(), npc_grimstone::npc_grimstoneAI::npc_grimstoneAI(), npc_hand_of_the_deceiver::npc_hand_of_the_deceiverAI::npc_hand_of_the_deceiverAI(), npc_harrison_jones::npc_harrison_jonesAI::npc_harrison_jonesAI(), npc_high_overlord_saurfang_icc::npc_high_overlord_saurfang_icc(), npc_ichor_globule::npc_ichor_globule(), npc_idol_room_spawner::npc_idol_room_spawnerAI::npc_idol_room_spawnerAI(), npc_image_of_medivh::npc_image_of_medivhAI::npc_image_of_medivhAI(), npc_ironhand_guardian::npc_ironhand_guardianAI::npc_ironhand_guardianAI(), npc_jaina_fos::npc_jaina_fos(), npc_jaina_or_sylvanas_intro_hor::npc_jaina_or_sylvanas_intro_horAI::npc_jaina_or_sylvanas_intro_horAI(), npc_kiljaeden_controller::npc_kiljaeden_controllerAI::npc_kiljaeden_controllerAI(), npc_living_mojo::npc_living_mojo(), npc_lorekeeper::npc_lorekeeperAI::npc_lorekeeperAI(), npc_melee_hover_disk::npc_melee_hover_disk(), npc_mimiron_computer::npc_mimiron_computerAI::npc_mimiron_computerAI(), npc_mimiron_flames::npc_mimiron_flamesAI::npc_mimiron_flamesAI(), npc_muradin_bronzebeard_icc::npc_muradin_bronzebeard_icc(), npc_necromancer::npc_necromancerAI::npc_necromancerAI(), npc_nerubian_burrower::npc_nerubian_burrower(), npc_nexus_lord::npc_nexus_lord(), npc_portal_eoe::npc_portal_eoe(), npc_power_spark::npc_power_spark(), npc_quel_delar_sword::npc_quel_delar_swordAI::npc_quel_delar_swordAI(), npc_ritual_channeler::npc_ritual_channeler(), npc_rocknot::npc_rocknotAI::npc_rocknotAI(), npc_ruby_emerald_amber_drake::npc_ruby_emerald_amber_drake(), npc_saronite_vapors::npc_saronite_vaporsAI::npc_saronite_vaporsAI(), npc_scion_of_eternity::npc_scion_of_eternity(), npc_sergeant_bly::npc_sergeant_blyAI::npc_sergeant_blyAI(), npc_shadowfang_prisoner::npc_shadowfang_prisonerAI::npc_shadowfang_prisonerAI(), npc_shield_orb::npc_shield_orbAI::npc_shield_orbAI(), npc_sif::npc_sifAI::npc_sifAI(), npc_sinclari_vh::npc_sinclari_vh(), npc_sindragosa_trash::npc_sindragosa_trash(), npc_skadi_trashAI::npc_skadi_trashAI(), npc_snaplasher::npc_snaplasherAI::npc_snaplasherAI(), npc_spark_of_ionar::npc_spark_of_ionar(), npc_stalagg::npc_stalagg(), npc_storm_lasher::npc_storm_lasherAI::npc_storm_lasherAI(), npc_swarm_scarab::npc_swarm_scarab(), npc_sylvanas_fos::npc_sylvanas_fos(), npc_taretha::npc_taretha(), npc_tempest_minion::npc_tempest_minion(), npc_the_lich_king_escape_hor::npc_the_lich_king_escape_horAI::npc_the_lich_king_escape_horAI(), npc_thorim_minibossAI::npc_thorim_minibossAI(), npc_thorim_trashAI::npc_thorim_trashAI(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbrad(), npc_tomb_creature::npc_tomb_creatureAI::npc_tomb_creatureAI(), npc_tribuna_controller::npc_tribuna_controller(), npc_twilight_eggs::npc_twilight_eggs(), npc_unstable_sun_beam::npc_unstable_sun_beamAI::npc_unstable_sun_beamAI(), npc_uther_quel_delar::npc_uther_quel_delarAI::npc_uther_quel_delarAI(), npc_violet_hold_teleportation_portal_commonAI::npc_violet_hold_teleportation_portal_commonAI(), npc_weegli_blastfuse::npc_weegli_blastfuseAI::npc_weegli_blastfuseAI(), npc_wrathbone_flayer::npc_wrathbone_flayer(), npc_zombie_chow::npc_zombie_chow(), spell_halion_twilight_realm_handlers::OnApply(), spell_tyrannus_mark_of_rimefang::OnApply(), achievement_watch_him_die::OnCheck(), achievement_just_cant_get_enough::OnCheck(), achievement_unbroken::OnCheck(), achievement_defenseless::OnCheck(), condition_thorim_arena_leap::OnConditionCheck(), npc_chromie_start::npc_chromie_startAI::OnGossipHello(), go_strange_pool::OnGossipHello(), npc_entrance_faction_leader::OnGossipSelect(), npc_chromie_start::npc_chromie_startAI::OnGossipSelect(), spell_blood_queen_frenzied_bloodthirst::OnRemove(), spell_illidan_akama_door_channel::OnRemoveDummy(), OnlyOnceAreaTriggerScript::OnTrigger(), at_ring_of_law::OnTrigger(), at_dragonspire_hall::OnTrigger(), at_blackrock_stadium::OnTrigger(), at_nearby_scarshield_infiltrator::OnTrigger(), at_malfurion_stormrage::OnTrigger(), at_stratholme_inn_stairs_cot::OnTrigger(), at_black_morass_medivh::OnTrigger(), at_aq_battleguard_sartura::OnTrigger(), at_hor_intro_start::OnTrigger(), at_hor_waves_restarter::OnTrigger(), at_hor_impenetrable_door::OnTrigger(), at_hor_shadow_throne::OnTrigger(), at_hor_uther_quel_delar_start::OnTrigger(), at_tyrannus_event_starter::OnTrigger(), at_pit_cavern_entrance::OnTrigger(), at_pit_cavern_end::OnTrigger(), at_blood_prince_council_start_intro::OnTrigger(), at_sindragosa_lair::OnTrigger(), at_icc_start_frostwing_gauntlet::OnTrigger(), at_frozen_throne_teleport::OnTrigger(), at_icc_saurfang_portal::OnTrigger(), at_icc_shutdown_traps::OnTrigger(), at_icc_start_blood_quickening::OnTrigger(), at_kelthuzad_center::OnTrigger(), at_skadi_gaunlet::OnTrigger(), at_shattered_halls_the_sewer::OnTrigger(), at_nethekurse_exit::OnTrigger(), at_trigger_the_beast_movement::OnTrigger(), at_the_beast_room::OnTrigger(), item_defias_gunpowder::OnUse(), ValithriaDespawner::operator()(), RitualTargetCheck::operator()(), SmartScript::ProcessAction(), OnlyOnceAreaTriggerScript::ResetAreaTriggerDone(), KillRewarder::Reward(), BlackheartCharmedPlayerAI::SelectAttackTarget(), spell_igb_gunship_fall_teleport::SelectTransport(), Player::SendInitWorldStates(), Unit::setDeathState(), npc_crate_helper::npc_crate_helperAI::SpellHit(), npc_gothik_trigger::SummonedCreatureDespawn(), at_witchs_sanctum::TryHandleOnce(), at_baltharus_plateau::TryHandleOnce(), at_lady_deathwhisper_entrance::TryHandleOnce(), at_lord_marrowgar_entrance::TryHandleOnce(), at_anubrekhan_entrance::TryHandleOnce(), at_faerlina_entrance::TryHandleOnce(), at_thaddius_entrance::TryHandleOnce(), at_teron_gorefiend_entrance::TryHandleOnce(), at_zulgurub_entrance::TryHandleOnce(), at_icc_nerubar_broodkeeper::TryHandleOnce(), npc_bone_spike::UpdateAI(), and violet_hold_trashAI::violet_hold_trashAI().
|
inlinevirtual |
Reimplemented in Unit, Creature, and GameObject.
Definition at line 425 of file Object.h.
Referenced by Unit::CalculateAverageResistReduction(), CanDetectStealthOf(), and MagicSpellHitResult().
|
inline |
Definition at line 380 of file Object.h.
Referenced by Unit::IsInWater(), Unit::IsUnderWater(), Unit::ProcessPositionDataChanged(), and Player::ProcessTerrainStatusUpdate().
Definition at line 3102 of file Object.cpp.
References AURA_REMOVE_BY_EXPIRE, SpellInfo::CheckExplicitTarget(), Unit::GetAuraEffectsByType(), GetDistance(), SpellInfo::HasAttribute(), IsValidAttackTarget(), SpellInfo::Speed, SPELL_ATTR0_ABILITY, SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY, SPELL_ATTR1_CANT_BE_REDIRECTED, SPELL_AURA_SPELL_MAGNET, and SPELL_CAST_OK.
Referenced by Spell::SelectExplicitTargets().
|
inline |
Definition at line 451 of file Object.h.
References ASSERT.
Referenced by Unit::_ExitVehicle(), Map::_FindGameObject(), Battleground::_ProcessResurrect(), FormationMgr::AddCreatureToGroup(), Map::AddPlayerToMap(), AddToObjectUpdate(), Corpse::AddToWorld(), Creature::AddToWorld(), DynamicObject::AddToWorld(), GameObject::AddToWorld(), AddToWorld(), Pet::AddToWorld(), spell_kelidan_the_breaker_burning_nova::AfterApply(), spell_sha_sentry_totem::AfterApply(), spell_kelidan_the_breaker_burning_nova::AfterRemove(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::AggroAllPlayers(), AggroAllPlayers(), npc_announcer_toc5::npc_announcer_toc5AI::AggroAllPlayers(), Map::ApplyDynamicModeRespawnScaling(), spell_kargath_executioner::AreaCheck(), CinematicMgr::BeginCinematic(), boss_four_horsemen_baseAI::BeginEncounter(), DynamicObject::BindToCaster(), Player::BuildPlayerRepop(), PathGenerator::BuildPolyPath(), Transport::BuildUpdate(), CombatManager::CanBeginCombat(), Creature::CanCreatureAttack(), CanNeverSee(), Player::CanRollForItemInLFG(), Spell::CheckCast(), Player::CheckDuelDistance(), Spell::CheckEffectTarget(), spell_sha_fire_nova::CheckFireTotem(), boss_general_vezax::boss_general_vezaxAI::CheckPlayersInRange(), boss_general_vezax::boss_general_vezaxAI::CheckShamanisticRage(), Creature::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), Player::CreateCorpse(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), TransportMgr::CreateTransport(), boss_the_lich_king::DamageTaken(), Transport::DelayedTeleportTransport(), boss_nalorakk::DoAction(), npc_halion_controller::DoAction(), npc_tirion_toc::DoAction(), npc_high_overlord_saurfang_igb::DoAction(), npc_muradin_bronzebeard_igb::DoAction(), npc_crok_scourgebane::DoAction(), boss_the_lich_king::DoAction(), boss_yogg_saron::boss_yogg_saronAI::DoAction(), boss_leotheras_the_blind::DoAction(), boss_kelidan_the_breaker::DoAction(), npc_halion_controller::DoCheckEvade(), boss_hexlord_malacrass::DoDespawnCompanions(), Transport::DoEventIfAny(), FlightPathMovementGenerator::DoEventIfAny(), WorldSession::DoLootRelease(), boss_hexlord_malacrass::DoSpawnCompanions(), ScriptedAI::DoTeleportAll(), CreatureAI::DoZoneInCombat(), Player::DuelComplete(), DynObjAura::DynObjAura(), Spell::EffectAddFarsight(), Spell::EffectCreateTamedPet(), Spell::EffectDestroyAllTotems(), Spell::EffectDuel(), Spell::EffectPersistentAA(), Spell::EffectSanctuary(), Spell::EffectSendEvent(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPet(), Spell::EffectSummonType(), Spell::EffectTameCreature(), Spell::EffectTransmitted(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::EnterEvadeMode(), boss_anzu::EnterEvadeMode(), boss_akilzon::EnterEvadeMode(), boss_malygos::EnterEvadeMode(), boss_fathomlord_karathress::EnterEvadeMode(), boss_the_lurker_below::EnterEvadeMode(), boss_kaelthas::EnterEvadeMode(), boss_illidan_stormrage::EnterEvadeModeIfNeeded(), boss_shade_of_akama::EnterEvadeModeIfNeeded(), GameObject::EventInform(), BattleExperienceEvent::Execute(), ArthasPortalEvent::Execute(), SmartScript::FillScript(), spell_rotface_vile_gas_trigger::FilterTargets(), spell_sindragosa_unchained_magic::FilterTargets(), spell_malygos_arcane_storm::FilterTargets(), SmartScript::FindCreatureNear(), FindEligibleTarget(), SmartScript::FindGameObjectNear(), Creature::ForcedDespawn(), Trinity::XP::Gain(), Player::GetCorpse(), ObjectAccessor::GetCorpse(), ObjectAccessor::GetCreature(), ChatHandler::GetCreatureFromPlayerMapByDbGuid(), ObjectAccessor::GetDynamicObject(), GetFloorZ(), ObjectAccessor::GetGameObject(), GetGridActivationRange(), GetInstanceScript(), GetMapHeight(), GetMapWaterOrGroundLevel(), PathGenerator::GetNavTerrain(), ChatHandler::GetObjectFromPlayerMapByDbGuid(), ObjectAccessor::GetPet(), ObjectAccessor::GetPlayer(), npc_minigob_manabonk::GetPlayersInDalaran(), GetSightRange(), SpellMgr::GetSpellIdForDifficulty(), ObjectAccessor::GetTransport(), GetVisibilityRange(), misc_commandscript::HandleAppearCommand(), WorldSession::HandleAreaTriggerOpcode(), AuraEffect::HandleAuraDummy(), WorldSession::HandleAutostoreLootItemOpcode(), misc_commandscript::HandleChangeWeather(), spell_freezing_circle::HandleDamage(), debug_commandscript::HandleDebugInstanceSpawns(), debug_commandscript::HandleDebugSpawnVehicleCommand(), OutdoorPvPSI::HandleDropFlag(), spell_sholazar_shoot_rjr::HandleDummy(), spell_item_nitro_boosts::HandleDummy(), spell_sha_fire_nova::HandleDummy(), AuraEffect::HandleFeignDeath(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectInfoCommand(), group_commandscript::HandleGroupSummonCommand(), spell_sindragosa_frost_breath::HandleInfusion(), instance_commandscript::HandleInstanceSaveDataCommand(), list_commandscript::HandleListCreatureCommand(), list_commandscript::HandleListObjectCommand(), list_commandscript::HandleListRespawnsCommand(), list_commandscript::HandleListSpawnPointsCommand(), WorldSession::HandleLootMasterGiveOpcode(), WorldSession::HandleLootMoneyOpcode(), AuraEffect::HandleModPossessPet(), AuraEffect::HandleModUnattackable(), WorldSession::HandleMovementOpcode(), WorldSession::HandleMoveWorldportAck(), npc_commandscript::HandleNpcAddCommand(), HandleNpcDespawnGroup(), npc_commandscript::HandleNpcInfoCommand(), HandleNpcSpawnGroup(), npc_commandscript::HandleNpcTameCommand(), spell_volkhan_cool_down::HandlePeriodicDummyEffect(), spell_krick_explosive_barrage::HandlePeriodicTick(), pet_commandscript::HandlePetCreateCommand(), WorldSession::HandlePlayerLogin(), AuraEffect::HandlePreventResurrection(), spell_putricide_gaseous_bloat::HandleProc(), spell_festergut_blighted_spores::HandleResidue(), spell_rotface_slime_spray::HandleResidue(), misc_commandscript::HandleRespawnCommand(), spell_prince_taldaram_conjure_flame_sphere::HandleScript(), spell_gal_darah_clear_puncture::HandleScript(), spell_ulduar_cancel_stone_grip::spell_ulduar_cancel_stone_gripSpellScript::HandleScript(), spell_sha_stoneclaw_totem::HandleScriptEffect(), spell_alexstrasza_bunny_destroy_platform_event::HandleSendEvent(), WorldSession::HandleSetDungeonDifficultyOpcode(), WorldSession::HandleSetRaidDifficultyOpcode(), spell_halion_damage_aoe_summon::HandleSummon(), spell_putricide_mutated_transformation::HandleSummon(), spell_dk_raise_ally::spell_dk_raise_ally_SpellScript::HandleSummon(), misc_commandscript::HandleSummonCommand(), wp_commandscript::HandleWpModifyCommand(), wp_commandscript::HandleWpShowCommand(), Player::HasQuestForGO(), Player::HasQuestForItem(), hyjalAI::HideNearPos(), Creature::InitEntry(), TempSummon::InitStats(), Player::inRandomLfgDungeon(), InstanceHasScript(), Player::IsAtGroupRewardDistance(), Unit::isAttackingPlayer(), IsInMap(), npc_living_inferno::IsSummonedBy(), IsVampire(), IsWithinLOS(), IsWithinLOSInMap(), boss_crone::JustAppeared(), boss_janalai::JustAppeared(), npc_halion_controller::JustAppeared(), boss_nexusprince_shaffar::JustAppeared(), boss_fathomlord_karathress::JustAppeared(), boss_leotheras_the_blind::JustAppeared(), boss_kelidan_the_breaker::JustAppeared(), boss_kaelthas::JustAppeared(), boss_coren_direbrew::JustDied(), boss_crone::JustDied(), boss_headless_horseman::JustDied(), boss_apothecary_hummel::JustDied(), boss_akilzon::JustDied(), npc_acolyte_of_shadron::JustDied(), npc_acolyte_of_vesperon::JustDied(), npc_gunship::npc_gunshipAI::JustDied(), boss_the_lich_king::JustDied(), boss_flame_leviathan_safety_container::boss_flame_leviathan_safety_containerAI::JustDied(), boss_freya::boss_freyaAI::JustDied(), boss_yogg_saron::boss_yogg_saronAI::JustDied(), boss_anzu::JustDied(), boss_the_lurker_below::JustDied(), boss_ahune::JustDied(), boss_kaelthas::JustDied(), boss_ossirian::boss_ossirianAI::JustEngagedWith(), boss_heigan::JustEngagedWith(), boss_crone::JustReachedHome(), boss_nexusprince_shaffar::JustReachedHome(), boss_prince_valanar_icc::JustSummoned(), boss_the_lich_king::JustSummoned(), boss_sara::boss_saraAI::JustSummoned(), Unit::Kill(), Player::KilledMonsterCredit(), Player::KilledPlayerCredit(), spell_the_lich_king_vile_spirits::Load(), Creature::LoadFromDB(), GameObject::LoadFromDB(), Pet::LoadPetFromDB(), Transport::LoadStaticPassengers(), AchievementCriteriaData::Meets(), spell_mimiron_magnetic_core_summon::ModDest(), spell_skyguard_flare::ModDestHeight(), MotionMaster::MoveFall(), npc_high_overlord_saurfang_icc::MovementInform(), npc_muradin_bronzebeard_icc::MovementInform(), boss_malygos::MovementInform(), boss_the_lich_king::MovementInform(), MovePositionToFirstCollision(), npc_image_of_medivh::npc_image_of_medivhAI::NextStep(), WaypointMovementGenerator< Creature >::OnArrived(), go_gauntlet_gate::go_gauntlet_gateAI::OnGossipHello(), go_strange_pool::OnGossipHello(), npc_grandmother::OnGossipSelect(), lfg::LFGPlayerScript::OnMapChanged(), spell_black_morass_time_rift_periodic::OnPeriodic(), spell_malygos_destroy_platform_channel::OnRemove(), spell_alexstrasza_gift_beam_visual::OnRemove(), spell_ulduar_stone_grip_absorb::spell_ulduar_stone_grip_absorb_AuraScript::OnRemove(), at_ancient_leaf::OnTrigger(), at_sindragosa_lair::OnTrigger(), at_icc_saurfang_portal::OnTrigger(), spell_halion_twilight_phasing::Phase(), Player::PrepareQuestMenu(), SmartScript::ProcessAction(), spell_bronjahm_magic_bane::RecalculateDamage(), GameObject::Refresh(), Vehicle::RelocatePassengers(), Creature::RemoveCorpse(), FormationMgr::RemoveCreatureFromGroup(), Player::RemovedInsignia(), RemoveFromObjectUpdate(), Corpse::RemoveFromWorld(), Creature::RemoveFromWorld(), DynamicObject::RemoveFromWorld(), GameObject::RemoveFromWorld(), Pet::RemoveFromWorld(), Player::RepopAtGraveyard(), AchievementMgr::RequirementsSatisfied(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::Reset(), boss_sacrolash::Reset(), boss_alythess::Reset(), boss_nalorakk::Reset(), npc_kinetic_bomb::Reset(), boss_the_lich_king::Reset(), boss_high_king_maulgar::Reset(), Player::ResetMap(), boss_volazj::ResetPlayersPhaseMask(), GameObject::Respawn(), Creature::Respawn(), hyjalAI::RespawnNearPos(), Player::RewardQuest(), Player::RewardReputation(), Creature::SaveRespawnTime(), GameObject::SaveRespawnTime(), Map::ScriptsProcess(), Spell::SearchTargets(), Spell::SelectEffectTypeImplicitTargets(), Spell::SelectImplicitCasterDestTargets(), CreatureTextMgr::SendChatPacket(), Player::SendInitialPacketsBeforeAddToMap(), Player::SendLoot(), Spell::SendLoot(), CreatureTextMgr::SendNonChatPacket(), Player::SendQuestGiverStatusMultiple(), Player::SetBattlegroundEntryPoint(), Creature::setDeathState(), Pet::setDeathState(), spell_spawn_blood_pool::SetDest(), SetIsStoredInWorldObjectGridContainer(), GameObject::SetLootState(), Unit::SetPhaseMask(), PathGenerator::ShortenPathUntilDist(), Player::SpawnCorpseBones(), npc_crate_helper::npc_crate_helperAI::SpellHit(), boss_the_lich_king::SpellHit(), boss_volazj::SpellHitTarget(), SummonCroneIfReady(), boss_volazj::SummonedCreatureDespawn(), SummonGameObject(), Spell::SummonGuardian(), Player::SummonPet(), lfg::LFGMgr::TeleportPlayer(), Player::TeleportTo(), Transport::TeleportTransport(), Unit::UnsummonAllTotems(), Pet::Update(), Transport::Update(), DynamicObject::Update(), GameObject::Update(), Creature::Update(), Player::Update(), EscortAI::UpdateAI(), boss_pyroguard_emberseer::UpdateAI(), boss_chromaggus::UpdateAI(), boss_julianne::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), boss_akilzon::UpdateAI(), npc_medivh_bm::UpdateAI(), boss_cthun::cthunAI::UpdateAI(), npc_halion_controller::UpdateAI(), boss_lich_king_toc::UpdateAI(), npc_high_overlord_saurfang_igb::UpdateAI(), npc_muradin_bronzebeard_igb::UpdateAI(), boss_the_lich_king::UpdateAI(), npc_ioc_gunship_captain::UpdateAI(), boss_malygos::UpdateAI(), npc_brann_bronzebeard_algalon::UpdateAI(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::UpdateAI(), npc_minigob_manabonk::UpdateAI(), boss_anzu::UpdateAI(), boss_the_lurker_below::UpdateAI(), generic_vehicleAI_toc5::generic_vehicleAI_toc5AI::UpdateAI(), boss_warrior_toc5::boss_warrior_toc5AI::UpdateAI(), boss_hunter_toc5::boss_hunter_toc5AI::UpdateAI(), GameObject::UpdateModel(), GameObject::UpdateModelPosition(), Transport::UpdatePassengerPositions(), boss_netherspite::boss_netherspiteAI::UpdatePortals(), Unit::UpdatePosition(), Transport::UpdatePosition(), UpdatePositionData(), Player::UpdateTriggerVisibility(), Player::UpdateZone(), GameObject::Use(), ObjectGridEvacuator::Visit(), ObjectGridEvacuator::Visit(), Cell::VisitAllObjects(), Cell::VisitGridObjects(), Cell::VisitWorldObjects(), and npc_thrall_old_hillsbrad::WaypointReached().
| float WorldObject::GetMapHeight | ( | float | x, |
| float | y, | ||
| float | z, | ||
| bool | vmap = true, |
||
| float | distanceToSearch = 50.0f |
||
| ) | const |
Definition at line 3605 of file Object.cpp.
References Map::GetHeight(), GetMap(), GetPhaseMask(), MAX_HEIGHT, and Z_OFFSET_FIND_HEIGHT.
Referenced by MotionMaster::MoveCirclePath(), MotionMaster::MoveFall(), MovePosition(), Spell::SelectImplicitCasterDestTargets(), spell_muru_summon_void_sentinel_summoner::SetDest(), spell_vazruden_summon_vazruden::SetDest(), UpdateAllowedPositionZ(), and UpdateGroundPositionZ().
| float WorldObject::GetMapWaterOrGroundLevel | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float * | ground = nullptr |
||
| ) | const |
Definition at line 3592 of file Object.cpp.
References GetCollisionHeight(), GetMap(), GetPhaseMask(), Map::GetWaterOrGroundLevel(), Unit::HasAuraType(), SPELL_AURA_WATER_WALK, and Object::ToUnit().
Referenced by UpdateAllowedPositionZ().
|
inline |
Definition at line 384 of file Object.h.
Referenced by npc_commandscript::_IterateNotNormalLootMap(), Player::_LoadActions(), Player::_LoadAuras(), Player::_LoadBoundInstances(), Player::_LoadDailyQuestStatus(), Player::_LoadGlyphAuras(), Player::_LoadHomeBind(), Player::_LoadInventory(), Player::_LoadItem(), Player::_LoadMailedItem(), Player::_LoadMonthlyQuestStatus(), Player::_LoadQuestStatus(), Player::_LoadSeasonalQuestStatus(), Player::_LoadSkills(), Player::_LoadWeeklyQuestStatus(), Player::_SaveInventory(), Player::_StoreItem(), Player::AddActionButton(), Player::AddItemToBuyBackSlot(), Group::AddLeaderInvite(), Guild::AddMember(), ArenaTeam::AddMember(), Group::AddMember(), Vehicle::AddPassenger(), Transport::AddPassenger(), InstanceMap::AddPlayerToMap(), Player::AddSpellMod(), Player::ApplyBaseModPctValue(), Player::ApplyEnchantment(), Player::ApplyEquipSpell(), Player::BindToInstance(), Group::BroadcastGroupUpdate(), WorldSession::BuildPartyMemberStatsChangedPacket(), Player::BuildPlayerRepop(), Player::BuyItemFromVendorSlot(), Creature::CallForHelp(), Player::CanBankItem(), Player::CanEquipItem(), InstanceMap::CannotEnter(), WorldSession::CanOpenMailBox(), Player::CanStoreItems(), Player::CanUnequipItem(), Player::CanUseItem(), Player::CastItemCombatSpell(), Group::ChangeLeader(), Player::CharmSpellInitialize(), Player::CheckAreaExplore(), Player::CleanupChannels(), AchievementMgr::CompletedAchievement(), Group::ConvertLeaderInstancesToGroup(), Corpse::Create(), Group::Create(), Guild::Create(), TransportMgr::CreateTransport(), ArenaTeam::DelMember(), Player::DestroyConjuredItems(), Player::DestroyItem(), Player::DestroyItemCount(), Player::DestroyItemCount(), Player::DestroyZoneLimitedItem(), Transport::DoEventIfAny(), FlightPathMovementGenerator::DoEventIfAny(), Player::DuelComplete(), Player::DurabilityRepair(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), Spell::EffectStuck(), Player::EnvironmentalDamage(), Player::EquipItem(), ChatHandler::extractPlayerTarget(), Pet::FillPetInfo(), Player::GetBaseModValue(), ObjectMgr::GetClosestGraveyard(), GetDebugInfo(), GetFactionTemplateEntry(), Player::GetItemFromBuyBackSlot(), GameObject::GetNameForLocaleIdx(), Creature::GetNameForLocaleIdx(), ChatHandler::GetNameLink(), WorldSession::GetPlayerInfo(), WorldSession::GetPlayerName(), ReputationMgr::GetReputation(), Player::GetTotalBaseModValue(), Player::GetXPRestBonus(), GmTicket::GmTicket(), group_commandscript::GroupFlagCommand(), WorldSession::HandleAcceptTradeOpcode(), account_commandscript::HandleAccountCreateCommand(), account_commandscript::HandleAccountEmailCommand(), account_commandscript::HandleAccountPasswordCommand(), spell_rog_deadly_poison::HandleAfterHit(), WorldSession::HandleAreaTriggerOpcode(), WorldSession::HandleArenaTeamAcceptOpcode(), WorldSession::HandleArenaTeamInviteOpcode(), WorldSession::HandleArenaTeamLeaderOpcode(), WorldSession::HandleArenaTeamLeaveOpcode(), WorldSession::HandleArenaTeamRemoveOpcode(), WorldSession::HandleAuctionSellItem(), Player::HandleBaseModFlatValue(), WorldSession::HandleBattlefieldListOpcode(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), WorldSession::HandleChatMessage(), misc_commandscript::HandleDamageGoCommand(), debug_commandscript::HandleDebugCombatListCommand(), debug_commandscript::HandleDebugGetLootRecipientCommand(), debug_commandscript::HandleDebugLoSCommand(), debug_commandscript::HandleDebugSendOpcodeCommand(), debug_commandscript::HandleDebugThreatInfoCommand(), debug_commandscript::HandleDebugThreatListCommand(), debug_commandscript::HandleDebugTransportCommand(), WorldSession::HandleDuelAccepted(), WorldSession::HandleFarSightOpcode(), WorldSession::HandleForceSpeedChangeAck(), misc_commandscript::HandleFreezeCommand(), ticket_commandscript::HandleGMTicketCloseByIdCommand(), ticket_commandscript::HandleGMTicketCommentCommand(), ticket_commandscript::HandleGMTicketCompleteCommand(), ticket_commandscript::HandleGMTicketDeleteByIdCommand(), ticket_commandscript::HandleGMTicketUnAssignCommand(), WorldSession::HandleGrantLevel(), WorldSession::HandleGroupDeclineOpcode(), group_commandscript::HandleGroupDisbandCommand(), group_commandscript::HandleGroupJoinCommand(), group_commandscript::HandleGroupLeaderCommand(), group_commandscript::HandleGroupRemoveCommand(), WorldSession::HandleInstanceLockResponse(), Guild::HandleInviteMember(), Guild::HandleLeaveMember(), lookup_commandscript::HandleLookupTitleCommand(), WorldSession::HandleLootMasterGiveOpcode(), WorldSession::HandleMailTakeItem(), Guild::HandleMemberDepositMoney(), Guild::HandleMemberLogout(), mmaps_commandscript::HandleMmapPathCommand(), WorldSession::HandleMoveNotActiveMover(), WorldSession::HandleMoveWorldportAck(), npc_commandscript::HandleNpcFollowCommand(), npc_commandscript::HandleNpcInfoCommand(), npc_commandscript::HandleNpcSetDataCommand(), npc_commandscript::HandleNpcShowLootCommand(), npc_commandscript::HandleNpcUnFollowCommand(), WorldSession::HandleOfferPetitionOpcode(), WorldSession::HandleOpenItemOpcode(), WorldSession::HandlePetitionBuyOpcode(), WorldSession::HandlePetSetAction(), OutdoorPvP::HandlePlayerLeaveZone(), WorldSession::HandlePlayerLogin(), WorldSession::HandleQuestgiverChooseRewardOpcode(), WorldSession::HandleQuestgiverCompleteQuest(), Guild::HandleRemoveMember(), WorldSession::HandleReportPvPAFK(), WorldSession::HandleRequestPartyMemberStatsOpcode(), WorldSession::HandleSetActiveMoverOpcode(), WorldSession::HandleSetDungeonDifficultyOpcode(), Guild::HandleSetNewGuildMaster(), WorldSession::HandleSetRaidDifficultyOpcode(), WorldSession::HandleSignPetition(), misc_commandscript::HandleSummonCommand(), titles_commandscript::HandleTitlesAddCommand(), titles_commandscript::HandleTitlesCurrentCommand(), titles_commandscript::HandleTitlesRemoveCommand(), WorldSession::HandleTurnInPetitionOpcode(), misc_commandscript::HandleUnFreezeCommand(), Guild::HandleUpdateMemberRank(), WorldSession::HandleWorldTeleportOpcode(), Creature::HasSpellFocus(), Player::InitDisplayIds(), PlayerNameMapHolder::Insert(), Channel::Invite(), BattlegroundQueue::InviteGroupToBG(), Player::IsActionButtonDataValid(), ReputationMgr::IsAtWar(), lfg::LFGMgr::JoinLfg(), boss_four_horsemen_baseAI::JustDied(), WorldSession::KickPlayer(), Player::LearnCustomSpells(), Player::LoadFromDB(), LogCommandUsage(), WorldSession::LogoutPlayer(), WorldSession::moveItems(), ChatLogScript::OnChat(), ChatLogScript::OnChat(), ChatLogScript::OnChat(), ChatLogScript::OnChat(), ChatLogScript::OnChat(), Player::OnGossipSelect(), lfg::LFGPlayerScript::OnMapChanged(), Unit::OutDebugInfo(), InstanceMap::PermBindAllPlayers(), MapManager::PlayerCannotEnter(), Map::PlayerRelocation(), Player::PrepareGossipMenu(), PrintPlayerInfo(), SmartScript::ProcessAction(), PlayerNameMapHolder::Remove(), Player::RemoveActionButton(), Map::RemoveAllPlayers(), Player::RemoveFromWorld(), Player::RemoveItem(), Player::RemoveItemFromBuyBackSlot(), Vehicle::RemovePassenger(), Transport::RemovePassenger(), Player::RemovePet(), Battleground::RemovePlayerAtLeave(), InstanceMap::RemovePlayerFromMap(), BattlegroundMap::RemovePlayerFromMap(), Creature::Respawn(), Player::SatisfyQuestBreadcrumbQuest(), Player::SatisfyQuestClass(), Player::SatisfyQuestConditions(), Player::SatisfyQuestDependentBreadcrumbQuests(), Player::SatisfyQuestDependentPreviousQuests(), Player::SatisfyQuestExclusiveGroup(), Player::SatisfyQuestLevel(), Player::SatisfyQuestPreviousQuest(), Player::SatisfyQuestRace(), Player::SatisfyQuestReputation(), Player::SatisfyQuestSkill(), Player::SatisfyQuestStatus(), Player::SatisfyQuestTimed(), Player::SaveToDB(), AchievementMgr::SendAchievementEarned(), AuctionHouseMgr::SendAuctionWonMail(), Guild::SendBankList(), CreatureTextMgr::SendChat(), Guild::SendLoginInfo(), Player::SendLoot(), Spell::SendLoot(), WorldSession::SendQueryPetNameResponse(), BattlegroundMgr::SendToBattleground(), ArenaTeam::SetCaptain(), Unit::SetCharm(), Player::SetClientControl(), Player::setDeathState(), Player::SetEquipmentSet(), Channel::SetMode(), Player::SetSkill(), Guild::Member::SetStats(), Creature::SetTextRepeatId(), Player::SetViewpoint(), Player::SplitItem(), FollowerAI::StartFollow(), Player::StopCastingCharm(), Player::StoreNewItemInBestSlots(), SummonCreatureGroup(), Player::SwapItem(), lfg::LFGMgr::TeleportPlayer(), Player::TeleportTo(), Pet::Update(), Transport::Update(), Player::Update(), AchievementMgr::UpdateAchievementCriteria(), Player::UpdateCraftSkill(), Player::UpdateFishingSkill(), Player::UpdateGatherSkill(), Player::UpdateHomebindTime(), Player::UpdateItemDuration(), Player::UpdateSkillPro(), GameObject::Use(), Player::VehicleSpellInitialize(), Player::VisualizeItem(), and Player::Whisper().
|
inlineoverridevirtual |
Implements Object.
Definition at line 387 of file Object.h.
Referenced by Trinity::EmoteChatBuilder::operator()(), Spell::SendResurrectRequest(), WorldPackets::Chat::Chat::SetReceiver(), and WorldPackets::Chat::Chat::SetSender().
| void WorldObject::GetNearPoint | ( | WorldObject const * | searcher, |
| float & | x, | ||
| float & | y, | ||
| float & | z, | ||
| float | distance2d, | ||
| float | absAngle | ||
| ) | const |
Definition at line 3210 of file Object.cpp.
References CONFIG_DETECT_POS_COLLISION, GetNearPoint2D(), Position::GetPositionZ(), IsWithinLOS(), M_PI, sWorld, and UpdateAllowedPositionZ().
Referenced by GetClosePoint(), GetContactPoint(), npc_molten_flame::InitializeAI(), ChaseMovementGenerator::Update(), FollowMovementGenerator::Update(), and hyjalAI::WaypointReached().
| void WorldObject::GetNearPoint2D | ( | WorldObject const * | searcher, |
| float & | x, | ||
| float & | y, | ||
| float | distance, | ||
| float | absAngle | ||
| ) | const |
Definition at line 3181 of file Object.cpp.
References GetCombatReach(), Unit::GetHoverOffset(), Position::GetPositionX(), Position::GetPositionY(), Trinity::NormalizeMapCoord(), Object::ToUnit(), and Object::ToUnit().
Referenced by GetNearPoint(), npc_coldflame::IsSummonedBy(), MotionMaster::MoveJumpTo(), and npc_frostbrood_skytalon::UpdateAI().
| Position WorldObject::GetNearPosition | ( | float | dist, |
| float | angle | ||
| ) |
Definition at line 3251 of file Object.cpp.
References Position::GetPosition(), and MovePosition().
Referenced by npc_meteor_strike_initial::IsSummonedBy(), spell_svalna_revive_champion::Land(), spell_grizzly_hills_escape_from_silverbrook_summon_worgen::ModDest(), npc_meteor_strike::UpdateAI(), npc_meteor_strike_flame::UpdateAI(), and npc_coldflame::UpdateAI().
| Unit * WorldObject::GetOwner | ( | ) | const |
Definition at line 2181 of file Object.cpp.
References GetOwnerGUID(), and ObjectAccessor::GetUnit().
Referenced by Unit::ApplyResilience(), TotemAI::AttackStart(), spell_dk_anti_magic_zone::CalculateAmount(), spell_dk_avoidance_passive::spell_dk_avoidance_passive_AuraScript::CalculateAvoidanceAmount(), spell_dk_rune_weapon_scaling_02::spell_dk_rune_weapon_scaling_02_AuraScript::CalculateDamageDoneAmount(), spell_dk_pet_scaling_01::spell_dk_pet_scaling_01_AuraScript::CalculateStaminaAmount(), spell_dk_pet_scaling_01::spell_dk_pet_scaling_01_AuraScript::CalculateStrengthAmount(), npc_pet_dk_guardian::CanAIAttack(), npc_pet_dk_rune_weapon::CanAIAttack(), npc_pet_mage_mirror_image::CanAIAttack(), CanDetectStealthOf(), spell_dk_blood_gorged::CheckProc(), spell_pri_mana_leech::CheckProc(), spell_pri_shadowfiend_death::CheckProc(), Unit::DealHeal(), npc_spring_rabbit::npc_spring_rabbitAI::DoAction(), Spell::EffectOpenLock(), Spell::EffectSchoolDMG(), npc_phantom_hallucination::npc_phantom_hallucinationAI::EnterEvadeMode(), ThreatManager::ForwardThreatForAssistingMe(), GetCharmerOrOwner(), Unit::GetCombatRatingReduction(), GameObject::GetLevelForTarget(), Unit::GetNextRandomRaidMemberOrPet(), GetSpellModOwner(), Aura::HandleAuraSpecificMods(), debug_commandscript::HandleDebugThreatListCommand(), spell_sha_mana_tide_totem::HandleDummy(), spell_warl_seduction::HandleDummy(), spell_mount_check::HandleEffectPeriodic(), spell_gen_gryphon_wyvern_mount_check::HandleEffectPeriodic(), spell_gen_pony_mount_check::HandleEffectPeriodic(), modify_commandscript::HandleModifyTalentCommand(), WorldSession::HandlePetActionHelper(), spell_hun_kill_command_pet::HandleProc(), spell_warl_demonic_pact::HandleProc(), spell_pri_shadowfiend_death::HandleProc(), spell_sha_spirit_hunt::HandleProc(), reset_commandscript::HandleResetTalentsCommand(), spell_icecrown_assign_credit_to_master::HandleScript(), spell_hun_pet_heart_of_the_phoenix::HandleScript(), npc_troll_volunteer::InitializeAI(), npc_pet_mage_mirror_image::InitializeAI(), GameObject::IsAlwaysVisibleFor(), Unit::IsAlwaysVisibleFor(), IsValidAttackTarget(), npc_scarlet_ghoul::JustAppeared(), npc_pet_gen_soul_trader::JustAppeared(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), npc_pet_dk_ebon_gargoyle::JustDied(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::JustDied(), Unit::Kill(), Unit::MeleeDamageBonusDone(), npc_dkc1_gothik::npc_dkc1_gothikAI::MoveInLineOfSight(), npc_pet_gen_soul_trader::OnDespawn(), spell_warl_devour_magic::OnSuccessfulDispel(), Trinity::MostHPMissingGroupInRange::operator()(), Unit::RemoveFromWorld(), npc_spring_rabbit::npc_spring_rabbitAI::Reset(), Unit::RestoreFaction(), Creature::SelectVictim(), Unit::SendPetActionFeedback(), Unit::SendPetAIReaction(), Unit::SetHealth(), Unit::SetMaxHealth(), Unit::SetMaxPower(), Unit::SetPower(), Unit::SetPowerType(), Unit::SpellDamageBonusDone(), Unit::SpellDamagePctDone(), Unit::SpellHealingBonusDone(), Unit::SpellHealingPctDone(), npc_pet_dk_ebon_gargoyle::SpellHit(), GameObject::Update(), npc_scarlet_courier::npc_scarlet_courierAI::UpdateAI(), npc_pet_dk_rune_weapon::UpdateAI(), npc_pet_mage_mirror_image::UpdateAI(), npc_scarlet_ghoul::UpdateAI(), Unit::UpdateAuraForGroup(), npc_pet_mage_mirror_image::UpdateImageVictim(), npc_pet_dk_rune_weapon::UpdateRuneWeaponVictim(), and GameObject::Use().
|
pure virtual |
Implemented in Corpse, DynamicObject, GameObject, and Unit.
Referenced by GetOwner(), and GameObject::SetOwnerGUID().
|
inline |
Definition at line 370 of file Object.h.
Referenced by Unit::_ExitVehicle(), AddToWorld(), PathGenerator::BuildPolyPath(), Map::ConvertCorpseToBones(), Creature::Create(), Corpse::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), DynamicObject::CreateDynamicObject(), Spell::EffectDuel(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectTransmitted(), GameObject::EnableCollision(), GetFloorZ(), GetMapHeight(), GetMapWaterOrGroundLevel(), PathGenerator::GetNavTerrain(), GameObjectModelOwnerImpl::GetPhaseMask(), Player::GetPhaseMaskForSpawn(), misc_commandscript::HandleAppearCommand(), debug_commandscript::HandleDebugSpawnVehicleCommand(), OutdoorPvPSI::HandleDropFlag(), spell_sholazar_shoot_rjr::HandleDummy(), misc_commandscript::HandleGPSCommand(), group_commandscript::HandleGroupListCommand(), npc_commandscript::HandleNpcInfoCommand(), misc_commandscript::HandlePInfoCommand(), misc_commandscript::HandleSummonCommand(), InSamePhase(), IsWithinLOS(), IsWithinLOSInMap(), boss_flame_leviathan_safety_container::boss_flame_leviathan_safety_containerAI::JustDied(), boss_prince_valanar_icc::JustSummoned(), npc_the_lich_king_controller::JustSummoned(), boss_sara::boss_saraAI::JustSummoned(), Creature::LoadFromDB(), Pet::LoadPetFromDB(), MovePositionToFirstCollision(), npc_kinetic_bomb::Reset(), boss_volazj::ResetPlayersPhaseMask(), Corpse::SaveToDB(), Creature::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), Spell::SelectImplicitCasterDestTargets(), Creature::setDeathState(), spell_spawn_blood_pool::SetDest(), Creature::SetPhaseMask(), Player::SetPhaseMask(), Unit::SetPhaseMask(), PathGenerator::ShortenPathUntilDist(), Map::SummonCreature(), boss_volazj::SummonedCreatureDespawn(), SummonGameObject(), Transport::SummonPassenger(), Player::SummonPet(), and UpdatePositionData().
| template TC_GAME_API void WorldObject::GetPlayerListInGrid | ( | Container & | playerContainer, |
| float | maxSearchRange, | ||
| bool | alive = true |
||
| ) | const |
Definition at line 3174 of file Object.cpp.
References Cell::VisitWorldObjects().
Referenced by GetPlayerListInGrid(), spell_bem_choose_loc::HandleDummy(), go_brewfest_music::go_brewfest_musicAI::UpdateAI(), and go_midsummer_music::go_midsummer_musicAI::UpdateAI().
|
inline |
Definition at line 597 of file Object.h.
Referenced by ThreatManager::AddThreat(), CheckPrivateObjectOwnerVisibility(), Spell::EffectSummonType(), Trinity::CreatureWithOptionsInObjectRangeCheck< Customizer >::operator()(), Trinity::GameObjectWithOptionsInObjectRangeCheck< Customizer >::operator()(), and SmartScript::ProcessAction().
| Position WorldObject::GetRandomNearPosition | ( | float | radius | ) |
Definition at line 3265 of file Object.cpp.
References Position::GetPosition(), M_PI, MovePosition(), and rand_norm().
Referenced by CreatureAI::DoSummon(), CreatureAI::DoSummonFlyer(), spell_headless_horseman_head_reposition::HandleScriptEffect(), boss_malchezaar::boss_malchezaarAI::SummonInfernal(), and npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::UpdateAI().
Definition at line 1399 of file Object.cpp.
References Position::GetOrientation(), GetRandomPoint(), and Position::Position().
| void WorldObject::GetRandomPoint | ( | Position const & | srcPos, |
| float | distance, | ||
| float & | rand_x, | ||
| float & | rand_y, | ||
| float & | rand_z | ||
| ) | const |
Definition at line 1377 of file Object.cpp.
References Position::GetPosition(), M_PI, Position::m_positionX, Position::m_positionY, Position::m_positionZ, Trinity::NormalizeMapCoord(), rand_norm(), and UpdateGroundPositionZ().
Referenced by instance_stratholme::instance_stratholme_InstanceMapScript::DoGateTrap(), Spell::EffectScriptEffect(), Spell::EffectSummonType(), GetRandomPoint(), npc_hive_zara_swarmer::JustAppeared(), boss_herod::JustDied(), boss_ossirian::boss_ossirianAI::JustEngagedWith(), Spell::SummonGuardian(), and npc_valkyr_shadowguard::UpdateAI().
| ReputationRank WorldObject::GetReactionTo | ( | WorldObject const * | target | ) | const |
Definition at line 2663 of file Object.cpp.
References Player::duel, DUEL_STATE_IN_PROGRESS, FACTION_TEMPLATE_FLAG_CONTESTED_GUARD, GetAffectingPlayer(), GetCharmerOrOwnerOrSelf(), GetFactionReactionTo(), GetFactionTemplateEntry(), ReputationMgr::GetForcedRankIfAny(), Player::GetReputationMgr(), Object::HasFlag(), Unit::HasUnitFlag(), Unit::HasUnitFlag2(), ReputationMgr::IsAtWar(), Unit::IsFFAPvP(), Unit::IsInRaidWith(), PLAYER_FLAGS, PLAYER_FLAGS_CONTESTED_PVP, REP_FRIENDLY, REP_HOSTILE, sFactionStore, Object::ToUnit(), Object::ToUnit(), UNIT_FLAG2_IGNORE_REPUTATION, and UNIT_FLAG_PLAYER_CONTROLLED.
Referenced by Player::GetNPCIfCanInteractWith(), IsFriendlyTo(), IsHostileTo(), IsValidAssistTarget(), and Condition::Meets().
| float WorldObject::GetSightRange | ( | WorldObject const * | target = nullptr | ) | const |
Definition at line 1503 of file Object.cpp.
References DEFAULT_VISIBILITY_INSTANCE, GetMap(), Map::GetVisibilityRange(), isActiveObject(), IsFarVisible(), IsVisibilityOverridden(), Creature::m_SightDistance, m_visibilityDistanceOverride, MAX_VISIBILITY_DISTANCE, SIGHT_RANGE_UNIT, Object::ToCreature(), Object::ToDynObject(), Object::ToPlayer(), Object::ToPlayer(), and Object::ToUnit().
Referenced by CanSeeOrDetect(), Group::UpdatePlayerOutOfRange(), and Player::UpdateVisibilityForPlayer().
| float WorldObject::GetSpellMaxRangeForTarget | ( | Unit const * | target, |
| SpellInfo const * | spellInfo | ||
| ) | const |
Definition at line 2254 of file Object.cpp.
References SpellInfo::GetMaxRange(), IsHostileTo(), SpellInfo::RangeEntry, and SpellRangeEntry::RangeMax.
Referenced by spell_sha_fire_nova::CheckFireTotem(), Spell::GetMinMaxRange(), and SpellTargetSelector::operator()().
| float WorldObject::GetSpellMinRangeForTarget | ( | Unit const * | target, |
| SpellInfo const * | spellInfo | ||
| ) | const |
Definition at line 2268 of file Object.cpp.
References SpellInfo::GetMinRange(), IsHostileTo(), SpellInfo::RangeEntry, and SpellRangeEntry::RangeMin.
Referenced by Spell::GetMinMaxRange(), and SpellTargetSelector::operator()().
| Player * WorldObject::GetSpellModOwner | ( | ) | const |
Definition at line 2224 of file Object.cpp.
References GetOwner(), Object::GetTypeId(), Unit::IsPet(), Unit::IsTotem(), Object::ToCreature(), Object::ToGameObject(), Object::ToPlayer(), TYPEID_GAMEOBJECT, and TYPEID_UNIT.
Referenced by Spell::_cast(), ApplyEffectModifiers(), Unit::CalcArmorReducedDamage(), SpellEffectInfo::CalcDamageMultiplier(), Aura::CalcDispelChance(), Aura::CalcMaxCharges(), Aura::CalcMaxDuration(), Aura::CalcPeriodicCritChance(), SpellInfo::CalcPowerCost(), Aura::CalcProcChance(), SpellEffectInfo::CalcRadius(), Unit::CalculateAverageResistReduction(), ThreatManager::CalculateModifiedThreat(), AuraEffect::CalculatePeriodic(), Unit::CalculateSpellDamageTaken(), SpellEffectInfo::CalcValueMultiplier(), Spell::cast(), Spell::CheckRuneCost(), Spell::EffectSummonType(), Spell::EffectWeaponDmg(), SpellInfo::GetMaxRange(), Spell::GetMinMaxRange(), Unit::GetPPMProcChance(), Spell::handle_delayed(), Spell::handle_immediate(), spell_hun_aspect_of_the_beast_pet::Load(), MagicSpellHitResult(), Unit::MeleeSpellMissChance(), ModSpellCastTime(), ModSpellDurationTime(), spell_hun_aspect_of_the_beast_pet::OnApply(), Spell::SelectImplicitChainTargets(), Aura::SetDuration(), Unit::SpellCritChanceDone(), Unit::SpellCriticalDamageBonus(), Unit::SpellDamageBonusDone(), Unit::SpellHealingBonusDone(), SpellHistory::StartCooldown(), Spell::SummonGuardian(), Spell::TakePower(), Spell::TakeRunePower(), Unit::TriggerAurasProcOnEvent(), Spell::TriggerGlobalCooldown(), Spell::UpdateChanneledTargetList(), and Aura::UpdateOwner().
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 582 of file Object.h.
Referenced by Object::BuildMovementUpdate().
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 579 of file Object.h.
Referenced by Object::BuildMovementUpdate().
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 580 of file Object.h.
Referenced by Object::BuildMovementUpdate().
|
inlinevirtual |
Reimplemented in GameObject.
Definition at line 581 of file Object.h.
Referenced by Object::BuildMovementUpdate().
|
virtual |
Reimplemented in Unit.
Definition at line 3578 of file Object.cpp.
References ObjectGuid::Empty, Object::GetGUID(), and GetTransport().
Referenced by spell_igb_teleport_players_on_victory::FilterTargets(), and SpellDestination::SpellDestination().
|
inline |
|
inline |
Definition at line 570 of file Object.h.
Referenced by Object::BuildMovementUpdate(), npc_commandscript::HandleNpcAddCommand(), SpellCastTargets::Read(), Player::SaveToDB(), Creature::SaveToDB(), and SpellDestination::SpellDestination().
|
inline |
Definition at line 567 of file Object.h.
Referenced by Object::BuildMovementUpdate(), npc_commandscript::HandleNpcAddCommand(), SpellCastTargets::Read(), Player::SaveToDB(), Creature::SaveToDB(), and SpellDestination::SpellDestination().
|
inline |
Definition at line 568 of file Object.h.
Referenced by Object::BuildMovementUpdate(), npc_commandscript::HandleNpcAddCommand(), SpellCastTargets::Read(), Player::SaveToDB(), Creature::SaveToDB(), and SpellDestination::SpellDestination().
|
inline |
Definition at line 569 of file Object.h.
Referenced by Object::BuildMovementUpdate(), npc_commandscript::HandleNpcAddCommand(), SpellCastTargets::Read(), Player::SaveToDB(), Creature::SaveToDB(), and SpellDestination::SpellDestination().
|
inline |
Definition at line 566 of file Object.h.
Referenced by _IsWithinDist(), Object::BuildMovementUpdate(), boss_deathbringer_saurfang::CanAIAttack(), CleanupsBeforeDelete(), DynamicObject::CreateDynamicObject(), npc_gunship::npc_gunshipAI::DamageTaken(), ResetEncounterEvent::Execute(), spell_igb_burning_pitch_selector::FilterTargets(), npc_gunship::GetAI(), Unit::GetDirectTransport(), GetTransGUID(), Unit::GetTransGUID(), GameObject::GetWorldRotation(), debug_commandscript::HandleDebugTransportCommand(), misc_commandscript::HandleGPSCommand(), WorldSession::HandleMovementOpcode(), npc_commandscript::HandleNpcAddCommand(), WorldSession::HandleQueryCorpseTransport(), npc_gunship::npc_gunshipAI::JustDied(), Player::KillPlayer(), npc_gunship_boarding_addAI::MovementInform(), npc_high_overlord_saurfang_igb::npc_high_overlord_saurfang_igb(), npc_muradin_bronzebeard_igb::npc_muradin_bronzebeard_igb(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::OnCreatureCreate(), npc_high_overlord_saurfang_igb::OnGossipSelect(), npc_muradin_bronzebeard_igb::OnGossipSelect(), icecrown_citadel_teleport::icecrown_citadel_teleportAI::OnGossipSelect(), item_petrov_cluster_bombs::OnUse(), Player::ProcessTerrainStatusUpdate(), spell_igb_teleport_to_enemy_ship::RelocateTransportOffset(), Vehicle::RemovePassenger(), Player::RepopAtGraveyard(), Creature::SaveToDB(), Player::SaveToDB(), Creature::SaveToDB(), Map::SendInitSelf(), Map::SendInitTransports(), Map::SendRemoveTransports(), Trinity::VisibleNotifier::SendToSelf(), Unit::SetCharmedBy(), gunship_npc_AI::SetData(), Movement::MoveSplineInit::SetFacing(), boss_deathbringer_saurfang::SpellHitTarget(), WaypointMovementGenerator< Creature >::StartMove(), Player::TeleportTo(), npc_high_overlord_saurfang_igb::UpdateAI(), npc_muradin_bronzebeard_igb::UpdateAI(), and UpdateAllowedPositionZ().
|
inline |
Definition at line 573 of file Object.h.
Referenced by Unit::_EnterVehicle(), Unit::ChangeSeat(), spell_pilgrims_bounty_on_plate::HandleDummy(), spell_pilgrims_bounty_a_serving_of::HandlePlate(), Movement::MoveSplineInit::Launch(), and Movement::MoveSplineInit::Stop().
| float WorldObject::GetVisibilityRange | ( | ) | const |
Definition at line 1493 of file Object.cpp.
References GetMap(), Map::GetVisibilityRange(), IsFarVisible(), IsVisibilityOverridden(), m_visibilityDistanceOverride, MAX_VISIBILITY_DISTANCE, and Object::ToPlayer().
Referenced by BuildUpdate(), Creature::CanCreatureAttack(), DestroyForNearbyPlayers(), Spell::EffectForceDeselect(), GetGridActivationRange(), Spell::SearchSpellFocus(), SendMessageToSet(), Player::SendMessageToSet(), SendMessageToSet(), Player::SendMessageToSet(), Player::SetContestedPvP(), Player::TeleportTo(), Pet::Update(), Player::Update(), go_brewfest_music::go_brewfest_musicAI::UpdateAI(), go_midsummer_music::go_midsummer_musicAI::UpdateAI(), UpdateObjectVisibility(), and Unit::UpdateObjectVisibility().
Definition at line 377 of file Object.h.
Referenced by Spell::CheckCast(), GameObject::getFishLoot(), GameObject::getFishLootJunk(), Aura::HandleAuraSpecificMods(), WorldSession::HandleMoveTeleportAck(), WorldSession::HandleMoveWorldportAck(), AchievementCriteriaData::Meets(), Player::ResurrectPlayer(), Player::SendInitialPacketsAfterAddToMap(), Player::SendQuestUpdate(), Player::Update(), Player::UpdatePosition(), and GameObject::Use().
|
inline |
Definition at line 375 of file Object.h.
Referenced by Player::_LoadInventory(), Map::ApplyDynamicModeRespawnScaling(), WorldSession::BuildPartyMemberStatsChangedPacket(), Spell::CheckCast(), World::FindPlayerInZone(), Trinity::XP::Gain(), SocialMgr::GetFriendInfo(), Player::GetOutdoorPvP(), account_commandscript::HandleAccountOnlineListCommandWithParameters(), WorldSession::HandleAreaSpiritHealerQueryOpcode(), WorldSession::HandleAreaSpiritHealerQueueOpcode(), AuraEffect::HandleAuraDummy(), WorldSession::HandleBfEntryInviteResponse(), misc_commandscript::HandleChangeWeather(), debug_commandscript::HandleDebugNearGraveyard(), go_commandscript::HandleGoZoneXYCommand(), WorldSession::HandleHearthAndResurrect(), misc_commandscript::HandleLinkGraveCommand(), list_commandscript::HandleListRespawnsCommand(), WorldSession::HandleMoveTeleportAck(), misc_commandscript::HandleNearGraveCommand(), WorldSession::HandleRequestPartyMemberStatsOpcode(), misc_commandscript::HandleSummonCommand(), go_bells::go_bellsAI::InitializeAI(), SpellArea::IsFitToRequirements(), IsInWorldPvpZone(), Unit::Kill(), Player::KilledPlayerCredit(), WorldSession::LogoutPlayer(), npc_mageguard_dalaran::MoveInLineOfSight(), BattlefieldWG::OnPlayerJoinWar(), item_only_for_flight::OnUse(), item_petrov_cluster_bombs::OnUse(), Player::RepopAtGraveyard(), npc_firework::Reset(), Player::SaveToDB(), CreatureTextMgr::SendChatPacket(), Player::SendLoot(), CreatureTextMgr::SendNonChatPacket(), Player::SendSummonRequestFrom(), Map::SendZoneMessage(), Guild::Member::SetStats(), SetZoneScript(), and go_cheer_speaker::go_cheer_speakerAI::UpdateAI().
|
inline |
Definition at line 457 of file Object.h.
Referenced by Creature::AddToWorld(), Pet::AddToWorld(), Creature::CreateFromProto(), Spell::EffectSendEvent(), GameObject::EventInform(), Creature::RemoveFromWorld(), and Unit::setDeathState().
|
inlineprotectedvirtual |
|
inline |
Definition at line 371 of file Object.h.
Referenced by CombatManager::CanBeginCombat(), CanNeverSee(), boss_halion::DamageTaken(), boss_twilight_halion::DamageTaken(), InSamePhase(), Unit::IsWithinCombatRange(), GameObject::IsWithinDistInMap(), IsWithinDistInMap(), Unit::IsWithinMeleeRangeAt(), Trinity::AnyFriendlyUnitInObjectRangeCheck::operator()(), Trinity::AnyGroupedUnitInObjectRangeCheck::operator()(), Trinity::AnyAoETargetUnitInObjectRangeCheck::operator()(), Trinity::AllWorldObjectsInRange::operator()(), Unit::RemoveNotOwnSingleTargetAuras(), Trinity::MessageDistDeliverer::Visit(), Trinity::MessageDistDelivererToHostile::Visit(), Trinity::MessageDistDeliverer::Visit(), Trinity::MessageDistDelivererToHostile::Visit(), Trinity::MessageDistDeliverer::Visit(), and Trinity::MessageDistDelivererToHostile::Visit().
|
inlinestatic |
Definition at line 373 of file Object.h.
References InSamePhase().
|
inline |
Definition at line 372 of file Object.h.
References GetPhaseMask(), and InSamePhase().
Referenced by InSamePhase().
|
inline |
Definition at line 553 of file Object.h.
Referenced by Map::CreatureCellRelocation(), Map::DynamicObjectCellRelocation(), Map::GameObjectCellRelocation(), GetGridActivationRange(), and GetSightRange().
|
inlineprotectedvirtual |
Reimplemented in Player, and Unit.
Definition at line 629 of file Object.h.
Referenced by CanDetect(), and Unit::IsAlwaysDetectableFor().
|
inline |
Definition at line 560 of file Object.h.
Referenced by Map::RemoveAllObjectsInRemoveList(), Map::SwitchGridContainers(), and Map::SwitchGridContainers().
|
inlineprotectedvirtual |
Reimplemented in GameObject, and Unit.
Definition at line 626 of file Object.h.
Referenced by CanSeeOrDetect(), GameObject::IsAlwaysVisibleFor(), and Unit::IsAlwaysVisibleFor().
|
inline |
Definition at line 555 of file Object.h.
Referenced by GetSightRange(), and GetVisibilityRange().
| bool WorldObject::IsFriendlyTo | ( | WorldObject const * | target | ) | const |
Definition at line 2802 of file Object.cpp.
References GetReactionTo(), and REP_FRIENDLY.
Referenced by AuraApplication::_InitFlags(), Creature::_IsTargetAcceptable(), Spell::AddUnitTarget(), Creature::CanAssistTo(), CombatManager::CanBeginCombat(), spell_dk_death_coil::CheckCast(), spell_pal_holy_shock::CheckCast(), spell_pri_penance::CheckCast(), Spell::CheckCast(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::EffectDispelMechanic(), Spell::EffectPickPocket(), Spell::EffectStealBeneficialBuff(), Unit::GetDispellableAuraList(), spell_dk_death_coil::HandleDummy(), spell_pal_holy_shock::HandleDummy(), spell_pri_penance::HandleDummy(), GameObject::IsAlwaysVisibleFor(), SpellClickInfo::IsFitToRequirements(), Unit::IsImmunedToSpell(), Unit::IsImmunedToSpellEffect(), IsValidAttackTarget(), npc_draenei_survivor::npc_draenei_survivorAI::MoveInLineOfSight(), npc_thorim_trashAI::AIHelper::MostHPMissingInRange::operator()(), Trinity::AnyUnfriendlyUnitInObjectRangeCheck::operator()(), Trinity::AnyFriendlyUnitInObjectRangeCheck::operator()(), Trinity::AllFriendlyCreaturesInGrid::operator()(), Spell::PreprocessSpellHit(), Spell::PreprocessSpellLaunch(), Spell::TargetInfo::PreprocessTarget(), SmartScript::ProcessEvent(), npc_guard_generic::ReceiveEmote(), Spell::SelectExplicitTargets(), Player::SendLoot(), Trinity::MessageDistDelivererToHostile::SendPacket(), FollowerAI::ShouldAssistPlayerInCombatAgainst(), and TotemAI::UpdateAI().
| bool WorldObject::IsHostileTo | ( | WorldObject const * | target | ) | const |
Definition at line 2797 of file Object.cpp.
References GetReactionTo(), and REP_HOSTILE.
Referenced by Creature::_IsTargetAcceptable(), Creature::CanAssistTo(), Player::GetNextRandomRaidMember(), Unit::GetNextRandomRaidMemberOrPet(), Unit::GetPartyMembers(), GetSpellMaxRangeForTarget(), GetSpellMinRangeForTarget(), WorldSession::HandleQuestgiverStatusQueryOpcode(), WorldSession::HandleRaidTargetUpdateOpcode(), IsValidAttackTarget(), boss_nalorakk::MoveInLineOfSight(), npc_guardian_pavilion::MoveInLineOfSight(), npc_air_force_bots::npc_air_force_botsAI::MoveInLineOfSight(), Trinity::MostHPMissingInRange::operator()(), Trinity::MostHPPercentMissingInRange::operator()(), Trinity::FriendlyBelowHpPctEntryInRange::operator()(), Trinity::MostHPMissingGroupInRange::operator()(), Trinity::NearestAttackableUnitInObjectRangeCheck::operator()(), Trinity::FriendlyCCedInRange::operator()(), Trinity::FriendlyMissingBuffInRange::operator()(), Trinity::AnyGroupedUnitInObjectRangeCheck::operator()(), Trinity::NearestHostileUnitInAggroRangeCheck::operator()(), SmartScript::ProcessEvent(), Player::SendQuestGiverStatusMultiple(), Player::SendTaxiNodeStatusMultiple(), WorldSession::SendTaxiStatus(), SpellHitResult(), boss_epoch::boss_epochAI::SpellHitTarget(), CreatureAI::TriggerAlert(), and Creature::Update().
| bool WorldObject::IsHostileToPlayers | ( | ) | const |
Definition at line 2807 of file Object.cpp.
References FactionTemplateEntry::Faction, GetFactionTemplateEntry(), FactionTemplateEntry::IsHostileToPlayers(), FactionEntry::ReputationIndex, and sFactionStore.
| bool WorldObject::isInBack | ( | WorldObject const * | target, |
| float | arc = float(M_PI) |
||
| ) | const |
Definition at line 1372 of file Object.cpp.
References Position::HasInArc(), and M_PI.
Referenced by npc_anubarak_anub_ar_assassin::JustEngagedWith(), Trinity::WorldObjectSpellConeTargetCheck::operator()(), and npc_anub_ar_skirmisher::UpdateAI().
| bool WorldObject::IsInBetween | ( | Position const & | pos1, |
| Position const & | pos2, | ||
| float | size = 0 |
||
| ) | const |
Definition at line 1350 of file Object.cpp.
References Position::GetAbsoluteAngle(), GetCombatReach(), Position::GetExactDist2d(), Position::GetExactDist2dSq(), Position::GetPositionX(), and Position::GetPositionY().
Referenced by TwilightCutterSelector::operator()().
|
inline |
Definition at line 417 of file Object.h.
References Position::GetPosition(), and IsInBetween().
Referenced by IsInBetween().
| bool WorldObject::isInFront | ( | WorldObject const * | target, |
| float | arc = float(M_PI) |
||
| ) | const |
Definition at line 1367 of file Object.cpp.
References Position::HasInArc().
Referenced by spell_dk_death_coil::CheckCast(), spell_pal_holy_shock::CheckCast(), spell_pri_penance::CheckCast(), spell_warr_retaliation::CheckProc(), and Trinity::WorldObjectSpellConeTargetCheck::operator()().
| bool WorldObject::IsInMap | ( | WorldObject const * | obj | ) | const |
Definition at line 1161 of file Object.cpp.
References GetMap(), and Object::IsInWorld().
Referenced by Creature::CanCreatureAttack(), npc_unkor_the_ruthless::npc_unkor_the_ruthlessAI::DamageTaken(), SmartAI::EndPath(), Player::GetNextQuest(), Unit::GetPartyMembers(), WorldSession::HandleLootMasterGiveOpcode(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), Unit::HandleSpellClick(), Player::IsAtGroupRewardDistance(), Player::IsAtRecruitAFriendDistance(), SmartAI::IsEscortInvokerInRange(), IsSelfOrInSameMap(), Unit::IsWithinCombatRange(), GameObject::IsWithinDistInMap(), IsWithinDistInMap(), IsWithinLOSInMap(), Unit::IsWithinMeleeRangeAt(), Unit::Kill(), go_gauntlet_gate::go_gauntlet_gateAI::OnGossipHello(), Trinity::AnyFriendlyUnitInObjectRangeCheck::operator()(), Trinity::AnyGroupedUnitInObjectRangeCheck::operator()(), Trinity::AnyAoETargetUnitInObjectRangeCheck::operator()(), Totem::UnSummon(), PetAI::UpdateAllies(), and Group::UpdatePlayerOutOfRange().
| bool WorldObject::IsInRange | ( | WorldObject const * | obj, |
| float | minRange, | ||
| float | maxRange, | ||
| bool | is3D = true |
||
| ) | const |
Definition at line 1284 of file Object.cpp.
References GetCombatReach(), Position::GetPositionX(), Position::GetPositionY(), and Position::GetPositionZ().
Referenced by GameObject::_IsWithinDist(), npc_thorim_arena_phase::npc_thorim_arena_phaseAI::ExecuteEvent(), SmartScript::GetTargets(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), npc_thorims_hammer::npc_thorims_hammerAI::MoveInLineOfSight(), npc_hodirs_fury::npc_hodirs_furyAI::MoveInLineOfSight(), HammerTargetSelector::operator()(), SmartScript::ProcessEvent(), npc_toc_dk::UpdateAI(), npc_toc_rogue::UpdateAI(), npc_raging_ghoul::npc_raging_ghoulAI::UpdateAI(), npc_runic_colossus::npc_runic_colossusAI::UpdateAI(), generic_vehicleAI_toc5::generic_vehicleAI_toc5AI::UpdateAI(), boss_warrior_toc5::boss_warrior_toc5AI::UpdateAI(), boss_hunter_toc5::boss_hunter_toc5AI::UpdateAI(), and npc_thorim_trashAI::UseAbility().
| bool WorldObject::IsInRange2d | ( | float | x, |
| float | y, | ||
| float | minRange, | ||
| float | maxRange | ||
| ) | const |
Definition at line 1309 of file Object.cpp.
References GetCombatReach(), Position::GetPositionX(), and Position::GetPositionY().
| bool WorldObject::IsInRange3d | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | minRange, | ||
| float | maxRange | ||
| ) | const |
Definition at line 1329 of file Object.cpp.
References GetCombatReach(), Position::GetPositionX(), Position::GetPositionY(), and Position::GetPositionZ().
|
inlineprotectedvirtual |
Reimplemented in Creature, and GameObject.
Definition at line 627 of file Object.h.
Referenced by CanSeeOrDetect(), Creature::IsInvisibleDueToDespawn(), and GameObject::IsInvisibleDueToDespawn().
| bool WorldObject::IsInWorldPvpZone | ( | ) | const |
Definition at line 1077 of file Object.cpp.
References AREA_WINTERGRASP, and GetZoneId().
Referenced by Player::RemovedInsignia().
|
inline |
Definition at line 549 of file Object.h.
Referenced by Trinity::VisibleNotifier::SendToSelf(), Trinity::PlayerRelocationNotifier::Visit(), Trinity::CreatureRelocationNotifier::Visit(), Trinity::DelayedUnitRelocation::Visit(), Trinity::PlayerRelocationNotifier::Visit(), Trinity::CreatureRelocationNotifier::Visit(), and Trinity::DelayedUnitRelocation::Visit().
| bool WorldObject::IsNeutralToAll | ( | ) | const |
Definition at line 2820 of file Object.cpp.
References FactionTemplateEntry::Faction, GetFactionTemplateEntry(), FactionTemplateEntry::IsNeutralToAll(), FactionEntry::ReputationIndex, and sFactionStore.
Referenced by Creature::CanStartAttack(), AggressorAI::Permissible(), and ReactorAI::Permissible().
|
inlineprotectedvirtual |
Reimplemented in GameObject, and Player.
Definition at line 625 of file Object.h.
Referenced by CanSeeOrDetect(), GameObject::IsNeverVisible(), and Player::IsNeverVisible().
|
inline |
Definition at line 379 of file Object.h.
Referenced by Spell::CheckCast(), Player::CheckOutdoorsAuraRequirements(), and misc_commandscript::HandleGPSCommand().
|
inline |
Definition at line 596 of file Object.h.
Referenced by ThreatManager::AddThreat(), CheckPrivateObjectOwnerVisibility(), Spell::EffectSummonType(), Trinity::CreatureWithOptionsInObjectRangeCheck< Customizer >::operator()(), Trinity::GameObjectWithOptionsInObjectRangeCheck< Customizer >::operator()(), and SmartScript::ProcessAction().
| bool WorldObject::IsSelfOrInSameMap | ( | WorldObject const * | obj | ) | const |
Definition at line 1154 of file Object.cpp.
References IsInMap().
Referenced by Aura::UpdateTargetMap().
| bool WorldObject::IsStoredInWorldObjectGridContainer | ( | ) | const |
Definition at line 981 of file Object.cpp.
References m_isStoredInWorldObjectGridContainer, and Object::ToCreature().
Referenced by Map::AddToGrid(), Map::AddToGrid(), Map::AddToGrid(), DynamicObject::CreateDynamicObject(), ResetMap(), SetMap(), Map::~Map(), and ~WorldObject().
| bool WorldObject::IsValidAssistTarget | ( | WorldObject const * | target, |
| SpellInfo const * | bySpell = nullptr |
||
| ) | const |
Definition at line 3001 of file Object.cpp.
References ASSERT, CanSeeOrDetect(), CREATURE_TYPE_FLAG_CAN_ASSIST, CREATURE_TYPE_FLAG_TREAT_AS_RAID_UNIT, Player::duel, GetAffectingPlayer(), GetReactionTo(), Object::GetTypeId(), Unit::GetVehicle(), Unit::GetVehicleBase(), SpellInfo::HasAttribute(), Unit::HasUnitFlag(), Unit::HasUnitState(), SpellInfo::IsAffectingArea(), Unit::IsAlive(), SpellInfo::IsAllowingDeadTarget(), Unit::IsFFAPvP(), Player::IsGameMaster(), Unit::IsImmuneToNPC(), Unit::IsImmuneToPC(), Unit::IsInSanctuary(), Unit::IsOnVehicle(), SpellInfo::IsPositive(), Unit::IsPvP(), REP_NEUTRAL, SPELL_ATTR6_ASSIST_IGNORE_IMMUNE_FLAG, SPELL_ATTR6_CAN_TARGET_INVISIBLE, SPELL_ATTR6_CAN_TARGET_UNTARGETABLE, Object::ToCreature(), Object::ToCreature(), Object::ToPlayer(), Object::ToUnit(), Object::ToUnit(), TYPEID_PLAYER, UNIT_FLAG_NON_ATTACKABLE, UNIT_FLAG_NON_ATTACKABLE_2, UNIT_FLAG_NOT_ATTACKABLE_1, UNIT_FLAG_ON_TAXI, UNIT_FLAG_PLAYER_CONTROLLED, UNIT_FLAG_UNINTERACTIBLE, and UNIT_STATE_UNATTACKABLE.
Referenced by EscortAI::AssistPlayerInCombatAgainst(), SmartAI::AssistPlayerInCombatAgainst(), SpellInfo::CheckExplicitTarget(), Trinity::WorldObjectSpellTargetCheck::operator()(), and Spell::PreprocessSpellHit().
| bool WorldObject::IsValidAttackTarget | ( | WorldObject const * | target, |
| SpellInfo const * | bySpell = nullptr |
||
| ) | const |
Definition at line 2857 of file Object.cpp.
References ASSERT, AtWar, CanSeeOrDetect(), CREATURE_TYPE_FLAG_TREAT_AS_RAID_UNIT, Player::duel, DUEL_STATE_IN_PROGRESS, GAMEOBJECT_TYPE_TRAP, GetAffectingPlayer(), Creature::GetCreatureTemplate(), ReputationMgr::GetForcedRankIfAny(), GameObject::GetGoType(), GetOwner(), Player::GetReputationMgr(), ReputationMgr::GetState(), Object::GetTypeId(), SpellInfo::HasAttribute(), Object::HasFlag(), Unit::HasPvpFlag(), Unit::HasUnitFlag(), Unit::HasUnitState(), SpellInfo::IsAffectingArea(), Unit::IsAlive(), SpellInfo::IsAllowingDeadTarget(), Unit::IsFFAPvP(), IsFriendlyTo(), Player::IsGameMaster(), IsHostileTo(), Unit::IsImmuneToNPC(), Unit::IsImmuneToPC(), Unit::IsInSanctuary(), SpellInfo::IsPositive(), Unit::IsPvP(), PLAYER_FLAGS, PLAYER_FLAGS_CONTESTED_PVP, PLAYER_FLAGS_UBER, sFactionStore, SPELL_ATTR6_ASSIST_IGNORE_IMMUNE_FLAG, SPELL_ATTR6_CAN_TARGET_INVISIBLE, SPELL_ATTR6_CAN_TARGET_UNTARGETABLE, Object::ToCreature(), Object::ToGameObject(), Object::ToPlayer(), Object::ToPlayer(), Object::ToUnit(), Object::ToUnit(), CreatureTemplate::type_flags, TYPEID_PLAYER, UNIT_BYTE2_FLAG_UNK1, UNIT_FLAG_NON_ATTACKABLE, UNIT_FLAG_NON_ATTACKABLE_2, UNIT_FLAG_NOT_ATTACKABLE_1, UNIT_FLAG_ON_TAXI, UNIT_FLAG_PLAYER_CONTROLLED, UNIT_FLAG_UNINTERACTIBLE, and UNIT_STATE_UNATTACKABLE.
Referenced by SimpleCharmedPlayerAI::CanAIAttack(), npc_pet_dk_rune_weapon::CanAIAttack(), npc_pet_mage_mirror_image::CanAIAttack(), Creature::CanCreatureAttack(), spell_pal_holy_shock::CheckCast(), spell_pri_penance::CheckCast(), SpellInfo::CheckExplicitTarget(), FindEligibleTarget(), GetMagicHitRedirectTarget(), Unit::GetMeleeHitRedirectTarget(), WorldSession::HandleAttackSwingOpcode(), WorldSession::HandleSetSelectionOpcode(), CreatureGroup::MemberEngagingTarget(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::MoveInLineOfSight(), alliance_rifleman::alliance_riflemanAI::MoveInLineOfSight(), boss_loken::MoveInLineOfSight(), boss_svala::MoveInLineOfSight(), boss_doomwalker::MoveInLineOfSight(), boss_kaelthas::MoveInLineOfSight(), npc_air_force_bots::npc_air_force_botsAI::MoveInLineOfSight(), PetAI::NeedToStop(), Trinity::NearestAttackableNoTotemUnitInObjectRangeCheck::operator()(), Trinity::NearestHostileUnitCheck::operator()(), Trinity::NearestHostileUnitInAttackDistanceCheck::operator()(), Trinity::AnyAoETargetUnitInObjectRangeCheck::operator()(), Trinity::NearestHostileUnitInAggroRangeCheck::operator()(), Trinity::WorldObjectSpellTargetCheck::operator()(), Spell::PreprocessSpellHit(), Player::Update(), PossessedAI::UpdateAI(), and Unit::ValidateAttackersAndOwnTarget().
|
inline |
Definition at line 557 of file Object.h.
Referenced by GetSightRange(), and GetVisibilityRange().
| bool WorldObject::IsWithinDist | ( | WorldObject const * | obj, |
| float | dist2compare, | ||
| bool | is3D = true |
||
| ) | const |
Definition at line 1188 of file Object.cpp.
References _IsWithinDist().
Referenced by Creature::CanCreatureAttack(), CanSeeOrDetect(), spell_blood_queen_pact_of_the_darkfallen::FilterTargets(), npc_dragonflayer_forge_master::GetForgeMasterType(), boss_attumen::boss_attumenAI::IsSummonedBy(), npc_dark_fiend::JustAppeared(), npc_anubarak_spike::MoveInLineOfSight(), npc_a_special_surprise::npc_a_special_surpriseAI::MoveInLineOfSight(), npc_overlord_runthak_orgrimmar::npc_overlord_runthak_orgrimmarAI::MoveInLineOfSight(), npc_mageguard_dalaran::MoveInLineOfSight(), npc_ashtongue_sorcerer::MoveInLineOfSight(), npc_warden_mellichar::MoveInLineOfSight(), Trinity::AllGameObjectsWithEntryInRange::operator()(), Trinity::PlayerAtMinimumRangeAway::operator()(), FrostwingVrykulSearcher::operator()(), Trinity::AllCreaturesOfEntryInRange::operator()(), Trinity::AllWorldObjectsInRange::operator()(), Spell::SearchChainTargets(), Trinity::InRangeCheckCustomizer::Test(), boss_twinemperorsAI::TryHealBrother(), npc_unworthy_initiate::npc_unworthy_initiateAI::UpdateAI(), npc_frost_wyrm::npc_frost_wyrmAI::UpdateAI(), npc_gargoyle::npc_gargoyleAI::UpdateAI(), boss_veklor::boss_veklorAI::UpdateAI(), boss_void_reaver::UpdateAI(), npc_pet_gen_pandaren_monk::UpdateAI(), Group::UpdatePlayerOutOfRange(), and npc_rizzle_sprysprocket::WaypointStarted().
| bool WorldObject::IsWithinDist2d | ( | float | x, |
| float | y, | ||
| float | dist | ||
| ) | const |
Definition at line 1178 of file Object.cpp.
References GetCombatReach(), and Position::IsInDist2d().
Referenced by boss_infinite_corruptor::boss_infinite_corruptorAI::DoAction(), spell_vehicle_throw_passenger::spell_vehicle_throw_passenger_SpellScript::HandleScript(), Trinity::WorldObjectSpellAreaTargetCheck::operator()(), boss_attumen::boss_attumenAI::SpellHit(), instance_stratholme::instance_stratholme_InstanceMapScript::Update(), boss_shade_of_aran::boss_aranAI::UpdateAI(), and boss_hydross_the_unstable::UpdateAI().
| bool WorldObject::IsWithinDist2d | ( | Position const * | pos, |
| float | dist | ||
| ) | const |
Definition at line 1183 of file Object.cpp.
References GetCombatReach(), and Position::IsInDist2d().
| bool WorldObject::IsWithinDist3d | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | dist | ||
| ) | const |
Definition at line 1168 of file Object.cpp.
References GetCombatReach(), and Position::IsInDist().
Referenced by GameObject::IsInRange(), Trinity::AnyPlayerInPositionRangeCheck::operator()(), Player::TeleportTo(), boss_cthun::cthunAI::UpdateAI(), and Unit::UpdateSpeed().
| bool WorldObject::IsWithinDist3d | ( | Position const * | pos, |
| float | dist | ||
| ) | const |
Definition at line 1173 of file Object.cpp.
References GetCombatReach(), and Position::IsInDist().
| bool WorldObject::IsWithinDistInMap | ( | WorldObject const * | obj, |
| float | dist2compare, | ||
| bool | is3D = true, |
||
| bool | incOwnRadius = true, |
||
| bool | incTargetRadius = true |
||
| ) | const |
Definition at line 1193 of file Object.cpp.
References _IsWithinDist(), InSamePhase(), and IsInMap().
Referenced by EscortAI::AssistPlayerInCombatAgainst(), SmartAI::AssistPlayerInCombatAgainst(), Creature::CanStartAttack(), boss_thorim::boss_thorimAI::CanStartPhase2(), Player::CheckDuelDistance(), npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI::CheckEventFail(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::CheckEventFail(), spell_sha_fire_nova::CheckFireTotem(), BattlegroundEY::CheckSomeoneJoinedPoint(), BattlegroundEY::CheckSomeoneLeftPoint(), WorldSession::DoLootRelease(), CombatManager::EndCombatBeyondRange(), BattlegroundWS::EventPlayerClickedOnFlag(), BattlegroundAB::EventPlayerClickedOnFlag(), BattlegroundEY::EventPlayerClickedOnFlag(), UnitAura::FillTargetMap(), FollowerAI::GetLeaderForFollower(), Player::GetNextRandomRaidMember(), Unit::GetNextRandomRaidMemberOrPet(), Player::GetNPCIfCanInteractWith(), WorldSession::HandleAcceptTradeOpcode(), WorldSession::HandleAutostoreLootItemOpcode(), WorldSession::HandleInitiateTradeOpcode(), WorldSession::HandleLootMoneyOpcode(), AuraEffect::HandleModPossessPet(), WorldSession::HandleReclaimCorpse(), Unit::isInBackInMap(), Unit::isInFrontInMap(), EscortAI::IsPlayerOrGroupInRange(), npc_water_globule::JustAppeared(), npc_ancient_wisp::JustEngagedWith(), npc_salanar_the_horseman::npc_salanar_the_horsemanAI::MoveInLineOfSight(), npc_dkc1_gothik::npc_dkc1_gothikAI::MoveInLineOfSight(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::MoveInLineOfSight(), boss_nalorakk::MoveInLineOfSight(), alliance_rifleman::alliance_riflemanAI::MoveInLineOfSight(), boss_twinemperorsAI::MoveInLineOfSight(), npc_depth_charge::MoveInLineOfSight(), npc_draenei_survivor::npc_draenei_survivorAI::MoveInLineOfSight(), npc_kerlonian::npc_kerlonianAI::MoveInLineOfSight(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::MoveInLineOfSight(), npc_tooga::npc_toogaAI::MoveInLineOfSight(), npc_twiggy_flathead::npc_twiggy_flatheadAI::MoveInLineOfSight(), npc_hadronox_crusherPackAI::MoveInLineOfSight(), boss_krik_thir::MoveInLineOfSight(), npc_gatewatcher_petAI::MoveInLineOfSight(), boss_loken::MoveInLineOfSight(), boss_svala::MoveInLineOfSight(), boss_nexusprince_shaffar::MoveInLineOfSight(), boss_talon_king_ikiss::MoveInLineOfSight(), boss_warlord_kalithresh::MoveInLineOfSight(), boss_wrath_scryer_soccothrates::MoveInLineOfSight(), boss_thorngrin_the_tender::MoveInLineOfSight(), boss_kaelthas::MoveInLineOfSight(), npc_air_force_bots::npc_air_force_botsAI::MoveInLineOfSight(), Trinity::AnyDeadUnitObjectInRangeCheck::operator()(), Trinity::AnyDeadUnitObjectInRangeCheck::operator()(), Trinity::NearestAssistCreatureInCreatureRangeCheck::operator()(), Trinity::NearestCreatureEntryWithLiveStateInObjectRangeCheck::operator()(), Trinity::CallOfHelpCreatureInRangeDo::operator()(), Trinity::AnyAssistCreatureInRangeCheck::operator()(), Trinity::NearestGameObjectFishingHole::operator()(), Trinity::NearestGameObjectCheck::operator()(), Trinity::NearestGameObjectEntryInObjectRangeCheck::operator()(), Trinity::NearestUnspawnedGameObjectEntryInObjectRangeCheck::operator()(), Trinity::NearestGameObjectTypeInObjectRangeCheck::operator()(), Trinity::AnyDeadUnitObjectInRangeCheck::operator()(), Trinity::NearestPlayerInObjectRangeCheck::operator()(), Trinity::AnyPlayerInObjectRangeCheck::operator()(), LorKhanSelectTargetToHeal::operator()(), Trinity::MostHPMissingInRange::operator()(), Trinity::MostHPPercentMissingInRange::operator()(), Trinity::FriendlyBelowHpPctEntryInRange::operator()(), Trinity::MostHPMissingGroupInRange::operator()(), Trinity::NearestAttackableNoTotemUnitInObjectRangeCheck::operator()(), Trinity::NearestAttackableUnitInObjectRangeCheck::operator()(), Trinity::NearestHostileUnitCheck::operator()(), Trinity::NearestHostileUnitInAttackDistanceCheck::operator()(), npc_thorim_trashAI::AIHelper::MostHPMissingInRange::operator()(), Trinity::FriendlyCCedInRange::operator()(), Trinity::FriendlyMissingBuffInRange::operator()(), Trinity::AnyUnfriendlyUnitInObjectRangeCheck::operator()(), Trinity::AnyUnitInObjectRangeCheck::operator()(), Trinity::NearestHostileUnitInAggroRangeCheck::operator()(), SmartScript::ProcessEvent(), npc_spectral_ghostly_citizen::npc_spectral_ghostly_citizenAI::ReceiveEmote(), npc_lake_frog::ReceiveEmote(), npc_dancing_flames::ReceiveEmote(), boss_twinemperorsAI::RespawnNearbyBugsAndGetOne(), Map::ScriptsProcess(), Player::SendLoot(), FollowerAI::ShouldAssistPlayerInCombatAgainst(), Trinity::NearestCheckCustomizer::Test(), Pet::Update(), Player::Update(), TotemAI::UpdateAI(), boss_garaxxas::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), npc_volatile_felfire_fiend::npc_volatile_felfire_fiendAI::UpdateAI(), alliance_rifleman::alliance_riflemanAI::UpdateAI(), boss_gluth::UpdateAI(), npc_pet_hunter_snake_trap::UpdateAI(), FollowerAI::UpdateAI(), and Spell::UpdateChanneledTargetList().
| bool WorldObject::IsWithinLOS | ( | float | x, |
| float | y, | ||
| float | z, | ||
| LineOfSightChecks | checks = LINEOFSIGHT_ALL_CHECKS, |
||
| VMAP::ModelIgnoreFlags | ignoreFlags = VMAP::ModelIgnoreFlags::Nothing |
||
| ) | const |
Definition at line 1207 of file Object.cpp.
References GetCollisionHeight(), GetHitSpherePointFor(), GetMap(), GetPhaseMask(), Position::GetPosition(), Object::GetTypeId(), Map::isInLineOfSight(), Object::IsInWorld(), and TYPEID_PLAYER.
Referenced by Spell::CheckCast(), Spell::CheckEffectTarget(), Spell::EffectChargeDest(), GetNearPoint(), npc_dancing_flames::ReceiveEmote(), and RandomMovementGenerator< T >::SetRandomLocation().
| bool WorldObject::IsWithinLOSInMap | ( | WorldObject const * | obj, |
| LineOfSightChecks | checks = LINEOFSIGHT_ALL_CHECKS, |
||
| VMAP::ModelIgnoreFlags | ignoreFlags = VMAP::ModelIgnoreFlags::Nothing |
||
| ) | const |
Definition at line 1227 of file Object.cpp.
References GetCollisionHeight(), GetHitSpherePointFor(), GetMap(), GetPhaseMask(), Position::GetPosition(), Position::GetPosition(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Object::GetTypeId(), Map::isInLineOfSight(), IsInMap(), and TYPEID_PLAYER.
Referenced by EscortAI::AssistPlayerInCombatAgainst(), SmartAI::AssistPlayerInCombatAgainst(), Unit::AttackerStateUpdate(), Creature::CanStartAttack(), Spell::CheckCast(), Spell::CheckEffectTarget(), spell_hun_masters_call::DoCheckCast(), debug_commandscript::HandleDebugLoSCommand(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::MoveInLineOfSight(), Trinity::NearestAssistCreatureInCreatureRangeCheck::operator()(), Trinity::CallOfHelpCreatureInRangeDo::operator()(), Trinity::AnyAssistCreatureInRangeCheck::operator()(), Trinity::NearestHostileUnitInAggroRangeCheck::operator()(), CatsTargetSelector::operator()(), FarthestTargetSelector::operator()(), MysticBuffetTargetFilter::operator()(), PositionOkay(), SmartScript::ProcessEvent(), Spell::SearchChainTargets(), Unit::SelectNearbyTarget(), FollowerAI::ShouldAssistPlayerInCombatAgainst(), and SimpleCharmedPlayerAI::UpdateAI().
| SpellMissInfo WorldObject::MagicSpellHitResult | ( | Unit * | victim, |
| SpellInfo const * | spellInfo | ||
| ) | const |
Definition at line 2470 of file Object.cpp.
References Unit::CalculateAverageResistReduction(), CR_HIT_TAKEN_SPELL, SpellInfo::Dispel, SpellInfo::GetEffects(), GetLevelForTarget(), Unit::GetLevelForTarget(), Unit::GetMechanicResistChance(), Player::GetRatingBonusValue(), SpellInfo::GetSchoolMask(), GetSpellModOwner(), Unit::GetTotalAuraModifier(), Unit::GetTotalAuraModifierByMiscMask(), Unit::GetTotalAuraModifierByMiscValue(), Object::GetTypeId(), SpellInfo::HasAttribute(), Unit::HasAuraType(), Position::HasInArc(), Unit::HasUnitState(), SpellInfo::Id, irand(), SpellInfo::IsAffectingArea(), Unit::IsAlive(), SpellInfo::IsPositive(), Unit::m_modSpellHitChance, M_PI, RoundToInterval(), SPELL_ATTR0_CU_BINARY_SPELL, SPELL_ATTR4_IGNORE_RESISTANCES, SPELL_ATTR7_CANT_MISS, SPELL_AURA_DEFLECT_SPELLS, SPELL_AURA_IGNORE_HIT_DIRECTION, SPELL_AURA_MOD_AOE_AVOIDANCE, SPELL_AURA_MOD_ATTACKER_SPELL_HIT_CHANCE, SPELL_AURA_MOD_DEBUFF_RESISTANCE, SPELL_AURA_MOD_INCREASES_SPELL_PCT_TO_HIT, SPELL_MISS_DEFLECT, SPELL_MISS_MISS, SPELL_MISS_NONE, SPELL_MISS_RESIST, SPELL_SCHOOL_MASK_MAGIC, SpellInfo::SpellLevel, SPELLMOD_RESIST_MISS_CHANCE, Object::ToCreature(), Object::ToPlayer(), Object::ToUnit(), TYPEID_PLAYER, TYPEID_UNIT, and UNIT_STATE_CONTROLLED.
Referenced by SpellHitResult().
|
virtual |
Reimplemented in Unit.
Definition at line 2465 of file Object.cpp.
References SPELL_MISS_NONE.
Referenced by SpellHitResult().
|
virtual |
Reimplemented in Unit.
Definition at line 2460 of file Object.cpp.
| void WorldObject::ModSpellCastTime | ( | SpellInfo const * | spellInfo, |
| int32 & | castTime, | ||
| Spell * | spell = nullptr |
||
| ) | const |
Definition at line 2415 of file Object.cpp.
References Unit::CanInstantCast(), Object::GetFloatValue(), GetSpellModOwner(), Object::GetTypeId(), SpellInfo::HasAttribute(), Unit::HasAura(), SpellInfo::Id, Unit::m_modAttackSpeedPct, RANGED_ATTACK, SPELL_ATTR0_ABILITY, SPELL_ATTR0_REQ_AMMO, SPELL_ATTR0_TRADESPELL, SPELL_ATTR2_AUTOREPEAT_FLAG, SPELL_ATTR3_NO_DONE_BONUS, SpellInfo::SpellFamilyName, SPELLMOD_CASTING_TIME, SpellInfo::SpellVisual, Object::ToUnit(), TYPEID_PLAYER, TYPEID_UNIT, and UNIT_MOD_CAST_SPEED.
Referenced by SpellInfo::CalcCastTime().
| int32 WorldObject::ModSpellDuration | ( | SpellInfo const * | spellInfo, |
| WorldObject const * | target, | ||
| int32 | duration, | ||
| bool | positive, | ||
| uint32 | effectMask | ||
| ) | const |
Definition at line 2321 of file Object.cpp.
References AddPct(), SpellInfo::Dispel, EFFECT_0, Unit::GetAuraEffect(), SpellInfo::GetEffect(), Unit::GetMaxNegativeAuraModifier(), Unit::GetMaxNegativeAuraModifierByMiscValue(), SpellInfo::GetSpellMechanicMaskByEffectMask(), Unit::GetTotalAuraModifier(), Unit::GetTotalAuraModifierByMiscValue(), Object::GetTypeId(), SpellInfo::HasAttribute(), Unit::HasAura(), Unit::HasSpell(), SpellInfo::Id, IN_MILLISECONDS, MINUTE, SPELL_ATTR7_IGNORE_DURATION_MODS, SPELL_AURA_MECHANIC_DURATION_MOD, SPELL_AURA_MECHANIC_DURATION_MOD_NOT_STACK, SPELL_AURA_MOD_AURA_DURATION_BY_DISPEL, SPELL_AURA_MOD_AURA_DURATION_BY_DISPEL_NOT_STACK, SPELL_GROUP_ELIXIR_BATTLE, SPELL_GROUP_ELIXIR_GUARDIAN, SPELLFAMILY_DRUID, SPELLFAMILY_PALADIN, SPELLFAMILY_POTION, SpellInfo::SpellFamilyFlags, SpellInfo::SpellFamilyName, SpellInfo::SpellIconID, sSpellMgr, Object::ToUnit(), SpellEffectInfo::TriggerSpell, and TYPEID_PLAYER.
Referenced by Spell::DoSpellEffectHit(), and Spell::EffectInterruptCast().
| void WorldObject::ModSpellDurationTime | ( | SpellInfo const * | spellInfo, |
| int32 & | durationTime, | ||
| Spell * | spell = nullptr |
||
| ) | const |
Definition at line 2437 of file Object.cpp.
References Object::GetFloatValue(), GetSpellModOwner(), Object::GetTypeId(), SpellInfo::HasAttribute(), SpellInfo::Id, SpellInfo::IsChanneled(), Unit::m_modAttackSpeedPct, RANGED_ATTACK, SPELL_ATTR0_ABILITY, SPELL_ATTR0_REQ_AMMO, SPELL_ATTR0_TRADESPELL, SPELL_ATTR2_AUTOREPEAT_FLAG, SPELL_ATTR3_NO_DONE_BONUS, SPELL_ATTR5_HASTE_AFFECT_DURATION, SpellInfo::SpellFamilyName, SPELLMOD_CASTING_TIME, Object::ToUnit(), TYPEID_PLAYER, TYPEID_UNIT, and UNIT_MOD_CAST_SPEED.
Referenced by AuraEffect::CalculatePeriodic(), Spell::DoSpellEffectHit(), and Spell::handle_immediate().
| void WorldObject::MovePosition | ( | Position & | pos, |
| float | dist, | ||
| float | angle | ||
| ) |
Definition at line 3278 of file Object.cpp.
References Object::GetGUID(), GetMapHeight(), Position::GetOrientation(), Trinity::IsValidMapCoord(), Position::m_positionX, Position::m_positionY, Position::m_positionZ, MAX_HEIGHT, Trinity::NormalizeMapCoord(), Position::Relocate(), Position::SetOrientation(), TC_LOG_FATAL, Position::ToString(), and UpdateGroundPositionZ().
Referenced by boss_high_inquisitor_whitemane::DamageTaken(), GetNearPosition(), GetRandomNearPosition(), and spell_hor_evasion::spell_hor_evasion_SpellScript::SetDest().
| void WorldObject::MovePositionToFirstCollision | ( | Position & | pos, |
| float | dist, | ||
| float | angle | ||
| ) |
Definition at line 3324 of file Object.cpp.
References PathGenerator::CalculatePath(), Unit::CanFly(), CONTACT_DISTANCE, VMAP::VMapFactory::createOrGetVMapManager(), GetCollisionHeight(), Map::GetGridHeight(), Unit::GetHoverOffset(), GetMap(), WorldLocation::GetMapId(), Map::getObjectHitPos(), VMAP::VMapManager2::getObjectHitPos(), Position::GetOrientation(), PathGenerator::GetPath(), PathGenerator::GetPathType(), GetPhaseMask(), INVALID_HEIGHT, Trinity::IsValidMapCoord(), Position::m_positionX, Position::m_positionY, Position::m_positionZ, Trinity::NormalizeMapCoord(), PATHFIND_FARFROMPOLY_START, PATHFIND_NOPATH, PATHFIND_NOT_USING_PATH, Position::Relocate(), PathGenerator::SetUseRaycast(), TC_LOG_FATAL, Position::ToString(), Object::ToUnit(), UpdateAllowedPositionZ(), and VMAP_INVALID_HEIGHT_VALUE.
Referenced by Spell::EffectStuck(), GetFirstCollisionPosition(), npc_doomfire_spirit::JustAppeared(), boss_prince_keleseth_icc::JustSummoned(), FormationMovementGenerator::LaunchMovement(), MotionMaster::MoveKnockbackFrom(), Spell::SelectImplicitCasterDestTargets(), Spell::SelectImplicitDestDestTargets(), Spell::SelectImplicitTargetDestTargets(), and RandomMovementGenerator< T >::SetRandomLocation().
Definition at line 3440 of file Object.cpp.
References Player::SendDirectMessage(), and SendMessageToSet().
Referenced by debug_commandscript::HandleDebugPlayMusicCommand(), boss_algalon_the_observer::JustEngagedWith(), boss_archimonde::UpdateAI(), boss_algalon_the_observer::UpdateAI(), go_brewfest_music::go_brewfest_musicAI::UpdateAI(), go_midsummer_music::go_midsummer_musicAI::UpdateAI(), go_darkmoon_faire_music::go_darkmoon_faire_musicAI::UpdateAI(), and go_pirate_day_music::go_pirate_day_musicAI::UpdateAI().
Definition at line 3432 of file Object.cpp.
References Player::SendDirectMessage(), and SendMessageToSet().
Referenced by spell_kaelthas_gaining_power::AfterApply(), ScriptedAI::DoPlaySoundToSet(), Spell::EffectPlaySound(), AuraEffect::HandleAuraDummy(), debug_commandscript::HandleDebugPlaySoundCommand(), spell_eastern_kingdoms_dead_scar_bombing_run::HandleScript(), spell_kaelthas_explodes::HandleScript(), spell_kaelthas_pure_nether_beam::HandleScript(), spell_headless_horseman_maniacal_laugh::HandleSound(), spell_item_ashbringer::OnDummyEffect(), go_brazier_of_the_herald::OnGossipHello(), spell_kaelthas_gaining_power::OnPeriodic(), npc_blade_of_azzinoth::Reset(), boss_cthun::cthunAI::UpdateAI(), and go_bells::go_bellsAI::UpdateAI().
Definition at line 3424 of file Object.cpp.
References Object::GetGUID(), Player::SendDirectMessage(), and SendMessageToSet().
Referenced by npc_elwynn_forest_wolf::_ScheduleBeforeChasingEvents(), AuraEffect::HandleAuraDummy(), debug_commandscript::HandleDebugPlaySoundCommand(), npc_cameron::UpdateAI(), and go_cheer_speaker::go_cheer_speakerAI::UpdateAI().
|
protectedvirtual |
Reimplemented in Unit.
Definition at line 1050 of file Object.cpp.
References PositionFullTerrainStatus::areaId, PositionFullTerrainStatus::floorZ, PositionFullTerrainStatus::liquidStatus, m_areaId, m_liquidStatus, m_outdoors, m_staticFloorZ, m_zoneId, PositionFullTerrainStatus::outdoors, and sAreaTableStore.
Referenced by Unit::ProcessPositionDataChanged(), and UpdatePositionData().
|
overridevirtual |
Implements Object.
Definition at line 3573 of file Object.cpp.
References GetMap(), and Map::RemoveUpdateObject().
|
overridevirtual |
Reimplemented from Object.
Definition at line 1067 of file Object.cpp.
References DestroyForNearbyPlayers(), Object::IsInWorld(), and Object::RemoveFromWorld().
Referenced by CleanupsBeforeDelete(), Corpse::RemoveFromWorld(), DynamicObject::RemoveFromWorld(), GameObject::RemoveFromWorld(), Unit::RemoveFromWorld(), and Map::~Map().
|
virtual |
Reimplemented in Player.
Definition at line 1827 of file Object.cpp.
References ASSERT, Object::IsInWorld(), IsStoredInWorldObjectGridContainer(), m_currMap, and Map::RemoveWorldObject().
Referenced by Map::RemoveCorpse(), Map::RemoveFromMap(), Player::ResetMap(), Map::~Map(), and ~WorldObject().
| Player * WorldObject::SelectNearestPlayer | ( | float | distance | ) | const |
Definition at line 2162 of file Object.cpp.
References Cell::VisitWorldObjects().
Referenced by boss_four_horsemen_baron::BeginFighting(), boss_four_horsemen_thane::BeginFighting(), SmartScript::GetTargets(), npc_omen::MovementInform(), npc_firework::Reset(), boss_pyroguard_emberseer::UpdateAI(), boss_rend_blackhand::UpdateAI(), boss_victor_nefarius::UpdateAI(), npc_unleashed_dark::UpdateAI(), npc_unleashed_light::UpdateAI(), and boss_svala::UpdateAI().
|
virtual |
Reimplemented in Player.
Definition at line 1784 of file Object.cpp.
References GetVisibilityRange(), Object::IsInWorld(), and SendMessageToSetInRange().
Referenced by Unit::_ExitVehicle(), AuraApplication::ClientUpdate(), Unit::DealMeleeDamage(), Unit::Dismount(), Spell::EffectDispel(), Spell::EffectInstaKill(), Spell::EffectStealBeneficialBuff(), AuraEffect::HandleAuraSetVehicle(), debug_commandscript::HandleDebugMoveflagsCommand(), Unit::HandleEmoteCommand(), WorldSession::HandleMovementOpcode(), WorldSession::HandleUpdateProjectilePosition(), npc_gunship::npc_gunshipAI::JustDied(), Movement::MoveSplineInit::Launch(), Unit::Mount(), PlayDirectMusic(), PlayDirectSound(), PlayDistanceSound(), Creature::SendAIReaction(), Unit::SendAttackStateUpdate(), Spell::SendChannelStart(), Spell::SendChannelUpdate(), ThreatManager::SendClearAllThreatToClients(), Unit::SendClearTarget(), GameObject::SendCustomAnim(), Unit::SendEnergizeSpellLog(), Unit::SendFlightSplineSyncUpdate(), Unit::SendHealSpellLog(), Spell::SendInterrupted(), Spell::SendLogExecute(), Unit::SendMeleeAttackStart(), Unit::SendMeleeAttackStop(), SendObjectDeSpawnAnim(), Unit::SendPeriodicAuraLog(), Unit::SendPetActionSound(), Unit::SendPetDismissSound(), Unit::SendPlaySpellVisualKit(), ThreatManager::SendRemoveToClients(), MovementPacketSender::SendSpeedChangeToAll(), MovementPacketSender::SendSpeedChangeToObservers(), Unit::SendSpellDamageImmune(), Unit::SendSpellDamageResist(), Spell::SendSpellGo(), SendSpellMiss(), Unit::SendSpellNonMeleeDamageLog(), Spell::SendSpellStart(), Unit::SendTeleportPacket(), ThreatManager::SendThreatListToClients(), Unit::SetCanFly(), Unit::SetDisableGravity(), Unit::SetFeatherFall(), Unit::SetHover(), Unit::SetPower(), Unit::SetRooted(), Unit::SetSwim(), Unit::SetWalk(), Unit::SetWaterWalking(), and Movement::MoveSplineInit::Stop().
|
virtual |
Reimplemented in Player.
Definition at line 1796 of file Object.cpp.
References GetVisibilityRange(), and Cell::VisitWorldObjects().
|
virtual |
Reimplemented in Player.
Definition at line 1790 of file Object.cpp.
References Cell::VisitWorldObjects().
Referenced by SendMessageToSet(), Player::SendMessageToSet(), and CreatureTextMgr::SendNonChatPacket().
| void WorldObject::SendObjectDeSpawnAnim | ( | ObjectGuid | guid | ) |
Definition at line 1802 of file Object.cpp.
References SendMessageToSet(), and SMSG_GAMEOBJECT_DESPAWN_ANIM.
Referenced by GameObject::Delete(), DynamicObject::Remove(), Battleground::SpawnBGObject(), and GameObject::Update().
| void WorldObject::SendSpellMiss | ( | Unit * | target, |
| uint32 | spellID, | ||
| SpellMissInfo | missInfo | ||
| ) |
Definition at line 2621 of file Object.cpp.
References Object::GetGUID(), Object::GetGUID(), SendMessageToSet(), and SMSG_SPELLLOGMISS.
Referenced by Unit::CalcAbsorbResist(), Unit::DealMeleeDamage(), and Spell::TargetInfo::PreprocessTarget().
| void WorldObject::setActive | ( | bool | isActiveObject | ) |
Definition at line 992 of file Object.cpp.
References Map::AddToActive(), FindMap(), Object::GetTypeId(), Object::IsInWorld(), m_isActive, Map::RemoveFromActive(), and TYPEID_PLAYER.
Referenced by BossAI::_JustEngagedWith(), BossAI::_JustReachedHome(), Unit::AddPlayerToVision(), boss_thaddius::BeginResetEncounter(), DynamicObject::CreateDynamicObject(), boss_nightbane::boss_nightbaneAI::DoAction(), boss_baltharus_the_warborn::DoAction(), npc_meteor_strike::DoAction(), npc_xerestrasza::DoAction(), boss_sindragosa::DoAction(), npc_spinestalker::DoAction(), npc_rimefang_icc::DoAction(), boss_sister_svalna::DoAction(), npc_crok_scourgebane::DoAction(), npc_argent_captainAI::DoAction(), npc_terenas_menethil::DoAction(), boss_thaddius::DoAction(), boss_skadi::DoAction(), hyjalAI::DoOverrun(), boss_thaddius::JustDied(), boss_headless_horseman::JustEngagedWith(), boss_hadronox::JustEngagedWith(), boss_faction_championsAI::JustEngagedWith(), boss_northrend_beastsAI::JustEngagedWith(), boss_twin_baseAI::JustEngagedWith(), BloodPrincesBossAI::JustEngagedWith(), boss_lord_marrowgar::JustEngagedWith(), npc_the_lich_king_controller::JustEngagedWith(), boss_malygos::JustEngagedWith(), PalehoofMinionsBossAI::JustEngagedWith(), IllidariCouncilBossAI::JustEngagedWith(), boss_essence_of_suffering::JustEngagedWith(), boss_essence_of_desire::JustEngagedWith(), boss_essence_of_anger::JustEngagedWith(), boss_the_lich_king::JustEngagedWith(), boss_sindragosa::JustEngagedWith(), boss_blood_council_controller::JustEngagedWith(), boss_blood_queen_lana_thel::JustEngagedWith(), boss_deathbringer_saurfang::JustEngagedWith(), boss_festergut::JustEngagedWith(), boss_lady_deathwhisper::JustEngagedWith(), boss_professor_putricide::JustEngagedWith(), boss_rotface::JustEngagedWith(), boss_algalon_the_observer::JustEngagedWith(), npc_green_dragon_combat_trigger::JustEnteredCombat(), npc_green_dragon_combat_trigger::JustExitedCombat(), npc_the_lich_king_controller::JustReachedHome(), boss_noth::JustSummoned(), boss_onyxia::JustSummoned(), boss_sister_svalna::MovementInform(), boss_sindragosa::MovementInform(), npc_spinestalker::MovementInform(), npc_rimefang_icc::MovementInform(), npc_minigob_manabonk::npc_minigob_manabonk(), npc_thorim_pre_phase::npc_thorim_pre_phaseAI::npc_thorim_pre_phaseAI(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbrad(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::OnCreatureCreate(), instance_obsidian_sanctum::instance_obsidian_sanctum_InstanceMapScript::OnCreatureCreate(), npc_grauf::PassengerBoarded(), Unit::RemovePlayerFromVision(), npc_valkyr_battle_maiden::npc_valkyr_battle_maidenAI::Reset(), boss_headless_horseman::Reset(), boss_kalecgos_kj::boss_kalecgos_kjAI::Reset(), hyjalAI::Reset(), npc_razorscale_spawner::Reset(), npc_highlord_tirion_fordring_lh::SetData(), Creature::setDeathState(), npc_crok_scourgebane::SetGUID(), Battlefield::SpawnCreature(), Battlefield::SpawnGameObject(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), hyjalAI::SummonCreature(), npc_xerestrasza::UpdateAI(), boss_the_lich_king::UpdateAI(), npc_highlord_tirion_fordring_lh::UpdateAI(), and npc_crok_scourgebane::WaypointReached().
|
inlinevirtual |
Reimplemented in GameObject, and Unit.
| void WorldObject::SetFarVisible | ( | bool | on | ) |
Definition at line 1015 of file Object.cpp.
References Object::GetTypeId(), m_isFarVisible, and TYPEID_PLAYER.
Referenced by boss_thaddius::BeginResetEncounter(), boss_nightbane::boss_nightbaneAI::DoAction(), boss_baltharus_the_warborn::DoAction(), npc_meteor_strike::DoAction(), npc_xerestrasza::DoAction(), boss_sindragosa::DoAction(), npc_spinestalker::DoAction(), npc_rimefang_icc::DoAction(), boss_sister_svalna::DoAction(), npc_crok_scourgebane::DoAction(), npc_argent_captainAI::DoAction(), npc_terenas_menethil::DoAction(), boss_thaddius::DoAction(), hyjalAI::DoOverrun(), boss_thaddius::JustDied(), boss_sindragosa::JustEngagedWith(), boss_algalon_the_observer::JustEngagedWith(), boss_noth::JustSummoned(), boss_onyxia::JustSummoned(), boss_sister_svalna::MovementInform(), boss_sindragosa::MovementInform(), npc_spinestalker::MovementInform(), npc_rimefang_icc::MovementInform(), npc_thorim_pre_phase::npc_thorim_pre_phaseAI::npc_thorim_pre_phaseAI(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbrad(), instance_obsidian_sanctum::instance_obsidian_sanctum_InstanceMapScript::OnCreatureCreate(), npc_grauf::PassengerBoarded(), npc_valkyr_battle_maiden::npc_valkyr_battle_maidenAI::Reset(), boss_kalecgos_kj::boss_kalecgos_kjAI::Reset(), hyjalAI::Reset(), npc_razorscale_spawner::Reset(), npc_highlord_tirion_fordring_lh::SetData(), npc_crok_scourgebane::SetGUID(), Battlefield::SpawnCreature(), Battlefield::SpawnGameObject(), hyjalAI::SummonCreature(), npc_xerestrasza::UpdateAI(), boss_the_lich_king::UpdateAI(), and npc_crok_scourgebane::WaypointReached().
| void WorldObject::SetIsStoredInWorldObjectGridContainer | ( | bool | apply | ) |
Definition at line 973 of file Object.cpp.
References Map::AddObjectToSwitchList(), GetMap(), and Object::IsInWorld().
Referenced by Unit::AddPlayerToVision(), and Unit::RemovePlayerFromVision().
|
inlineprotected |
Definition at line 623 of file Object.h.
Referenced by Corpse::LoadCorpseFromDB().
|
inlineprotected |
Definition at line 622 of file Object.h.
Referenced by Corpse::LoadCorpseFromDB().
|
virtual |
Reimplemented in Player.
Definition at line 1809 of file Object.cpp.
References ABORT, Map::AddWorldObject(), ASSERT, Map::GetId(), Map::GetInstanceId(), Object::GetTypeId(), Object::IsInWorld(), IsStoredInWorldObjectGridContainer(), m_currMap, m_InstanceId, WorldLocation::m_mapId, and TC_LOG_FATAL.
Referenced by Map::AddCorpse(), Creature::Create(), Pet::Create(), GameObject::Create(), DynamicObject::CreateDynamicObject(), TransportMgr::CreateTransport(), Transport::DelayedTeleportTransport(), and Player::SetMap().
|
inline |
Definition at line 385 of file Object.h.
Referenced by Transport::Create(), GameObject::Create(), Pet::CreateBaseAtCreature(), Pet::CreateBaseAtCreatureInfo(), Spell::EffectSummonPet(), WorldSession::HandlePetRename(), Creature::InitEntry(), Pet::LoadPetFromDB(), and Player::SummonPet().
|
virtual |
Reimplemented in Creature, GameObject, Player, and Unit.
Definition at line 3416 of file Object.cpp.
References Object::IsInWorld(), m_phaseMask, and UpdateObjectVisibility().
Referenced by Map::ConvertCorpseToBones(), Corpse::Create(), DynamicObject::CreateDynamicObject(), Corpse::LoadCorpseFromDB(), GameObject::SetPhaseMask(), and Unit::SetPhaseMask().
|
inline |
Definition at line 598 of file Object.h.
Referenced by Map::SummonCreature().
|
inline |
Definition at line 575 of file Object.h.
Referenced by Transport::AddPassenger(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), Transport::RemovePassenger(), and Transport::SummonPassenger().
| void WorldObject::SetVisibilityDistanceOverride | ( | VisibilityDistanceType | type | ) |
Definition at line 1023 of file Object.cpp.
References ASSERT, AsUnderlyingType(), Object::GetTypeId(), m_visibilityDistanceOverride, Max, TYPEID_PLAYER, and VisibilityDistances.
Referenced by GameObject::Create(), and Creature::LoadCreaturesAddon().
| void WorldObject::SetZoneScript | ( | ) |
Definition at line 1972 of file Object.cpp.
References FindMap(), GetZoneId(), m_zoneScript, sBattlefieldMgr, sOutdoorPvPMgr, and Map::ToInstanceMap().
Referenced by GameObject::Create(), and Creature::CreateFromProto().
| SpellMissInfo WorldObject::SpellHitResult | ( | Unit * | victim, |
| SpellInfo const * | spellInfo, | ||
| bool | canReflect = false |
||
| ) | const |
Definition at line 2572 of file Object.cpp.
References SpellInfo::DmgClass, SpellInfo::GetSchoolMask(), Unit::GetTotalAuraModifier(), Unit::GetTotalAuraModifierByMiscMask(), Object::GetTypeId(), SpellInfo::HasAttribute(), SpellInfo::HasOnlyDamageEffects(), Creature::IsEvadingAttacks(), IsHostileTo(), Unit::IsImmunedToDamage(), Unit::IsImmunedToSpell(), SpellInfo::IsPositive(), MagicSpellHitResult(), MeleeSpellHitResult(), roll_chance_i(), SPELL_ATTR3_IGNORE_HIT_RESULT, SPELL_AURA_REFLECT_SPELLS, SPELL_AURA_REFLECT_SPELLS_SCHOOL, SPELL_DAMAGE_CLASS_MAGIC, SPELL_DAMAGE_CLASS_MELEE, SPELL_DAMAGE_CLASS_NONE, SPELL_DAMAGE_CLASS_RANGED, SPELL_MISS_EVADE, SPELL_MISS_IMMUNE, SPELL_MISS_NONE, SPELL_MISS_REFLECT, Object::ToCreature(), and TYPEID_UNIT.
Referenced by Spell::AddUnitTarget(), Unit::DealMeleeDamage(), and AuraEffect::HandlePeriodicManaLeechAuraTick().
| 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 |
||
| ) |
Definition at line 2007 of file Object.cpp.
References GetClosePoint(), GetCombatReach(), Position::GetOrientation(), and SummonCreature().
| 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 |
||
| ) |
Definition at line 1993 of file Object.cpp.
References FindMap(), TempSummon::SetTempSummonType(), and SummonCreature().
Referenced by instance_violet_hold::instance_violet_hold_InstanceMapScript::AddWave(), npc_arthas_stratholme::npc_arthas_stratholmeAI::AdvanceToState(), CinematicMgr::BeginCinematic(), boss_kiljaeden::boss_kiljaedenAI::CastSinisterReflection(), npc_claw_tentacle::claw_tentacleAI::claw_tentacleAI(), boss_slad_ran::DamageTaken(), boss_viscidus::boss_viscidusAI::DamageTaken(), boss_felmyst::DespawnSummons(), npc_thalorien_dawnseeker::DoAction(), npc_tirion_toc::DoAction(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::DoAction(), boss_skadi::DoAction(), npc_thrall_herald_of_war::npc_thrall_herald_of_warAI::DoAction(), boss_krick::DoAction(), instance_stratholme::instance_stratholme_InstanceMapScript::DoGateTrap(), hyjalAI::DoOverrun(), npc_rinji::npc_rinjiAI::DoSpawnAmbush(), ScriptedAI::DoSpawnCreature(), npc_announcer_toc5::npc_announcer_toc5AI::DoStartArgentChampionEncounter(), CreatureAI::DoSummon(), CreatureAI::DoSummon(), CreatureAI::DoSummonFlyer(), npc_announcer_toc5::npc_announcer_toc5AI::DoSummonGrandChampion(), npc_ranshalla::npc_ranshallaAI::DoSummonPriestess(), npc_muglash::npc_muglashAI::DoWaveSummon(), Spell::EffectSummonType(), boss_gormok::ExecuteEvent(), boss_jormungarAI::ExecuteEvent(), boss_ahune::ExecuteEvent(), npc_eye_tentacle::eye_tentacleAI::eye_tentacleAI(), npc_air_force_bots::npc_air_force_botsAI::GetOrSummonGuard(), npc_giant_claw_tentacle::giant_claw_tentacleAI::giant_claw_tentacleAI(), npc_giant_eye_tentacle::giant_eye_tentacleAI::giant_eye_tentacleAI(), npc_simon_bunny::npc_simon_bunnyAI::GivePunishment(), npc_tirion_toc::HandleBarrettSummon(), spell_rotface_unstable_ooze_explosion_init::HandleCast(), debug_commandscript::HandleDebugSpawnVehicleCommand(), spell_bem_choose_loc::HandleDummy(), boss_felmyst::HandleFlightSequence(), mmaps_commandscript::HandleMmapPathCommand(), npc_commandscript::HandleNpcAddTempSpawnCommand(), spell_bem_wicked_strong_fetish::HandleScript(), spell_shadow_portal_rooms::HandleSendEvent(), npc_malcolm_moore::npc_malcolm_mooreAI::InitializeAI(), boss_priestess_delrissa::InitializeLackeys(), Vehicle::InstallAccessory(), npc_meteor_strike_initial::IsSummonedBy(), boss_hodir::JustAppeared(), npc_ranshalla::npc_ranshallaAI::JustDidDialogueStep(), boss_halycon::JustDied(), boss_headless_horseman::JustDied(), boss_herod::JustDied(), npc_restless_soul::npc_restless_soulAI::JustDied(), boss_celebras_the_cursed::JustDied(), boss_princess_theradras::JustDied(), boss_malygos::JustDied(), boss_exarch_maladaar::JustDied(), boss_kalecgos::JustEngagedWith(), boss_mandokir::JustEngagedWith(), boss_jedoga_shadowseeker::JustEngagedWith(), boss_anubarak_trial::JustEngagedWith(), boss_fjola::JustEngagedWith(), boss_thorim::boss_thorimAI::JustEngagedWith(), boss_anubarak_trial::JustReachedHome(), boss_sara::boss_saraAI::JustSummoned(), boss_svala::MoveInLineOfSight(), boss_onyxia::MovementInform(), boss_ymiron::MovementInform(), instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript::OnGameObjectCreate(), go_gong_of_bethekk::OnGossipHello(), go_brazier_of_madness::go_brazier_of_madnessAI::OnGossipHello(), go_shallow_grave::go_shallow_graveAI::OnGossipHello(), go_resonite_cask::go_resonite_caskAI::OnGossipHello(), go_brazier_of_the_herald::OnGossipHello(), go_orb_of_the_blue_flight::go_orb_of_the_blue_flightAI::OnGossipHello(), go_legion_obelisk::go_legion_obeliskAI::OnGossipHello(), go_gilded_brazier::go_gilded_brazierAI::OnGossipHello(), go_ethereum_prison::go_ethereum_prisonAI::OnGossipHello(), go_ethereum_stasis::go_ethereum_stasisAI::OnGossipHello(), go_southfury_moonstone::go_southfury_moonstoneAI::OnGossipHello(), go_blood_filled_orb::go_blood_filled_orbAI::OnGossipHello(), npc_observation_ring_keeper::npc_observation_ring_keeperAI::OnGossipSelect(), npc_thrall_old_hillsbrad::OnGossipSelect(), npc_taretha::OnGossipSelect(), go_apexis_relic::go_apexis_relicAI::OnGossipSelect(), go_crystalline_tear::go_crystalline_tearAI::OnQuestAccept(), npc_maghar_captive::npc_maghar_captiveAI::OnQuestAccept(), npc_kurenai_captive::npc_kurenai_captiveAI::OnQuestAccept(), go_celestial_planetarium_access::OnReportUse(), AreaTrigger_at_sentry_point::OnTrigger(), at_ring_of_law::OnTrigger(), at_malfurion_stormrage::OnTrigger(), at_twilight_grove::OnTrigger(), at_nethekurse_exit::OnTrigger(), AreaTrigger_at_scent_larkorwi::OnTrigger(), AreaTrigger_at_nats_landing::OnTrigger(), AreaTrigger_at_frostgrips_hollow::OnTrigger(), AreaTrigger_at_area_52_entrance::OnTrigger(), instance_gundrak::instance_gundrak_InstanceMapScript::OnUnitDeath(), dummy_dragonAI::OpenPortal(), spell_sindragosa_ice_tomb_trap::PeriodicTick(), SmartScript::ProcessAction(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::ProcessEvent(), instance_oculus::instance_oculus_InstanceMapScript::ProcessEvent(), instance_shattered_halls::instance_shattered_halls_InstanceMapScript::ReadSaveDataMore(), boss_coren_direbrew::Reset(), boss_garaxxas::Reset(), npc_firework::Reset(), npc_thrall_herald_of_war::npc_thrall_herald_of_warAI::Reset(), boss_jedoga_shadowseeker::Reset(), boss_the_lich_king::Reset(), go_empowering_blood_orb::Reset(), boss_thorim::boss_thorimAI::Reset(), npc_runic_colossus::npc_runic_colossusAI::Reset(), npc_ancient_rune_giant::npc_ancient_rune_giantAI::Reset(), boss_skadi::Reset(), boss_emalon::Reset(), npc_sinclari_vh::Reset(), go_vazruden_liquid_fire::Reset(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::Reset(), hyjalAI::Retreat(), npc_darkfallen_noble::ScheduleSpells(), instance_razorfen_downs::instance_razorfen_downs_InstanceMapScript::SetData(), npc_idol_room_spawner::npc_idol_room_spawnerAI::SetData(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::SetGUID(), npc_brann_hos::SpawnDwarf(), boss_skadi::SpawnFirstWave(), boss_moroes::SpawnGuests(), boss_amanitar::SpawnMushroom(), boss_ossirian::boss_ossirianAI::SpawnNextCrystal(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::SpawnNPC(), instance_violet_hold::instance_violet_hold_InstanceMapScript::SpawnPortal(), npc_twilight_eggs::SpawnWhelps(), boss_king_dred::SpellHit(), boss_felmyst::SpellHit(), boss_volazj::SpellHitTarget(), boss_sister_svalna::SpellHitTarget(), boss_lethon::boss_lethonAI::SpellHitTarget(), boss_urom::StartAttack(), npc_announcer_toc5::npc_announcer_toc5AI::StartEncounter(), npc_image_of_medivh::npc_image_of_medivhAI::StartEvent(), npc_geezle::npc_geezleAI::StartEvent(), boss_lady_deathwhisper::Summon(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::Summon(), npc_akama_shade::SummonBrokens(), boss_toc_champion_controller::SummonChampions(), npc_frostsworn_general::npc_frostsworn_generalAI::SummonClones(), hyjalAI::SummonCreature(), SummonCreature(), SummonCreature(), SummonCreatureGroup(), instance_deadmines::instance_deadmines_InstanceMapScript::SummonCreatures(), instance_zulaman::instance_zulaman_InstanceMapScript::SummonHostage(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::SummonIceWall(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::SummonInfernal(), boss_malchezaar::boss_malchezaarAI::SummonInfernal(), boss_razorscale::SummonMinions(), boss_illidan_stormrage::SummonMinions(), npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI::SummonNextWave(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::SummonNextWave(), go_wind_stone::go_wind_stoneAI::SummonNPC(), boss_netherspite::boss_netherspiteAI::SummonPortals(), npc_grimstone::npc_grimstoneAI::SummonRingBoss(), npc_grimstone::npc_grimstoneAI::SummonRingMob(), boss_coren_direbrew::SummonSister(), SummonTrigger(), boss_thorim::boss_thorimAI::SummonWave(), at_the_dead_scar::TryHandleOnce(), instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript::Update(), boss_overlord_wyrmthalak::UpdateAI(), boss_rend_blackhand::UpdateAI(), boss_victor_nefarius::UpdateAI(), boss_malchezaar::boss_malchezaarAI::UpdateAI(), boss_shade_of_aran::boss_aranAI::UpdateAI(), npc_kalecgos::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), boss_felmyst::UpdateAI(), npc_kiljaeden_controller::npc_kiljaeden_controllerAI::UpdateAI(), boss_kiljaeden::boss_kiljaedenAI::UpdateAI(), npc_thalorien_dawnseeker::UpdateAI(), boss_hazzarah::UpdateAI(), boss_jindo::UpdateAI(), npc_giant_infernal::npc_giant_infernalAI::UpdateAI(), boss_onyxia::UpdateAI(), npc_belnistrasz::npc_belnistraszAI::UpdateAI(), boss_eye_of_cthun::eye_of_cthunAI::UpdateAI(), boss_cthun::cthunAI::UpdateAI(), npc_claw_tentacle::claw_tentacleAI::UpdateAI(), npc_giant_claw_tentacle::giant_claw_tentacleAI::UpdateAI(), npc_clintar_spirit::npc_clintar_spiritAI::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), boss_jedoga_shadowseeker::UpdateAI(), boss_sartharion::UpdateAI(), npc_meteor_strike::UpdateAI(), npc_meteor_strike_flame::UpdateAI(), boss_anubarak_trial::UpdateAI(), npc_tirion_toc::UpdateAI(), npc_fizzlebang_toc::UpdateAI(), npc_jaina_or_sylvanas_intro_hor::npc_jaina_or_sylvanas_intro_horAI::UpdateAI(), npc_uther_quel_delar::npc_uther_quel_delarAI::UpdateAI(), boss_krick::UpdateAI(), boss_kelthuzad::UpdateAI(), boss_malygos::UpdateAI(), boss_anomalus::UpdateAI(), npc_chaotic_rift::UpdateAI(), npc_tribuna_controller::UpdateAI(), boss_algalon_the_observer::UpdateAI(), boss_flame_leviathan::boss_flame_leviathanAI::UpdateAI(), boss_ignis::boss_ignis_AI::UpdateAI(), boss_mimiron::boss_mimironAI::UpdateAI(), go_caribou_trap::UpdateAI(), npc_thassarian::UpdateAI(), npc_brann_bronzebeard_keystone::UpdateAI(), boss_illidan_stormrage::UpdateAI(), npc_ahune_bunny::UpdateAI(), npc_warden_mellichar::UpdateAI(), npc_colonel_jules::npc_colonel_julesAI::UpdateAI(), npc_commander_dawnforge::npc_commander_dawnforgeAI::UpdateAI(), npc_doctor::npc_doctorAI::UpdateAI(), boss_netherspite::boss_netherspiteAI::UpdatePortals(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::UseLastStatue(), CreatureAI::VisualizeBoundary(), npc_lord_gregor_lescovar::npc_lord_gregor_lescovarAI::WaypointReached(), npc_thrall_old_hillsbrad::WaypointReached(), npc_ruul_snowhoof::npc_ruul_snowhoofAI::WaypointReached(), npc_emily::WaypointReached(), npc_maghar_captive::npc_maghar_captiveAI::WaypointReached(), and npc_kurenai_captive::npc_kurenai_captiveAI::WaypointReached().
| 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 2083 of file Object.cpp.
References ASSERT, Object::GetEntry(), Object::GetGUID(), GetName(), Object::GetTypeId(), sObjectMgr, SummonCreature(), SUMMONER_TYPE_CREATURE, SUMMONER_TYPE_GAMEOBJECT, TC_LOG_WARN, Position::ToString(), TYPEID_GAMEOBJECT, and TYPEID_UNIT.
Referenced by npc_thalorien_dawnseeker::DoAction(), boss_kelthuzad::DoAction(), boss_brain_of_yogg_saron::boss_brain_of_yogg_saronAI::DoAction(), boss_magtheridon::JustAppeared(), boss_dathrohan_balnazzar::JustDied(), boss_ramstein_the_gorger::JustDied(), boss_jedoga_shadowseeker::JustEngagedWith(), boss_anub_arak::JustEngagedWith(), SmartScript::ProcessAction(), boss_apothecary_hummel::Reset(), boss_jedoga_shadowseeker::Reset(), boss_prince_taldaram::Reset(), boss_blood_council_controller::Reset(), npc_green_dragon_combat_trigger::Reset(), boss_razorscale::Reset(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::Reset(), boss_palehoof::Reset(), boss_illidan_stormrage::Reset(), boss_illidari_council::Reset(), boss_shade_of_akama::Reset(), boss_krik_thir::SummonAdds(), boss_faerlina::SummonAdds(), boss_razuvious::SummonAdds(), boss_hadronox::SummonCrusherPack(), boss_anubrekhan::SummonGuards(), npc_koltira_deathweaver::UpdateAI(), npc_thalorien_dawnseeker::UpdateAI(), npc_disciple_of_naralex::UpdateAI(), npc_tirion_toc::UpdateAI(), boss_anubrekhan::UpdateAI(), boss_gluth::UpdateAI(), boss_kelthuzad::UpdateAI(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::UpdateAI(), boss_keleseth::UpdateAI(), npc_akama_illidan::UpdateAI(), and boss_warchief_kargath_bladefist::UpdateAI().
| 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 |
||
| ) |
Definition at line 2046 of file Object.cpp.
References GetClosePoint(), GetCombatReach(), Position::GetOrientation(), and SummonGameObject().
| GameObject * WorldObject::SummonGameObject | ( | uint32 | entry, |
| Position const & | pos, | ||
| QuaternionData const & | rot, | ||
| Seconds | respawnTime, | ||
| GOSummonType | summonType = GO_SUMMON_TIMED_OR_CORPSE_DESPAWN |
||
| ) |
Definition at line 2016 of file Object.cpp.
References Unit::AddGameObject(), Map::AddToMap(), GameObject::Create(), GameObject, Map::GenerateLowGuid(), GetMap(), GetPhaseMask(), Object::GetTypeId(), GO_STATE_READY, GO_SUMMON_TIMED_OR_CORPSE_DESPAWN, Object::IsInWorld(), GameObject::SetRespawnTime(), GameObject::SetSpawnedByDefault(), sObjectMgr, TC_LOG_ERROR, Object::ToUnit(), TYPEID_PLAYER, and TYPEID_UNIT.
Referenced by npc_expedition_commander::BuildBrokenHarpoons(), npc_expedition_commander::BuildHarpoon(), npc_ahune_bunny::DoAction(), hyjalAI::DoOverrun(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), gobject_commandscript::HandleGameObjectAddTempCommand(), spell_alexstrasza_gift_beam_visual::OnApply(), npc_zulaman_hostage::npc_zulaman_hostageAI::OnGossipSelect(), spell_sindragosa_ice_tomb_trap::PeriodicTick(), SmartScript::ProcessAction(), npc_firework::Reset(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::Reset(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::SetBossState(), boss_ossirian::boss_ossirianAI::SpawnNextCrystal(), hyjalAI::SpawnVeins(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::Summon(), SummonGameObject(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), npc_headless_horseman_head::UpdateAI(), go_cheer_speaker::go_cheer_speakerAI::UpdateAI(), hyjalAI::UpdateAI(), npc_medivh_bm::UpdateAI(), npc_belnistrasz::npc_belnistraszAI::UpdateAI(), npc_demolitionist_legoso::npc_demolitionist_legosoAI::UpdateAI(), boss_mimiron::boss_mimironAI::UpdateAI(), go_caribou_trap::UpdateAI(), npc_brann_bronzebeard_keystone::UpdateAI(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::UseLastStatue(), and instance_sunken_temple::instance_sunken_temple_InstanceMapScript::UseStatue().
| Creature * WorldObject::SummonTrigger | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | ang, | ||
| Milliseconds | despawnTime, | ||
| CreatureAI *(*)(Creature *) | GetAI = nullptr |
||
| ) |
Definition at line 2058 of file Object.cpp.
References Creature::AIM_Initialize(), GetFaction(), Object::GetTypeId(), Unit::SetFaction(), Unit::SetLevel(), SummonCreature(), TEMPSUMMON_DEAD_DESPAWN, TEMPSUMMON_TIMED_DESPAWN, TYPEID_PLAYER, TYPEID_UNIT, and WORLD_TRIGGER.
Referenced by npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::CaveDestruction(), and go_wg_vehicle_teleporter::GetValidVehicle().
|
virtual |
Reimplemented in Pet, Transport, DynamicObject, GameObject, Creature, TempSummon, Puppet, Player, Totem, and Unit.
Definition at line 961 of file Object.cpp.
References _heartbeatTimer, Heartbeat(), HEARTBEAT_INTERVAL, m_Events, and EventProcessor::Update().
Referenced by GameObject::Update(), Unit::Update(), and Map::Update().
| void WorldObject::UpdateAllowedPositionZ | ( | float | x, |
| float | y, | ||
| float & | z, | ||
| float * | groundZ = nullptr |
||
| ) | const |
Definition at line 1417 of file Object.cpp.
References Unit::CanFly(), Unit::CanSwim(), Unit::GetHoverOffset(), GetMapHeight(), GetMapWaterOrGroundLevel(), GetTransport(), INVALID_HEIGHT, and Object::ToUnit().
Referenced by GetNearPoint(), MotionMaster::MoveJumpTo(), MovePositionToFirstCollision(), PathGenerator::NormalizePath(), Creature::RemoveCorpse(), Unit::SetHover(), HomeMovementGenerator< T >::SetTargetLocation(), and ChaseMovementGenerator::Update().
| void WorldObject::UpdateGroundPositionZ | ( | float | x, |
| float | y, | ||
| float & | z | ||
| ) | const |
Definition at line 1406 of file Object.cpp.
References Unit::GetHoverOffset(), GetMapHeight(), INVALID_HEIGHT, and Object::ToUnit().
Referenced by npc_frost_sphere::DamageTaken(), GetRandomPoint(), Player::HandleFall(), npc_spirit_bomb::IsSummonedBy(), npc_frost_wyrm::npc_frost_wyrmAI::JustDied(), npc_gargoyle::npc_gargoyleAI::JustDied(), MovePosition(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::Reset(), spell_sindragosa_s_fury::SelectDest(), boss_felmyst::UpdateAI(), and boss_sindragosa::UpdateAI().
|
virtual |
Reimplemented in Player, and Unit.
Definition at line 3481 of file Object.cpp.
References GetVisibilityRange(), and Cell::VisitWorldObjects().
Referenced by Map::DynamicObjectRelocation(), Map::GameObjectRelocation(), Map::GameObjectRespawnRelocation(), Map::MoveAllDynamicObjectsInMoveList(), Map::MoveAllGameObjectsInMoveList(), SetPhaseMask(), GameObject::SetRespawnTime(), GameObject::Update(), Unit::UpdateObjectVisibility(), and TempSummon::UpdateObjectVisibilityOnCreate().
|
inlinevirtual |
Reimplemented in TempSummon.
| void WorldObject::UpdatePositionData | ( | ) |
Definition at line 1043 of file Object.cpp.
References GetCollisionHeight(), Map::GetFullTerrainStatusForPosition(), GetMap(), GetPhaseMask(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), and ProcessPositionDataChanged().
Referenced by GameObject::Create(), Map::CreatureRelocation(), Map::CreatureRespawnRelocation(), Map::DynamicObjectRelocation(), Map::GameObjectRelocation(), Map::GameObjectRespawnRelocation(), Player::LoadFromDB(), Map::MoveAllCreaturesInMoveList(), Map::MoveAllDynamicObjectsInMoveList(), Map::MoveAllGameObjectsInMoveList(), Map::PlayerRelocation(), and Unit::UpdatePosition().
|
private |
|
private |
Definition at line 640 of file Object.h.
Referenced by CheckPrivateObjectOwnerVisibility().
| uint32 WorldObject::LastUsedScriptID |
Definition at line 563 of file Object.h.
Referenced by Creature::Create(), GameObject::Create(), WorldSession::HandleGossipSelectOptionOpcode(), and Creature::UpdateEntry().
|
protected |
Definition at line 614 of file Object.h.
Referenced by AddToWorld(), and ProcessPositionDataChanged().
|
private |
Definition at line 633 of file Object.h.
Referenced by ResetMap(), SetMap(), and ~WorldObject().
| EventProcessor WorldObject::m_Events |
Definition at line 593 of file Object.h.
Referenced by Vehicle::AddPassenger(), Spell::AddUnitTarget(), Creature::CallAssistance(), CleanupsBeforeDelete(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::DestroyIceWall(), BloodPrincesBossAI::DoAction(), boss_sindragosa::DoAction(), npc_spinestalker::DoAction(), npc_rimefang_icc::DoAction(), npc_green_dragon_combat_trigger::DoAction(), ScriptedAI::DoAddEvent(), Aura::DropChargeDelayed(), SpellEvent::Execute(), TrashJumpEvent::Execute(), LightningFieldEvent::Execute(), ActivateLivingConstellation::Execute(), SummonUnleashedDarkMatter::Execute(), BattleExperienceEvent::Execute(), ScheduledIcicleSummons::Execute(), TriggerWickedSpirit::Execute(), OrbFlyEvent::Execute(), PartyTimeEmoteEvent::Execute(), boss_thorim::boss_thorimAI::FinishEncounter(), Creature::ForcedDespawn(), spell_akilzon_electrical_storm::HandleAfterHit(), spell_palehoof_awaken_gortok::HandleDummy(), spell_illidan_throw_warglaive::HandleDummy(), spell_item_party_time::HandleEffectApply(), boss_twin_baseAI::HandleRemoveAuras(), spell_palehoof_awaken_subboss::HandleScript(), npc_enslaved_soul::HandleSoulRelease(), boss_reliquary_of_souls::HandleSpirits(), go_ragnaros_lava_burst_trap::InitializeAI(), npc_gunship::npc_gunshipAI::JustDied(), boss_prince_valanar_icc::JustSummoned(), boss_sindragosa::JustSummoned(), boss_the_lich_king::JustSummoned(), boss_valithria_dreamwalker::JustSummoned(), npc_risen_archmage::JustSummoned(), boss_algalon_the_observer::JustSummoned(), boss_thorim::boss_thorimAI::JustSummoned(), spell_ioc_launch::Launch(), CreatureGameObjectScriptRegistrySwapHooks< ObjectType, ScriptType, Base >::LoadResetScript(), gunship_npc_AI::MovementInform(), npc_gunship_boarding_addAI::MovementInform(), npc_bountiful_table::npc_bountiful_tableAI::PassengerBoarded(), Spell::prepare(), Spell::RecalculateDelayMomentForDst(), npc_jormungars_slime_pool::Reset(), ScriptedAI::SetAggressiveStateAfter(), npc_gunship_boarding_addAI::SetData(), boss_the_beast::SetData(), boss_felblood_kaelthas::SpellHitTarget(), CreatureGameObjectScriptRegistrySwapHooks< ObjectType, ScriptType, Base >::UnloadResetScript(), CreatureGameObjectScriptRegistrySwapHooks< ObjectType, ScriptType, Base >::UnloadResetScript(), TempSummon::UnSummon(), Totem::UnSummon(), Update(), boss_the_lich_king::UpdateAI(), boss_algalon_the_observer::UpdateAI(), boss_thorim::boss_thorimAI::UpdateAI(), and Unit::~Unit().
|
private |
| FlaggedValuesArray32<int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPES> WorldObject::m_invisibility |
Definition at line 443 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 444 of file Object.h.
Referenced by CanDetectInvisibilityOf(), AuraEffect::HandleModInvisibilityDetect(), npc_q10720_keg_credit::npc_q10720_keg_credit(), and Player::UpdateInvisibilityDrunkDetect().
|
protected |
Definition at line 603 of file Object.h.
Referenced by Player::Player(), and setActive().
|
protected |
Definition at line 604 of file Object.h.
Referenced by SetFarVisible().
|
protected |
Definition at line 606 of file Object.h.
Referenced by IsStoredInWorldObjectGridContainer().
|
protected |
Definition at line 617 of file Object.h.
Referenced by ProcessPositionDataChanged().
| MovementInfo WorldObject::m_movementInfo |
Definition at line 577 of file Object.h.
Referenced by _IsWithinDist(), Transport::AddPassenger(), Unit::BuildMovementPacket(), Object::BuildMovementUpdate(), WorldSession::BuildPartyMemberStatsChangedPacket(), DynamicObject::CreateDynamicObject(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), Transport::DelayedTeleportTransport(), Unit::DisableSpline(), VehicleJoinEvent::Execute(), WorldSession::HandleChangeSeatsOnControlledVehicle(), debug_commandscript::HandleDebugMoveflagsCommand(), WorldSession::HandleDismissControlledVehicle(), Player::HandleFall(), WorldSession::HandleForceSpeedChangeAck(), WorldSession::HandleMoveKnockBackAck(), WorldSession::HandleMovementOpcode(), WorldSession::HandleMoveTimeSkippedOpcode(), WorldSession::HandleRequestPartyMemberStatsOpcode(), Unit::IsFalling(), Movement::MoveSplineInit::Launch(), Player::LoadFromDB(), Movement::MoveSplineInit::MoveSplineInit(), spell_igb_teleport_to_enemy_ship::RelocateTransportOffset(), Unit::RemoveCharmedBy(), Creature::RemoveCorpse(), Vehicle::RemovePassenger(), Transport::RemovePassenger(), MovementPacketSender::SendSpeedChangeToObservers(), Unit::SendTeleportPacket(), Unit::SetCanFly(), Unit::SetDisableGravity(), Unit::SetFall(), Unit::SetFeatherFall(), Unit::SetHover(), Unit::SetWaterWalking(), Movement::MoveSplineInit::Stop(), Transport::SummonPassenger(), Player::TeleportTo(), boss_warrior_toc5::boss_warrior_toc5AI::UpdateAI(), boss_mage_toc5::boss_mage_toc5AI::UpdateAI(), boss_shaman_toc5::boss_shaman_toc5AI::UpdateAI(), boss_hunter_toc5::boss_hunter_toc5AI::UpdateAI(), boss_rouge_toc5::boss_rouge_toc5AI::UpdateAI(), Transport::UpdatePassengerPositions(), and Unit::UpdateSplinePosition().
|
protected |
Definition at line 602 of file Object.h.
Referenced by Player::Create(), Player::LoadFromDB(), Pet::Pet(), Pet::SavePetToDB(), and Player::SaveToDB().
|
protected |
Definition at line 616 of file Object.h.
Referenced by ProcessPositionDataChanged().
|
private |
Definition at line 636 of file Object.h.
Referenced by SetPhaseMask().
| FlaggedValuesArray32<int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPES> WorldObject::m_serverSideVisibility |
Definition at line 446 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 447 of file Object.h.
Referenced by CanSeeOrDetect(), Creature::Create(), AuraEffect::HandleAuraGhost(), Player::SetGameMaster(), and WorldObject().
|
protected |
Definition at line 615 of file Object.h.
Referenced by GetFloorZ(), and ProcessPositionDataChanged().
| FlaggedValuesArray32<int32, uint32, StealthType, TOTAL_STEALTH_TYPES> WorldObject::m_stealth |
Definition at line 440 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 441 of file Object.h.
Referenced by CanDetectStealthOf(), and AuraEffect::HandleModStealthDetect().
|
protected |
Definition at line 605 of file Object.h.
Referenced by GetSightRange(), GetVisibilityRange(), and SetVisibilityDistanceOverride().
|
protected |
Definition at line 613 of file Object.h.
Referenced by AddToWorld(), and ProcessPositionDataChanged().
|
protected |
Definition at line 607 of file Object.h.
Referenced by GameObject::AddToWorld(), ClearZoneScript(), GameObject::Create(), TransportMgr::CreateTransport(), GameObject::RemoveFromWorld(), and SetZoneScript().