![]() |
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 | |
![]() | |
typedef Unit * | argument_type |
typedef bool | result_type |
|
inline |
bool NonTankTargetSelector::operator() | ( | Unit const * | target | ) | const |
References _playerOnly, _source, ThreatMgr::GetCurrentVictim(), Unit::GetThreatMgr(), Object::GetTypeId(), Unit::GetVictim(), and TYPEID_PLAYER.
|
private |
Referenced by operator()().
|
private |
Referenced by operator()().