![]() |
TrinityCore
|
#include <UnitAICommon.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 |
Definition at line 49 of file UnitAICommon.h.
| DefaultTargetSelector::DefaultTargetSelector | ( | Unit const * | unit, |
| float | dist, | ||
| bool | playerOnly, | ||
| bool | withMainTank, | ||
| int32 | aura | ||
| ) |
Definition at line 25 of file UnitAICommon.cpp.
| bool DefaultTargetSelector::operator() | ( | Unit const * | target | ) | const |
Definition at line 30 of file UnitAICommon.cpp.
References _aura, _dist, _exception, _me, _playerOnly, BaseEntity::GetTypeId(), Unit::HasAura(), Unit::IsWithinCombatRange(), and TYPEID_PLAYER.
|
private |
Definition at line 64 of file UnitAICommon.h.
Referenced by operator()().
|
private |
Definition at line 61 of file UnitAICommon.h.
Referenced by operator()().
|
private |
Definition at line 63 of file UnitAICommon.h.
Referenced by operator()().
|
private |
Definition at line 60 of file UnitAICommon.h.
Referenced by operator()().
|
private |
Definition at line 62 of file UnitAICommon.h.
Referenced by operator()().