![]() |
TrinityCore
|
#include <UnitAICommon.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 |
Definition at line 93 of file UnitAICommon.h.
|
inline |
Definition at line 95 of file UnitAICommon.h.
| bool PowerUsersSelector::operator() | ( | Unit const * | target | ) | const |
Definition at line 149 of file UnitAICommon.cpp.
References _dist, _me, _playerOnly, _power, Unit::GetPowerType(), BaseEntity::GetTypeId(), Unit::IsWithinCombatRange(), and TYPEID_PLAYER.
|
private |
Definition at line 101 of file UnitAICommon.h.
Referenced by operator()().
|
private |
Definition at line 99 of file UnitAICommon.h.
Referenced by operator()().
|
private |
Definition at line 102 of file UnitAICommon.h.
Referenced by operator()().
|
private |
Definition at line 100 of file UnitAICommon.h.
Referenced by operator()().