AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Spell.h"
Public Member Functions | |
WorldObjectSpellNearbyTargetCheck (float range, Unit *caster, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionList *condList) | |
bool | operator() (WorldObject *target) |
Public Member Functions inherited from Acore::WorldObjectSpellTargetCheck | |
WorldObjectSpellTargetCheck (Unit *caster, Unit *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionList *condList) | |
~WorldObjectSpellTargetCheck () | |
bool | operator() (WorldObject *target) |
Public Attributes | |
float | _range |
Position const * | _position |
Public Attributes inherited from Acore::WorldObjectSpellTargetCheck | |
Unit * | _caster |
Unit * | _referer |
SpellInfo const * | _spellInfo |
SpellTargetCheckTypes | _targetSelectionType |
ConditionSourceInfo * | _condSrcInfo |
ConditionList * | _condList |
Acore::WorldObjectSpellNearbyTargetCheck::WorldObjectSpellNearbyTargetCheck | ( | float | range, |
Unit * | caster, | ||
SpellInfo const * | spellInfo, | ||
SpellTargetCheckTypes | selectionType, | ||
ConditionList * | condList | ||
) |
bool Acore::WorldObjectSpellNearbyTargetCheck::operator() | ( | WorldObject * | target | ) |
References _position, _range, and WorldObject::GetDistance().
Position const* Acore::WorldObjectSpellNearbyTargetCheck::_position |
Referenced by operator()().
float Acore::WorldObjectSpellNearbyTargetCheck::_range |
Referenced by operator()().