AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "UnitAI.h"
Public Member Functions | |
NonTankTargetSelector (Creature *source, bool playerOnly=true) | |
bool | operator() (Unit const *target) const |
Private Attributes | |
Creature const * | _source |
bool | _playerOnly |
Additional Inherited Members | |
Public Types inherited from Acore::unary_function< Unit *, bool > | |
typedef Unit * | argument_type |
typedef bool | result_type |
|
inline |
bool NonTankTargetSelector::operator() | ( | Unit const * | target | ) | const |
References _playerOnly, _source, ThreatMgr::GetCurrentVictim(), Unit::GetThreatMgr(), Unit::GetVictim(), and Object::IsPlayer().
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().