|
| AreaTrigger () |
|
| ~AreaTrigger () |
|
void | AddToWorld () override |
|
void | RemoveFromWorld () override |
|
bool | CreateAreaTrigger (ObjectGuid::LowType guidlow, uint32 triggerEntry, Unit *caster, SpellInfo const *spell, Position const &pos) |
|
void | Update (uint32 p_time) override |
|
void | Remove () |
|
uint32 | GetSpellId () const |
|
int32 | GetDuration () const |
|
void | SetDuration (int32 newDuration) |
|
void | Delay (int32 delaytime) |
|
virtual | ~WorldObject () |
|
void | GetNearPoint2D (float &x, float &y, float distance, float absAngle) const |
|
void | GetNearPoint (WorldObject const *searcher, float &x, float &y, float &z, float searcher_size, float distance2d, float absAngle) const |
|
void | GetClosePoint (float &x, float &y, float &z, float size, float distance2d=0, float angle=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 |
|
float | GetObjectSize () const |
|
void | UpdateGroundPositionZ (float x, float y, float &z) const |
|
void | UpdateAllowedPositionZ (float x, float y, float &z) 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) |
|
virtual bool | SetInPhase (uint32 id, bool update, bool apply) |
|
void | CopyPhaseFrom (WorldObject *obj, bool update=false) |
|
void | UpdateAreaPhase () |
|
void | ClearPhases (bool update=false) |
|
void | RebuildTerrainSwaps () |
|
void | RebuildWorldMapAreaSwaps () |
|
bool | HasInPhaseList (uint32 phase) |
|
uint32 | GetPhaseMask () const |
|
bool | IsInPhase (uint32 phase) const |
|
bool | IsInPhase (WorldObject const *obj) const |
|
bool | IsInTerrainSwap (uint32 terrainSwap) const |
|
std::set< uint32 > const & | GetPhases () const |
|
std::set< uint32 > const & | GetTerrainSwaps () const |
|
std::set< uint32 > const & | GetWorldMapAreaSwaps () const |
|
int32 | GetDBPhase () const |
|
void | SetDBPhase (int32 p) |
|
uint32 | GetZoneId () const |
|
uint32 | GetAreaId () const |
|
void | GetZoneAndAreaId (uint32 &zoneid, uint32 &areaid) const |
|
InstanceScript * | GetInstanceScript () |
|
std::string const & | GetName () const |
|
void | SetName (std::string const &newname) |
|
virtual std::string const & | GetNameForLocaleIdx (LocaleConstant) const |
|
float | GetDistance (WorldObject const *obj) const |
|
float | GetDistance (Position const &pos) const |
|
float | GetDistance (float x, float y, float z) const |
|
float | GetDistance2d (WorldObject const *obj) const |
|
float | GetDistance2d (float x, float y) const |
|
float | GetDistanceZ (WorldObject const *obj) const |
|
bool | IsSelfOrInSameMap (WorldObject const *obj) const |
|
bool | IsInMap (WorldObject const *obj) const |
|
bool | IsWithinDist3d (float x, float y, float z, float dist) const |
|
bool | IsWithinDist3d (Position const *pos, float dist) const |
|
bool | IsWithinDist2d (float x, float y, float dist) const |
|
bool | IsWithinDist2d (Position const *pos, float dist) const |
|
bool | IsWithinDist (WorldObject const *obj, float dist2compare, bool is3D=true) const |
|
bool | IsWithinDistInMap (WorldObject const *obj, float dist2compare, bool is3D=true) const |
|
bool | IsWithinLOS (float x, float y, float z) const |
|
bool | IsWithinLOSInMap (WorldObject const *obj) 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 (WorldObject const *obj1, WorldObject const *obj2, float size=0) const |
|
virtual void | CleanupsBeforeDelete (bool finalCleanup=true) |
|
virtual void | SendMessageToSet (WorldPacket const *data, bool self) |
|
virtual void | SendMessageToSetInRange (WorldPacket const *data, float dist, bool self) |
|
virtual void | SendMessageToSet (WorldPacket const *data, Player const *skipped_rcvr) |
|
virtual uint8 | getLevelForTarget (WorldObject const *) const |
|
void | PlayDistanceSound (uint32 sound_id, Player *target=NULL) |
|
void | PlayDirectSound (uint32 sound_id, Player *target=NULL) |
|
void | SendObjectDeSpawnAnim (ObjectGuid guid) |
|
virtual void | SaveRespawnTime () |
|
void | AddObjectToRemoveList () |
|
float | GetGridActivationRange () const |
|
float | GetVisibilityRange () const |
|
float | GetSightRange (WorldObject const *target=NULL) const |
|
bool | CanSeeOrDetect (WorldObject const *obj, bool ignoreStealth=false, bool distanceCheck=false, bool checkAlert=false) const |
|
virtual void | SetMap (Map *map) |
|
virtual void | ResetMap () |
|
Map * | GetMap () const |
|
Map * | FindMap () const |
|
Map const * | GetBaseMap () const |
|
void | SetZoneScript () |
|
ZoneScript * | GetZoneScript () const |
|
TempSummon * | SummonCreature (uint32 id, Position const &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const |
|
TempSummon * | SummonCreature (uint32 id, float x, float y, float z, float ang=0, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0) const |
|
GameObject * | SummonGameObject (uint32 entry, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime) |
|
Creature * | SummonTrigger (float x, float y, float z, float ang, uint32 dur, CreatureAI *(*GetAI)(Creature *)=NULL) |
|
void | SummonCreatureGroup (uint8 group, std::list< TempSummon * > *list=NULL) |
|
Creature * | FindNearestCreature (uint32 entry, float range, bool alive=true) const |
|
GameObject * | FindNearestGameObject (uint32 entry, float range) const |
|
GameObject * | FindNearestGameObjectOfType (GameobjectTypes type, float range) const |
|
void | GetGameObjectListWithEntryInGrid (std::list< GameObject * > &lList, uint32 uiEntry, float fMaxSearchRange) const |
|
void | GetCreatureListWithEntryInGrid (std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const |
|
void | GetPlayerListInGrid (std::list< Player * > &lList, float fMaxSearchRange) const |
|
void | DestroyForNearbyPlayers () |
|
virtual void | UpdateObjectVisibility (bool forced=true) |
|
void | BuildUpdate (UpdateDataMapType &) override |
|
void | AddToObjectUpdate () override |
|
void | RemoveFromObjectUpdate () override |
|
void | AddToNotify (uint16 f) |
|
bool | isNeedNotify (uint16 f) const |
|
uint16 | GetNotifyFlags () const |
|
bool | NotifyExecuted (uint16 f) const |
|
void | SetNotified (uint16 f) |
|
void | ResetAllNotifies () |
|
bool | isActiveObject () const |
|
void | setActive (bool isActiveObject) |
|
void | SetWorldObject (bool apply) |
|
bool | IsPermanentWorldObject () const |
|
bool | IsWorldObject () const |
|
template<class NOTIFIER > |
void | VisitNearbyObject (float const &radius, NOTIFIER ¬ifier) const |
|
template<class NOTIFIER > |
void | VisitNearbyGridObject (float const &radius, NOTIFIER ¬ifier) const |
|
template<class NOTIFIER > |
void | VisitNearbyWorldObject (float const &radius, NOTIFIER ¬ifier) const |
|
Transport * | GetTransport () const |
|
float | GetTransOffsetX () const |
|
float | GetTransOffsetY () const |
|
float | GetTransOffsetZ () const |
|
float | GetTransOffsetO () 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 |
|
virtual uint16 | GetAIAnimKitId () const |
|
virtual uint16 | GetMovementAnimKitId () const |
|
virtual uint16 | GetMeleeAnimKitId () const |
|
virtual | ~Object () |
|
bool | IsInWorld () const |
|
ObjectGuid const & | GetGUID () const |
|
PackedGuid const & | GetPackGUID () const |
|
uint32 | GetEntry () const |
|
void | SetEntry (uint32 entry) |
|
float | GetObjectScale () const |
|
virtual void | SetObjectScale (float scale) |
|
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 *target) const |
|
void | BuildOutOfRangeUpdateBlock (UpdateData *data) const |
|
virtual void | DestroyForPlayer (Player *target) 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 const & | 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 | SetGuidValue (uint16 index, ObjectGuid const &value) |
|
void | SetStatFloatValue (uint16 index, float value) |
|
void | SetStatInt32Value (uint16 index, int32 value) |
|
bool | AddGuidValue (uint16 index, ObjectGuid const &value) |
|
bool | RemoveGuidValue (uint16 index, ObjectGuid const &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 | ApplyPercentModFloatValue (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 | 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) |
|
std::vector< uint32 > const & | GetDynamicValues (uint16 index) const |
|
void | AddDynamicValue (uint16 index, uint32 value) |
|
void | RemoveDynamicValue (uint16 index, uint32 value) |
|
void | ClearDynamicValue (uint16 index) |
|
void | SetDynamicValue (uint16 index, uint8 offset, uint32 value) |
|
void | ClearUpdateMask (bool remove) |
|
uint16 | GetValuesCount () const |
|
virtual bool | hasQuest (uint32) const |
|
virtual bool | hasInvolvedQuest (uint32) const |
|
void | BuildFieldsUpdate (Player *, UpdateDataMapType &) const |
|
void | SetFieldNotifyFlag (uint16 flag) |
|
void | RemoveFieldNotifyFlag (uint16 flag) |
|
void | ForceValuesUpdateAtIndex (uint32) |
|
Player * | ToPlayer () |
|
Player const * | ToPlayer () const |
|
Creature * | ToCreature () |
|
Creature const * | ToCreature () const |
|
Unit * | ToUnit () |
|
Unit const * | ToUnit () const |
|
GameObject * | ToGameObject () |
|
GameObject const * | ToGameObject () const |
|
Corpse * | ToCorpse () |
|
Corpse const * | ToCorpse () const |
|
DynamicObject * | ToDynObject () |
|
DynamicObject const * | ToDynObject () const |
|
AreaTrigger * | ToAreaTrigger () |
|
AreaTrigger const * | ToAreaTrigger () const |
|
| WorldLocation (uint32 mapId=MAPID_INVALID, float x=0.f, float y=0.f, float z=0.f, float o=0.f) |
|
| WorldLocation (WorldLocation const &loc) |
|
void | WorldRelocate (WorldLocation const &loc) |
|
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 |
|
| Position (float x=0, float y=0, float z=0, float o=0) |
|
| Position (Position const &loc) |
|
bool | operator== (Position const &a) |
|
bool | operator!= (Position const &a) |
|
void | Relocate (float x, float y) |
|
void | Relocate (float x, float y, float z) |
|
void | Relocate (float x, float y, float z, float orientation) |
|
void | Relocate (Position const &pos) |
|
void | Relocate (Position const *pos) |
|
void | Relocate (G3D::Vector3 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 |
|
Position::PositionXYStreamer | PositionXYStream () |
|
Position::PositionXYZStreamer | PositionXYZStream () |
|
Position::PositionXYZOStreamer | PositionXYZOStream () |
|
bool | IsPositionValid () const |
|
float | GetExactDist2dSq (float x, float y) const |
|
float | GetExactDist2d (const float x, const float y) const |
|
float | GetExactDist2dSq (Position const *pos) const |
|
float | GetExactDist2d (Position const *pos) const |
|
float | GetExactDistSq (float x, float y, float z) const |
|
float | GetExactDist (float x, float y, float z) const |
|
float | GetExactDistSq (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 | GetAngle (Position const *pos) const |
|
float | GetAngle (float x, float y) const |
|
float | GetRelativeAngle (Position const *pos) const |
|
float | GetRelativeAngle (float x, float y) 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 | IsWithinBox (const Position ¢er, float xradius, float yradius, float zradius) const |
|
bool | HasInArc (float arcangle, Position const *pos, float border=2.0f) const |
|
bool | HasInLine (Position const *pos, float width) const |
|
std::string | ToString () const |
|
virtual | ~GridObject () |
|
bool | IsInGrid () const |
|
void | AddToGrid (GridRefManager< AreaTrigger > &m) |
|
void | RemoveFromGrid () |
|