![]() |
TrinityCore
|
#include <UnitAI.h>
Public Member Functions | |
| DefaultTargetSelector (Unit const *unit, float dist, bool playerOnly, bool withMainTank, int32 aura) | |
| bool | operator() (Unit const *target) const |
Private Attributes | |
| Unit const * | _me |
| float | _dist |
| bool | _playerOnly |
| Unit const * | _exception |
| int32 | _aura |
| DefaultTargetSelector::DefaultTargetSelector | ( | Unit const * | unit, |
| float | dist, | ||
| bool | playerOnly, | ||
| bool | withMainTank, | ||
| int32 | aura | ||
| ) |
Definition at line 330 of file UnitAI.cpp.
| bool DefaultTargetSelector::operator() | ( | Unit const * | target | ) | const |
Definition at line 335 of file UnitAI.cpp.
References _aura, _dist, _exception, _me, _playerOnly, Object::GetTypeId(), Unit::HasAura(), Unit::IsWithinCombatRange(), and TYPEID_PLAYER.
|
private |
Definition at line 74 of file UnitAI.h.
Referenced by operator()().
|
private |
Definition at line 71 of file UnitAI.h.
Referenced by operator()().
|
private |
Definition at line 73 of file UnitAI.h.
Referenced by operator()().
|
private |
Definition at line 70 of file UnitAI.h.
Referenced by operator()().
|
private |
Definition at line 72 of file UnitAI.h.
Referenced by operator()().