AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
ShadowTrapLKTargetSelector (Creature *source, bool playerOnly=true, bool reqLOS=false, float maxDist=0.0f) | |
bool | operator() (Unit const *target) const |
Private Attributes | |
Creature const * | _source |
bool | _playerOnly |
bool | _reqLOS |
float | _maxDist |
|
inline |
|
inline |
References _maxDist, _playerOnly, _reqLOS, _source, Position::GetExactDist(), Unit::IsAlive(), Object::IsPlayer(), and WorldObject::IsWithinLOSInMap().
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().