![]() |
TrinityCore
|
#include <Spell.h>
Inheritance diagram for Trinity::WorldObjectSpellAreaTargetCheck:Public Member Functions | |
| WorldObjectSpellAreaTargetCheck (float range, Position const *position, WorldObject *caster, WorldObject *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionContainer const *condList) | |
| bool | operator() (WorldObject *target) const |
Public Attributes | |
| float | _range |
| Position const * | _position |
Additional Inherited Members | |
Protected Member Functions inherited from Trinity::WorldObjectSpellTargetCheck | |
| WorldObjectSpellTargetCheck (WorldObject *caster, WorldObject *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionContainer const *condList) | |
| ~WorldObjectSpellTargetCheck () | |
| bool | operator() (WorldObject *target) const |
Protected Attributes inherited from Trinity::WorldObjectSpellTargetCheck | |
| WorldObject * | _caster |
| WorldObject * | _referer |
| SpellInfo const * | _spellInfo |
| SpellTargetCheckTypes | _targetSelectionType |
| std::unique_ptr< ConditionSourceInfo > | _condSrcInfo |
| ConditionContainer const * | _condList |
| Trinity::WorldObjectSpellAreaTargetCheck::WorldObjectSpellAreaTargetCheck | ( | float | range, |
| Position const * | position, | ||
| WorldObject * | caster, | ||
| WorldObject * | referer, | ||
| SpellInfo const * | spellInfo, | ||
| SpellTargetCheckTypes | selectionType, | ||
| ConditionContainer const * | condList | ||
| ) |
| bool Trinity::WorldObjectSpellAreaTargetCheck::operator() | ( | WorldObject * | target | ) | const |
Definition at line 8440 of file Spell.cpp.
References _position, _range, Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), GameObject::IsInRange(), WorldObject::IsWithinDist2d(), Trinity::WorldObjectSpellTargetCheck::operator()(), and Object::ToGameObject().
Referenced by Trinity::WorldObjectSpellConeTargetCheck::operator()().
| Position const* Trinity::WorldObjectSpellAreaTargetCheck::_position |
Definition at line 757 of file Spell.h.
Referenced by operator()().
| float Trinity::WorldObjectSpellAreaTargetCheck::_range |
Definition at line 756 of file Spell.h.
Referenced by operator()().