33 #define CONTACT_DISTANCE 0.5f
34 #define INTERACTION_DISTANCE 5.0f
35 #define ATTACK_DISTANCE 5.0f
36 #define INSPECT_DISTANCE 28.0f
37 #define TRADE_DISTANCE 11.11f
38 #define MAX_VISIBILITY_DISTANCE SIZE_OF_GRIDS // max distance for visible objects
39 #define SIGHT_RANGE_UNIT 50.0f
40 #define DEFAULT_VISIBILITY_DISTANCE 90.0f // default visible distance, 90 yards on continents
41 #define DEFAULT_VISIBILITY_INSTANCE 170.0f // default visible distance in instances, 170 yards
42 #define DEFAULT_VISIBILITY_BGARENAS 533.0f // default visible distance in BG/Arenas, roughly 533 yards
44 #define DEFAULT_WORLD_OBJECT_SIZE 0.388999998569489f // player size, also currently used (correctly?) for any non Unit world objects
45 #define DEFAULT_COMBAT_REACH 1.5f
46 #define MIN_MELEE_REACH 2.0f
47 #define NOMINAL_MELEE_RANGE 5.0f
48 #define MELEE_RANGE (NOMINAL_MELEE_RANGE - MIN_MELEE_REACH * 2) //center to center for players
50 #define DEFAULT_PHASE 169
102 virtual void AddToWorld();
103 virtual void RemoveFromWorld();
116 virtual void BuildCreateUpdateBlockForPlayer(
UpdateData* data,
Player* target)
const;
117 void SendUpdateToPlayer(
Player* player);
119 void BuildValuesUpdateBlockForPlayer(
UpdateData* data,
Player* target)
const;
120 void BuildOutOfRangeUpdateBlock(
UpdateData* data)
const;
122 virtual void DestroyForPlayer(
Player* target)
const;
127 float GetFloatValue(
uint16 index)
const;
149 void ApplyModPositiveFloatValue(
uint16 index,
float val,
bool apply);
150 void ApplyModSignedFloatValue(
uint16 index,
float val,
bool apply);
151 void ApplyPercentModFloatValue(
uint16 index,
float val,
bool apply);
170 std::vector<uint32>
const& GetDynamicValues(
uint16 index)
const;
173 void ClearDynamicValue(
uint16 index);
176 void ClearUpdateMask(
bool remove);
189 void ForceValuesUpdateAtIndex(
uint32);
217 std::string _ConcatFields(
uint16 startIndex,
uint16 size)
const;
218 void _LoadIntoDataField(std::string
const& data,
uint32 startOffset,
uint32 count);
250 virtual void AddToObjectUpdate() = 0;
251 virtual void RemoveFromObjectUpdate() = 0;
252 void AddToObjectUpdateIfNeeded();
262 bool PrintIndexError(
uint32 index,
bool set)
const;
282 pos.
Relocate(0.0f, 0.0f, 0.0f, 0.0f);
319 flags(0), flags2(0), time(0), pitch(0.0f), splineElevation(0.0f)
321 pos.
Relocate(0.0f, 0.0f, 0.0f, 0.0f);
367 template <
class T_VALUES,
class T_FLAGS,
class FLAG_TYPE, u
int8 ARRAY_SIZE>
373 memset(&
m_values, 0x00,
sizeof(T_VALUES) * ARRAY_SIZE);
406 _newPosition.Relocate(0.0f, 0.0f, 0.0f, 0.0f);
434 void GetNearPoint2D(
float &
x,
float &
y,
float distance,
float absAngle)
const;
435 void GetNearPoint(
WorldObject const* searcher,
float &
x,
float &
y,
float &
z,
float searcher_size,
float distance2d,
float absAngle)
const;
436 void GetClosePoint(
float &
x,
float &
y,
float &
z,
float size,
float distance2d = 0,
float angle = 0)
const;
438 Position GetNearPosition(
float dist,
float angle);
439 void MovePositionToFirstCollision(
Position &pos,
float dist,
float angle);
440 Position GetFirstCollisionPosition(
float dist,
float angle);
441 Position GetRandomNearPosition(
float radius);
444 float GetObjectSize()
const;
445 void UpdateGroundPositionZ(
float x,
float y,
float &
z)
const;
446 void UpdateAllowedPositionZ(
float x,
float y,
float &
z)
const;
448 void GetRandomPoint(
Position const &srcPos,
float distance,
float &rand_x,
float &rand_y,
float &rand_z)
const;
453 virtual void SetPhaseMask(
uint32 newPhaseMask,
bool update);
454 virtual bool SetInPhase(
uint32 id,
bool update,
bool apply);
455 void CopyPhaseFrom(
WorldObject* obj,
bool update =
false);
456 void UpdateAreaPhase();
457 void ClearPhases(
bool update =
false);
458 void RebuildTerrainSwaps();
459 void RebuildWorldMapAreaSwaps();
460 bool HasInPhaseList(
uint32 phase);
465 std::set<uint32>
const&
GetPhases()
const {
return _phases; }
475 void GetZoneAndAreaId(
uint32& zoneid,
uint32& areaid)
const;
479 std::string
const&
GetName()
const {
return m_name; }
480 void SetName(std::string
const& newname) { m_name=newname; }
485 float GetDistance(
Position const &pos)
const;
486 float GetDistance(
float x,
float y,
float z)
const;
488 float GetDistance2d(
float x,
float y)
const;
491 bool IsSelfOrInSameMap(
WorldObject const* obj)
const;
493 bool IsWithinDist3d(
float x,
float y,
float z,
float dist)
const;
494 bool IsWithinDist3d(
Position const* pos,
float dist)
const;
495 bool IsWithinDist2d(
float x,
float y,
float dist)
const;
496 bool IsWithinDist2d(
Position const* pos,
float dist)
const;
498 bool IsWithinDist(
WorldObject const* obj,
float dist2compare,
bool is3D =
true)
const;
499 bool IsWithinDistInMap(
WorldObject const* obj,
float dist2compare,
bool is3D =
true)
const;
500 bool IsWithinLOS(
float x,
float y,
float z)
const;
501 bool IsWithinLOSInMap(
WorldObject const* obj)
const;
503 bool IsInRange(
WorldObject const* obj,
float minRange,
float maxRange,
bool is3D =
true)
const;
504 bool IsInRange2d(
float x,
float y,
float minRange,
float maxRange)
const;
505 bool IsInRange3d(
float x,
float y,
float z,
float minRange,
float maxRange)
const;
506 bool isInFront(
WorldObject const* target,
float arc =
float(
M_PI))
const;
507 bool isInBack(
WorldObject const* target,
float arc =
float(
M_PI))
const;
511 virtual void CleanupsBeforeDelete(
bool finalCleanup =
true);
513 virtual void SendMessageToSet(
WorldPacket const* data,
bool self);
514 virtual void SendMessageToSetInRange(
WorldPacket const* data,
float dist,
bool self);
515 virtual void SendMessageToSet(
WorldPacket const* data,
Player const* skipped_rcvr);
525 void AddObjectToRemoveList();
527 float GetGridActivationRange()
const;
528 float GetVisibilityRange()
const;
530 bool CanSeeOrDetect(
WorldObject const* obj,
bool ignoreStealth =
false,
bool distanceCheck =
false,
bool checkAlert =
false)
const;
541 virtual void SetMap(
Map* map);
542 virtual void ResetMap();
548 Map const* GetBaseMap()
const;
550 void SetZoneScript();
555 GameObject* SummonGameObject(
uint32 entry,
float x,
float y,
float z,
float ang,
float rotation0,
float rotation1,
float rotation2,
float rotation3,
uint32 respawnTime );
557 void SummonCreatureGroup(
uint8 group, std::list<TempSummon*>* list =
NULL);
559 Creature* FindNearestCreature(
uint32 entry,
float range,
bool alive =
true)
const;
567 void DestroyForNearbyPlayers();
568 virtual void UpdateObjectVisibility(
bool forced =
true);
582 void setActive(
bool isActiveObject);
583 void SetWorldObject(
bool apply);
585 bool IsWorldObject()
const;
591 #ifdef MAP_BASED_RAND_GEN
594 int32 rand32()
const {
return GetMap()->mtRand.randInt();}
595 double rand_norm()
const {
return GetMap()->mtRand.randExc();}
596 double rand_chance()
const {
return GetMap()->mtRand.randExc(100.0);}
606 float GetTransOffsetO()
const {
return m_movementInfo.transport.pos.GetOrientation(); }
656 virtual bool _IsWithinDist(
WorldObject const* obj,
float dist2compare,
bool is3D)
const;
660 bool CanDetect(
WorldObject const* obj,
bool ignoreStealth,
bool checkAlert =
false)
const;
661 bool CanDetectInvisibilityOf(
WorldObject const* obj)
const;
662 bool CanDetectStealthOf(
WorldObject const* obj,
bool checkAlert =
false)
const;
std::set< uint32 > _worldMapAreaSwaps
Definition: Object.h:651
FlaggedValuesArray32()
Definition: Object.h:371
bool HasMovementFlag(uint32 flag) const
Definition: Object.h:330
Position _newPosition
Definition: Object.h:415
const bool m_isWorldObject
Definition: Object.h:626
float GetTransOffsetZ() const
Definition: Object.h:605
void RemoveFromGrid()
Definition: Object.h:362
T_FLAGS GetFlags() const
Definition: Object.h:377
bool m_objectUpdated
Definition: Object.h:254
void ResetAllNotifies()
Definition: Object.h:579
virtual bool IsNeverVisible() const
Definition: Object.h:638
Definition: UpdateMask.h:26
Definition: Position.h:228
Map * m_currMap
Definition: Object.h:644
Definition: ByteBuffer.h:70
int8_t int8
Definition: Define.h:148
Definition: TemporarySummon.h:40
UpdateMask _changesMask
Definition: Object.h:241
bool m_inWorld
Definition: Object.h:257
uint32 fallTime
Definition: Object.h:309
bool GetDistanceOrder(WorldObject const *obj1, WorldObject const *obj2, bool is3D=true) const
Definition: Object.cpp:1680
uint32 * m_uint32Values
Definition: Object.h:235
virtual float GetStationaryX() const
Definition: Object.h:614
int32 * m_int32Values
Definition: Object.h:234
Map * GetMap() const
Definition: Object.h:543
void unlink()
Definition: Reference.h:61
Definition: ObjectGuid.h:36
#define M_PI
Definition: Common.h:163
virtual void BuildUpdate(UpdateDataMapType &)
Definition: Object.h:182
void RemoveMovementFlag(uint32 flag)
Definition: Object.h:329
void AddToNotify(uint16 f)
Definition: Object.h:574
MovementInfo m_movementInfo
Definition: Object.h:612
void RemoveFieldNotifyFlag(uint16 flag)
Definition: Object.h:186
uint16 _dynamicValuesCount
Definition: Object.h:246
Position const MovePosition
Definition: zone_dustwallow_marsh.cpp:201
std::set< uint32 > _phases
Definition: Object.h:649
std::string m_name
Definition: Object.h:624
void VisitNearbyWorldObject(float const &radius, NOTIFIER ¬ifier) const
Definition: Object.h:589
float cosAngle
Definition: Object.h:311
bool isType(uint16 mask) const
Definition: Object.h:114
std::string const & GetName() const
Definition: Object.h:479
FlaggedValuesArray32< int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPES > m_serverSideVisibility
Definition: Object.h:538
virtual void Update(uint32)
Definition: Object.h:430
void SetDBPhase(int32 p)
Definition: Object.h:471
void SetValue(FLAG_TYPE flag, T_VALUES value)
Definition: Object.h:383
std::set< uint32 > const & GetTerrainSwaps() const
Definition: Object.h:466
Definition: ObjectGuid.h:32
struct MovementInfo::JumpInfo jump
arena_t NULL
Definition: jemalloc_internal.h:624
Creature const * ToCreature() const
Definition: Object.h:195
TC_GAME_API void GetCreatureListWithEntryInGrid(std::list< Creature * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
Definition: ScriptedCreature.cpp:621
Definition: Transport.h:28
uint16 GetNotifyFlags() const
Definition: Object.h:576
void SetTransport(Transport *t)
Definition: Object.h:610
FlaggedValuesArray32< int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPES > m_invisibilityDetect
Definition: Object.h:536
float GetTransOffsetY() const
Definition: Object.h:604
bool isNeedNotify(uint16 f) const
Definition: Object.h:575
Definition: Creature.h:467
void SetLocationMapId(uint32 _mapId)
Definition: Object.h:635
void SetFallTime(uint32 fallTime)
Definition: Object.h:339
Position pos
Definition: Object.h:273
FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPES > m_stealthDetect
Definition: Object.h:533
UpdateMask _dynamicChangesMask
Definition: Object.h:242
MovementInfo()
Definition: Object.h:318
void SetEntry(uint32 entry)
Definition: Object.h:108
DynamicObject * ToDynObject()
Definition: Object.h:206
Cell const & GetCurrentCell() const
Definition: Object.h:411
GridReference< T > _gridRef
Definition: Object.h:364
uint32 prevTime
Definition: Object.h:293
virtual float GetStationaryZ() const
Definition: Object.h:616
void SetName(std::string const &newname)
Definition: Object.h:480
TC_GAME_API void GetPlayerListInGrid(std::list< Player * > &list, WorldObject *source, float maxSearchRange)
Definition: ScriptedCreature.cpp:631
TempSummonType
Definition: Object.h:52
void apply(T *val)
Definition: ByteConverter.h:41
uint16 m_objectType
Definition: Object.h:227
uint16_t uint16
Definition: g3dmath.h:166
GameObject * ToGameObject()
Definition: Object.h:200
bool IsInGrid() const
Definition: Object.h:360
Definition: UpdateData.h:59
double distance(double x, double y)
Definition: g3dmath.h:731
struct MovementInfo::TransportInfo transport
GameobjectTypes
Definition: SharedDefines.h:2063
double rand_chance()
Definition: Random.cpp:74
T max(const T &x, const T &y)
Definition: g3dmath.h:320
void VisitNearbyGridObject(float const &radius, NOTIFIER ¬ifier) const
Definition: Object.h:588
uint32 m_InstanceId
Definition: Object.h:647
Definition: ObjectGridLoader.h:30
void VisitNearbyObject(float const &radius, NOTIFIER ¬ifier) const
Definition: Object.h:587
Player * ToPlayer()
Definition: Object.h:191
uint32 GetTransTime() const
Definition: Object.h:607
Definition: UpdateFields.h:31
uint32 time
Definition: Object.h:274
uint16 m_notifyflags
Definition: Object.h:654
void SetExtraMovementFlags(uint16 flag)
Definition: Object.h:333
MapObjectCellMoveState _moveState
Definition: Object.h:414
Definition: ObjectGuid.h:49
virtual uint8 getLevelForTarget(WorldObject const *) const
Definition: Object.h:517
virtual bool IsInvisibleDueToDespawn() const
Definition: Object.h:640
int32 irand(int32 min, int32 max)
Definition: Random.cpp:39
int32 _dbPhase
Definition: Object.h:652
Definition: DynamicObject.h:35
Cell _currentCell
Definition: Object.h:410
virtual void RemoveFromObjectUpdate()=0
TypeID GetTypeId() const
Definition: Object.h:113
Definition: UpdateFields.h:29
float zspeed
Definition: Object.h:311
T min(const T &x, const T &y)
Definition: g3dmath.h:305
virtual void SaveRespawnTime()
Definition: Object.h:524
float GetOrientation() const
Definition: Position.h:107
std::unordered_map< Player *, UpdateData > UpdateDataMapType
Definition: Object.h:91
void Relocate(float x, float y)
Definition: Position.h:67
virtual bool IsAlwaysVisibleFor(WorldObject const *) const
Definition: Object.h:639
TypeID m_objectTypeId
Definition: Object.h:229
void SetCurrentCell(Cell const &cell)
Definition: Object.h:412
PackedGuid m_PackGUID
Definition: Object.h:259
Definition: ZoneScript.h:26
std::set< uint32 > _terrainSwaps
Definition: Object.h:650
Definition: ObjectGuid.h:37
float GetTransOffsetX() const
Definition: Object.h:603
MapObjectCellMoveState
Definition: Object.h:391
void SetMovementFlags(uint32 flag)
Definition: Object.h:327
virtual uint16 GetAIAnimKitId() const
Definition: Object.h:619
ZoneScript * m_zoneScript
Definition: Object.h:627
uint32 GetPhaseMask() const
Definition: Object.h:461
Corpse const * ToCorpse() const
Definition: Object.h:204
LocaleConstant
Definition: Common.h:115
Map * FindMap() const
Definition: Object.h:544
UpdateMask * _dynamicChangesArrayMask
Definition: Object.h:243
bool IsInTerrainSwap(uint32 terrainSwap) const
Definition: Object.h:464
float GetPositionY() const
Definition: Position.h:105
G3D::int16 z
Definition: Vector3int16.h:46
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
PhaseMasks
Definition: Object.h:64
Corpse * ToCorpse()
Definition: Object.h:203
uint32 vehicleId
Definition: Object.h:294
virtual float GetStationaryY() const
Definition: Object.h:615
std::set< uint32 > const & GetWorldMapAreaSwaps() const
Definition: Object.h:467
bool m_isActive
Definition: Object.h:625
MapObject()
Definition: Object.h:404
FlaggedValuesArray32< int32, uint32, ServerSideVisibilityType, TOTAL_SERVERSIDE_VISIBILITY_TYPES > m_serverSideVisibilityDetect
Definition: Object.h:539
Player const * ToPlayer() const
Definition: Object.h:192
int8 seat
Definition: Object.h:291
Definition: ObjectGuid.h:34
uint32 GetInstanceId() const
Definition: Object.h:451
uint32 flags
Definition: Object.h:271
Vector2int16 & operator=(const Any &a)
float GetPositionZ() const
Definition: Position.h:106
int32_t int32
Definition: Define.h:146
bool isActiveObject() const
Definition: Object.h:581
Definition: CreatureAI.h:68
uint32_t uint32
Definition: Define.h:150
uint64_t uint64
Definition: Define.h:149
Transport * m_transport
Definition: Object.h:630
float pitch
Definition: Object.h:298
G3D::int16 y
Definition: Vector2int16.h:38
uint16 flags2
Definition: Object.h:272
uint16_t uint16
Definition: Define.h:151
PackedGuid const & GetPackGUID() const
Definition: Object.h:106
virtual bool CanAlwaysSee(WorldObject const *) const
Definition: Object.h:659
Definition: GameObject.h:880
void SetFieldNotifyFlag(uint16 flag)
Definition: Object.h:185
bool left(const int *a, const int *b, const int *c)
Definition: RecastContour.cpp:487
bool IsInPhase(uint32 phase) const
Definition: Object.h:462
void AddValue(FLAG_TYPE flag, T_VALUES value)
Definition: Object.h:384
virtual void RemoveFromWorld()
Definition: Object.cpp:156
void ResetJump()
Definition: Object.h:346
void ResetTransport()
Definition: Object.h:341
float splineElevation
Definition: Object.h:316
float sinAngle
Definition: Object.h:311
bool operator()(WorldObject const *left, WorldObject const *right) const
Definition: Object.h:673
void link(TO *toObj, FROM *fromObj)
Definition: Reference.h:46
TypeID
Definition: ObjectGuid.h:27
void AddFlag(FLAG_TYPE flag)
Definition: Object.h:379
void Reset()
Definition: Object.h:279
void RemoveExtraMovementFlag(uint16 flag)
Definition: Object.h:335
void Clear()
Definition: ObjectGuid.h:215
ObjectGuid guid
Definition: Object.h:270
Position pos
Definition: Object.h:290
int8 GetTransSeat() const
Definition: Object.h:608
void DelFlag(FLAG_TYPE flag)
Definition: Object.h:380
void SetLocationInstanceId(uint32 _instanceId)
Definition: Object.h:636
ObjectGuid const & GetGUID() const
Definition: Object.h:105
std::set< uint32 > const & GetPhases() const
Definition: Object.h:465
uint16 GetValuesCount() const
Definition: Object.h:178
ObjectDistanceOrderPred(WorldObject const *refObj, bool ascending=true)
Definition: Object.h:671
Transport * GetTransport() const
Definition: Object.h:602
int32 GetDBPhase() const
Definition: Object.h:468
GameObject const * ToGameObject() const
Definition: Object.h:201
std::vector< uint32 > * _dynamicValues
Definition: Object.h:239
Definition: ObjectGuid.h:33
bool _ascending
Definition: Object.h:680
void AddExtraMovementFlag(uint16 flag)
Definition: Object.h:334
void AddToGrid(GridRefManager< T > &m)
Definition: Object.h:361
bool NotifyExecuted(uint16 f) const
Definition: Object.h:577
double rand_norm()
Definition: Random.cpp:69
void OutDebug()
Definition: Object.cpp:1410
void SetNewCellPosition(float x, float y, float z, float o)
Definition: Object.h:416
Creature * ToCreature()
Definition: Object.h:194
virtual void SetObjectScale(float scale)
Definition: Object.h:111
ZoneScript * GetZoneScript() const
Definition: Object.h:551
float GetTransOffsetO() const
Definition: Object.h:606
#define TC_GAME_API
Definition: Define.h:134
float * m_floatValues
Definition: Object.h:236
void AddMovementFlag(uint32 flag)
Definition: Object.h:328
virtual std::string const & GetNameForLocaleIdx(LocaleConstant) const
Definition: Object.h:482
int32_t int32
Definition: g3dmath.h:167
uint32 m_phaseMask
Definition: Object.h:648
uint16 m_valuesCount
Definition: Object.h:245
uint32 rand32()
Definition: Random.cpp:64
uint32 GetFallTime() const
Definition: Object.h:338
Definition: InstanceScript.h:141
WorldObject const * _refObj
Definition: Object.h:679
FlaggedValuesArray32< int32, uint32, StealthType, TOTAL_STEALTH_TYPES > m_stealth
Definition: Object.h:532
uint8_t uint8
Definition: Define.h:152
bool HasExtraMovementFlag(uint16 flag) const
Definition: Object.h:336
Definition: Position.h:27
#define ASSERT
Definition: Errors.h:55
Definition: UpdateFields.h:26
FlaggedValuesArray32< int32, uint32, InvisibilityType, TOTAL_INVISIBILITY_TYPES > m_invisibility
Definition: Object.h:535
ObjectGuid guid
Definition: Object.h:289
void Reset()
Definition: Object.h:303
T_VALUES GetValue(FLAG_TYPE flag) const
Definition: Object.h:382
bool isValid() const
Definition: Reference.h:78
const FieldDescriptor value
Definition: descriptor.h:1522
uint32 GetEntry() const
Definition: Object.h:107
virtual float GetStationaryO() const
Definition: Object.h:617
int16_t int16
Definition: Define.h:147
Definition: ObjectGuid.h:189
uint16 GetExtraMovementFlags() const
Definition: Object.h:332
uint8 flags
Definition: DisableMgr.cpp:44
uint32 time
Definition: Object.h:292
virtual uint16 GetMovementAnimKitId() const
Definition: Object.h:620
#define const
Definition: zconf.h:217
#define CONTACT_DISTANCE
Definition: Object.h:33
G3D::int16 x
Definition: Vector2int16.h:37
bool IsInWorld() const
Definition: Object.h:100
uint32 GetMovementFlags() const
Definition: Object.h:326
Definition: ObjectGuid.h:35
virtual uint16 GetMeleeAnimKitId() const
Definition: Object.h:621
virtual bool IsAlwaysDetectableFor(WorldObject const *) const
Definition: Object.h:642
float GetPositionX() const
Definition: Position.h:104
Unit const * ToUnit() const
Definition: Object.h:198
virtual void AddToObjectUpdate()=0
Definition: ObjectGuid.h:341
T_VALUES m_values[ARRAY_SIZE]
Definition: Object.h:387
virtual bool hasQuest(uint32) const
Definition: Object.h:180
T_FLAGS m_flags
Definition: Object.h:388
AreaTrigger * ToAreaTrigger()
Definition: Object.h:209
virtual ~GridObject()
Definition: Object.h:358
TC_GAME_API void GetGameObjectListWithEntryInGrid(std::list< GameObject * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
Definition: ScriptedCreature.cpp:626
AreaTrigger const * ToAreaTrigger() const
Definition: Object.h:210
uint16 m_executed_notifies
Definition: Object.h:655
Definition: WorldPacket.h:26
void SetNotified(uint16 f)
Definition: Object.h:578
DynamicObject const * ToDynObject() const
Definition: Object.h:207
virtual bool hasInvolvedQuest(uint32) const
Definition: Object.h:181
Unit * ToUnit()
Definition: Object.h:197
float GetObjectScale() const
Definition: Object.h:110
bool HasFlag(FLAG_TYPE flag) const
Definition: Object.h:378
float xyspeed
Definition: Object.h:311
bool IsPermanentWorldObject() const
Definition: Object.h:584
uint32 LastUsedScriptID
Definition: Object.h:599
Definition: AreaTrigger.h:26
uint32 m_updateFlag
Definition: Object.h:230
NotifyFlags
Definition: Object.h:70
uint16 _fieldNotifyFlags
Definition: Object.h:248