385 {
386 if (!target)
387 return false;
388 if (!target->IsAlive())
389 return false;
391 return false;
393 return false;
395 return false;
396 return true;
397 }
@ 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