1107 {
1109 return true;
1110
1111
1113 if (!c->IsPet() && c->GetSpawnId())
1115
1116
1117 float ox, oy, oz;
1121 }
Definition: DynamicTree.h:39
bool isInLineOfSight(float x1, float y1, float z1, float x2, float y2, float z2, uint32 phasemask, VMAP::ModelIgnoreFlags ignoreFlags) const
Definition: DynamicTree.cpp:276
Definition: Creature.h:43
Creature * ToCreature()
Definition: Object.h:205
uint32 GetPhaseMask() const
Definition: Object.h:451
Map * GetMap() const
Definition: Object.h:536
bool IsWithinLOSInMap(WorldObject const *obj, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, Optional< float > collisionHeight={ }, Optional< float > combatReach={ }) const
Definition: Object.cpp:1358
bool IsInMap(WorldObject const *obj) const
Definition: Object.cpp:1296
float GetPositionZ() const
Definition: Position.h:118
float GetPositionX() const
Definition: Position.h:116
void GetPosition(float &x, float &y) const
Definition: Position.h:121
float GetPositionY() const
Definition: Position.h:117
DynamicMapTree const & GetDynamicMapTree() const
Definition: Map.h:561