#include <GridNotifiers.h>
Trinity::NearestHostileUnitInAggroRangeCheck::NearestHostileUnitInAggroRangeCheck |
( |
Creature const * |
creature, |
|
|
bool |
useLOS = false |
|
) |
| |
|
inlineexplicit |
Creature const * _me
Definition: GridNotifiers.h:1093
bool _useLOS
Definition: GridNotifiers.h:1094
bool Trinity::NearestHostileUnitInAggroRangeCheck::operator() |
( |
Unit * |
u | ) |
|
|
inline |
bool IsWithinLOSInMap(WorldObject const *obj) const
Definition: Object.cpp:1584
bool IsValidAttackTarget(Unit const *target) const
Definition: Unit.cpp:10002
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true) const
Definition: Object.cpp:1663
float GetAggroRange(Unit const *target) const
Definition: Creature.cpp:2557
Creature const * _me
Definition: GridNotifiers.h:1093
bool _useLOS
Definition: GridNotifiers.h:1094
bool IsHostileTo(Unit const *unit) const
Definition: Unit.cpp:7165
Creature const* Trinity::NearestHostileUnitInAggroRangeCheck::_me |
|
private |
bool Trinity::NearestHostileUnitInAggroRangeCheck::_useLOS |
|
private |
The documentation for this class was generated from the following file: