AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Spell.h"
Public Member Functions | |
WorldObjectSpellTargetCheck (Unit *caster, Unit *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionList *condList) | |
~WorldObjectSpellTargetCheck () | |
bool | operator() (WorldObject *target) |
Public Attributes | |
Unit * | _caster |
Unit * | _referer |
SpellInfo const * | _spellInfo |
SpellTargetCheckTypes | _targetSelectionType |
ConditionSourceInfo * | _condSrcInfo |
ConditionList * | _condList |
Acore::WorldObjectSpellTargetCheck::WorldObjectSpellTargetCheck | ( | Unit * | caster, |
Unit * | referer, | ||
SpellInfo const * | spellInfo, | ||
SpellTargetCheckTypes | selectionType, | ||
ConditionList * | condList | ||
) |
References _condSrcInfo.
Acore::WorldObjectSpellTargetCheck::~WorldObjectSpellTargetCheck | ( | ) |
References _condSrcInfo.
bool Acore::WorldObjectSpellTargetCheck::operator() | ( | WorldObject * | target | ) |
References _caster, _condList, _condSrcInfo, Unit::_IsValidAssistTarget(), Unit::_IsValidAttackTarget(), _referer, _spellInfo, _targetSelectionType, SpellInfo::CheckTarget(), ObjectAccessor::FindPlayer(), Unit::getClass(), Unit::IsFriendlyTo(), Unit::IsInPartyWith(), Unit::IsInRaidWith(), Unit::IsTotem(), ConditionSourceInfo::mConditionTargets, sConditionMgr, SPELL_CAST_OK, TARGET_CHECK_ALLY, TARGET_CHECK_CORPSE, TARGET_CHECK_ENEMY, TARGET_CHECK_PARTY, TARGET_CHECK_RAID, TARGET_CHECK_RAID_CLASS, Object::ToCorpse(), and Object::ToUnit().
Referenced by Acore::WorldObjectSpellAreaTargetCheck::operator()().
Unit* Acore::WorldObjectSpellTargetCheck::_caster |
ConditionList* Acore::WorldObjectSpellTargetCheck::_condList |
Referenced by operator()().
ConditionSourceInfo* Acore::WorldObjectSpellTargetCheck::_condSrcInfo |
Referenced by operator()(), WorldObjectSpellTargetCheck(), and ~WorldObjectSpellTargetCheck().
Unit* Acore::WorldObjectSpellTargetCheck::_referer |
Referenced by operator()().
SpellInfo const* Acore::WorldObjectSpellTargetCheck::_spellInfo |
Referenced by operator()(), and Acore::WorldObjectSpellConeTargetCheck::operator()().
SpellTargetCheckTypes Acore::WorldObjectSpellTargetCheck::_targetSelectionType |
Referenced by operator()().