AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "UnitAI.h"
Public Member Functions | |
FarthestTargetSelector (Unit const *unit, float maxDist, bool playerOnly, bool inLos, float minDist=0.f) | |
bool | operator() (Unit const *target) const |
Private Attributes | |
Unit const * | _me |
float | _minDist |
float | _maxDist |
bool | _playerOnly |
bool | _inLos |
Additional Inherited Members | |
Public Types inherited from Acore::unary_function< Unit *, bool > | |
typedef Unit * | argument_type |
typedef bool | result_type |
|
inline |
|
inline |
References _inLos, _maxDist, _me, _minDist, _playerOnly, WorldObject::IsInRange(), Object::IsPlayer(), and WorldObject::IsWithinLOSInMap().
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().