379 {
380 if (!target)
381 return false;
382 if (!target->IsAlive())
383 return false;
385 return false;
387 return false;
389 return false;
390 return true;
391 }
@ TYPEID_PLAYER
Definition: ObjectGuid.h:38
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:1347
float GetExactDist(float x, float y, float z) const
Definition: Position.h:178