|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <Spell.h>
Public Member Functions | |
| bool | operator() (WorldObject *target) |
| WorldObjectSpellAreaTargetCheck (float range, Position const *position, Unit *caster, Unit *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionList *condList) | |
| Public Member Functions inherited from Skyfire::WorldObjectSpellTargetCheck | |
| bool | operator() (WorldObject *target) |
| WorldObjectSpellTargetCheck (Unit *caster, Unit *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionList *condList) | |
| ~WorldObjectSpellTargetCheck () | |
Public Attributes | |
| Position const * | _position |
| float | _range |
| Public Attributes inherited from Skyfire::WorldObjectSpellTargetCheck | |
| Unit * | _caster |
| ConditionList * | _condList |
| ConditionSourceInfo * | _condSrcInfo |
| Unit * | _referer |
| SpellInfo const * | _spellInfo |
| SpellTargetCheckTypes | _targetSelectionType |
| Skyfire::WorldObjectSpellAreaTargetCheck::WorldObjectSpellAreaTargetCheck | ( | float | range, |
| Position const * | position, | ||
| Unit * | caster, | ||
| Unit * | referer, | ||
| SpellInfo const * | spellInfo, | ||
| SpellTargetCheckTypes | selectionType, | ||
| ConditionList * | condList ) |
Definition at line 8122 of file Spell.cpp.
References _position, _range, and Skyfire::WorldObjectSpellTargetCheck::WorldObjectSpellTargetCheck().
Referenced by Skyfire::WorldObjectSpellConeTargetCheck::WorldObjectSpellConeTargetCheck(), and Skyfire::WorldObjectSpellTrajTargetCheck::WorldObjectSpellTrajTargetCheck().
| bool Skyfire::WorldObjectSpellAreaTargetCheck::operator() | ( | WorldObject * | target | ) |
Definition at line 8126 of file Spell.cpp.
References _position, _range, GameObject::IsInRange(), WorldObject::IsWithinDist3d(), Skyfire::WorldObjectSpellTargetCheck::operator()(), and Object::ToGameObject().
Referenced by Skyfire::WorldObjectSpellConeTargetCheck::operator()(), and Skyfire::WorldObjectSpellTrajTargetCheck::operator()().
| Position const* Skyfire::WorldObjectSpellAreaTargetCheck::_position |
Definition at line 807 of file Spell.h.
Referenced by operator()(), and WorldObjectSpellAreaTargetCheck().
| float Skyfire::WorldObjectSpellAreaTargetCheck::_range |
Definition at line 806 of file Spell.h.
Referenced by operator()(), and WorldObjectSpellAreaTargetCheck().