|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <UnitAI.h>
Public Member Functions | |
| NonTankTargetSelector (Creature *source, bool playerOnly=true) | |
| bool | operator() (Unit const *target) const |
Private Attributes | |
| bool | _playerOnly |
| Creature const * | _source |
|
inline |
Definition at line 98 of file UnitAI.h.
References _playerOnly, and _source.
| bool NonTankTargetSelector::operator() | ( | Unit const * | target | ) | const |
Definition at line 313 of file UnitAI.cpp.
References _playerOnly, _source, Object::GetTypeId(), and TYPEID_PLAYER.
|
private |
Definition at line 103 of file UnitAI.h.
Referenced by NonTankTargetSelector(), and operator()().
|
private |
Definition at line 102 of file UnitAI.h.
Referenced by NonTankTargetSelector(), and operator()().