![]() |
TrinityCore
|
#include <UnitAI.h>
Public Member Functions | |
| PowerUsersSelector (Unit const *unit, Powers power, float dist, bool playerOnly) | |
| bool | operator() (Unit const *target) const |
Private Attributes | |
| Unit const * | _me |
| Powers const | _power |
| float const | _dist |
| bool const | _playerOnly |
| bool PowerUsersSelector::operator() | ( | Unit const * | target | ) | const |
Definition at line 453 of file UnitAI.cpp.
References _dist, _me, _playerOnly, _power, Unit::GetPowerType(), Object::GetTypeId(), Unit::IsWithinCombatRange(), and TYPEID_PLAYER.
|
private |
Definition at line 114 of file UnitAI.h.
Referenced by operator()().
|
private |
Definition at line 112 of file UnitAI.h.
Referenced by operator()().
|
private |
Definition at line 115 of file UnitAI.h.
Referenced by operator()().
|
private |
Definition at line 113 of file UnitAI.h.
Referenced by operator()().