|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <Spell.h>
Public Member Functions | |
| bool | operator() (WorldObject *target) |
| WorldObjectSpellTargetCheck (Unit *caster, Unit *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionList *condList) | |
| ~WorldObjectSpellTargetCheck () | |
Public Attributes | |
| Unit * | _caster |
| ConditionList * | _condList |
| ConditionSourceInfo * | _condSrcInfo |
| Unit * | _referer |
| SpellInfo const * | _spellInfo |
| SpellTargetCheckTypes | _targetSelectionType |
| Skyfire::WorldObjectSpellTargetCheck::WorldObjectSpellTargetCheck | ( | Unit * | caster, |
| Unit * | referer, | ||
| SpellInfo const * | spellInfo, | ||
| SpellTargetCheckTypes | selectionType, | ||
| ConditionList * | condList ) |
Definition at line 8032 of file Spell.cpp.
References _caster, _condList, _condSrcInfo, _referer, _spellInfo, and _targetSelectionType.
Referenced by Skyfire::WorldObjectSpellAreaTargetCheck::WorldObjectSpellAreaTargetCheck(), and Skyfire::WorldObjectSpellNearbyTargetCheck::WorldObjectSpellNearbyTargetCheck().
| Skyfire::WorldObjectSpellTargetCheck::~WorldObjectSpellTargetCheck | ( | ) |
Definition at line 8042 of file Spell.cpp.
References _condSrcInfo.
| bool Skyfire::WorldObjectSpellTargetCheck::operator() | ( | WorldObject * | target | ) |
Definition at line 8048 of file Spell.cpp.
References _caster, _condList, _condSrcInfo, _referer, _spellInfo, _targetSelectionType, ObjectAccessor::FindPlayer(), Unit::getClass(), Unit::IsTotem(), sConditionMgr, SPELL_CAST_OK, TARGET_CHECK_ALLY, TARGET_CHECK_ENEMY, TARGET_CHECK_PARTY, TARGET_CHECK_RAID, TARGET_CHECK_RAID_CLASS, Object::ToCorpse(), and Object::ToUnit().
Referenced by Skyfire::WorldObjectSpellAreaTargetCheck::operator()().
| Unit* Skyfire::WorldObjectSpellTargetCheck::_caster |
Definition at line 782 of file Spell.h.
Referenced by Skyfire::WorldObjectSpellConeTargetCheck::operator()(), operator()(), Skyfire::WorldObjectSpellTrajTargetCheck::operator()(), and WorldObjectSpellTargetCheck().
| ConditionList* Skyfire::WorldObjectSpellTargetCheck::_condList |
Definition at line 787 of file Spell.h.
Referenced by operator()(), and WorldObjectSpellTargetCheck().
| ConditionSourceInfo* Skyfire::WorldObjectSpellTargetCheck::_condSrcInfo |
Definition at line 786 of file Spell.h.
Referenced by operator()(), WorldObjectSpellTargetCheck(), and ~WorldObjectSpellTargetCheck().
| Unit* Skyfire::WorldObjectSpellTargetCheck::_referer |
Definition at line 783 of file Spell.h.
Referenced by operator()(), and WorldObjectSpellTargetCheck().
| SpellInfo const* Skyfire::WorldObjectSpellTargetCheck::_spellInfo |
Definition at line 784 of file Spell.h.
Referenced by Skyfire::WorldObjectSpellConeTargetCheck::operator()(), operator()(), and WorldObjectSpellTargetCheck().
| SpellTargetCheckTypes Skyfire::WorldObjectSpellTargetCheck::_targetSelectionType |
Definition at line 785 of file Spell.h.
Referenced by operator()(), and WorldObjectSpellTargetCheck().