![]() |
TrinityCore
|
#include <UnitAICommon.h>
Inheritance diagram for NonTankTargetSelector:Public Member Functions | |
| NonTankTargetSelector (Unit *source, bool playerOnly=true) | |
| bool | operator() (Unit const *target) const |
Private Attributes | |
| Unit * | _source |
| bool | _playerOnly |
Definition at line 82 of file UnitAICommon.h.
|
inline |
Definition at line 84 of file UnitAICommon.h.
| bool NonTankTargetSelector::operator() | ( | Unit const * | target | ) | const |
Definition at line 135 of file UnitAICommon.cpp.
References _playerOnly, _source, ThreatManager::GetCurrentVictim(), Unit::GetThreatManager(), BaseEntity::GetTypeId(), Unit::GetVictim(), and TYPEID_PLAYER.
Referenced by CurseAgonySelector::operator()(), SpectralBlastSelector::operator()(), and FrostBeaconSelector::operator()().
|
private |
Definition at line 89 of file UnitAICommon.h.
Referenced by operator()().
|
private |
Definition at line 88 of file UnitAICommon.h.
Referenced by operator()().