AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "UnitAI.h"
Public Member Functions | |
FarthestTargetSelector (Unit const *unit, float dist, bool playerOnly, bool inLos) | |
bool | operator() (Unit const *target) const |
Private Attributes | |
Unit const * | _me |
float | _dist |
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 _dist, _inLos, _me, _playerOnly, Object::GetTypeId(), Unit::IsWithinCombatRange(), WorldObject::IsWithinLOSInMap(), and TYPEID_PLAYER.
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().