|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <UnitAI.h>
Public Member Functions | |
| bool | operator() (Unit const *target) const |
| SpellTargetSelector (Unit *caster, uint32 spellId) | |
Private Attributes | |
| Unit const * | _caster |
| SpellInfo const * | _spellInfo |
Definition at line 270 of file UnitAI.cpp.
References _caster, _spellInfo, ASSERT, and sSpellMgr.
| bool SpellTargetSelector::operator() | ( | Unit const * | target | ) | const |
Definition at line 276 of file UnitAI.cpp.
References _caster, _spellInfo, SPELL_CAST_OK, SPELL_RANGE_MELEE, and SPELL_RANGE_RANGED.
|
private |
Definition at line 88 of file UnitAI.h.
Referenced by operator()(), and SpellTargetSelector().
|
private |
Definition at line 89 of file UnitAI.h.
Referenced by operator()(), and SpellTargetSelector().