![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Spell.h"
Public Member Functions | |
| 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 | _range |
| Position const * | _position |
Public Attributes inherited from Acore::WorldObjectSpellTargetCheck | |
| Unit * | _caster |
| Unit * | _referer |
| SpellInfo const * | _spellInfo |
| SpellTargetCheckTypes | _targetSelectionType |
| ConditionSourceInfo * | _condSrcInfo |
| ConditionList * | _condList |
| Acore::WorldObjectSpellAreaTargetCheck::WorldObjectSpellAreaTargetCheck | ( | float | range, |
| Position const * | position, | ||
| Unit * | caster, | ||
| Unit * | referer, | ||
| SpellInfo const * | spellInfo, | ||
| SpellTargetCheckTypes | selectionType, | ||
| ConditionList * | condList | ||
| ) |
| bool Acore::WorldObjectSpellAreaTargetCheck::operator() | ( | WorldObject * | target | ) |
References _position, _range, Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Creature::IsAvoidingAOE(), Object::IsCreature(), Object::IsGameObject(), GameObject::IsInRange(), WorldObject::IsWithinDist3d(), Acore::WorldObjectSpellTargetCheck::operator()(), Object::ToCreature(), and Object::ToGameObject().
Referenced by Acore::WorldObjectSpellConeTargetCheck::operator()().
| Position const* Acore::WorldObjectSpellAreaTargetCheck::_position |
Referenced by operator()(), and Acore::WorldObjectSpellTrajTargetCheck::operator()().
| float Acore::WorldObjectSpellAreaTargetCheck::_range |
Referenced by operator()(), and Acore::WorldObjectSpellTrajTargetCheck::operator()().