AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "UnitAI.h"
Public Member Functions | |
PowerUsersSelector (Unit const *unit, Powers power, float dist, bool playerOnly) | |
bool | operator() (Unit const *target) const |
Public Attributes | |
Unit const * | _me |
Powers const | _power |
float const | _dist |
bool const | _playerOnly |
Additional Inherited Members | |
Public Types inherited from Acore::unary_function< Unit *, bool > | |
typedef Unit * | argument_type |
typedef bool | result_type |
|
inline |
|
inline |
References _dist, _me, _playerOnly, _power, Unit::getPowerType(), Object::IsPlayer(), and Unit::IsWithinCombatRange().
float const PowerUsersSelector::_dist |
Referenced by operator()().
Unit const* PowerUsersSelector::_me |
Referenced by operator()().
bool const PowerUsersSelector::_playerOnly |
Referenced by operator()().
Powers const PowerUsersSelector::_power |
Referenced by operator()().