AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Spell.h"
Public Member Functions | |
WorldObjectSpellConeTargetCheck (float coneAngle, float range, Unit *caster, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionList *condList) | |
bool | operator() (WorldObject *target) |
Public Member Functions inherited from Acore::WorldObjectSpellAreaTargetCheck | |
WorldObjectSpellAreaTargetCheck (float range, Position const *position, Unit *caster, Unit *referer, 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 | _coneAngle |
Public Attributes inherited from Acore::WorldObjectSpellAreaTargetCheck | |
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::WorldObjectSpellConeTargetCheck::WorldObjectSpellConeTargetCheck | ( | float | coneAngle, |
float | range, | ||
Unit * | caster, | ||
SpellInfo const * | spellInfo, | ||
SpellTargetCheckTypes | selectionType, | ||
ConditionList * | condList | ||
) |
bool Acore::WorldObjectSpellConeTargetCheck::operator() | ( | WorldObject * | target | ) |
References Acore::WorldObjectSpellTargetCheck::_caster, _coneAngle, Acore::WorldObjectSpellTargetCheck::_spellInfo, WorldObject::GetObjectSize(), SpellInfo::HasAttribute(), Position::HasInLine(), WorldObject::isInBack(), WorldObject::isInFront(), Acore::WorldObjectSpellAreaTargetCheck::operator()(), SPELL_ATTR0_CU_CONE_BACK, and SPELL_ATTR0_CU_CONE_LINE.
float Acore::WorldObjectSpellConeTargetCheck::_coneAngle |
Referenced by operator()().