|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <SpellScript.h>
Public Member Functions | |
| virtual bool | CheckEffect (SpellInfo const *spellInfo, uint8 effIndex)=0 |
| EffectHook (uint8 _effIndex) | |
| std::string | EffIndexToString () |
| uint8 | GetAffectedEffectsMask (SpellInfo const *spellInfo) |
| bool | IsEffectAffected (SpellInfo const *spellInfo, uint8 effIndex) |
| virtual | ~EffectHook () |
Protected Attributes | |
| uint8 | effIndex |
Definition at line 59 of file SpellScript.h.
| _SpellScript::EffectHook::EffectHook | ( | uint8 | _effIndex | ) |
Definition at line 48 of file SpellScript.cpp.
References ASSERT, EFFECT_ALL, EFFECT_FIRST_FOUND, effIndex, and MAX_SPELL_EFFECTS.
Referenced by AuraScript::EffectBase::EffectBase(), SpellScript::EffectHandler::EffectHandler(), and SpellScript::TargetHook::TargetHook().
|
inlinevirtual |
Definition at line 63 of file SpellScript.h.
|
pure virtual |
Implemented in AuraScript::EffectBase, SpellScript::EffectHandler, and SpellScript::TargetHook.
References effIndex.
Referenced by GetAffectedEffectsMask().
| std::string _SpellScript::EffectHook::EffIndexToString | ( | ) |
Definition at line 81 of file SpellScript.cpp.
References EFFECT_0, EFFECT_1, EFFECT_2, EFFECT_ALL, EFFECT_FIRST_FOUND, and effIndex.
Referenced by AuraScript::EffectBase::ToString(), SpellScript::EffectHandler::ToString(), and SpellScript::TargetHook::ToString().
Definition at line 55 of file SpellScript.cpp.
References CheckEffect(), EFFECT_ALL, EFFECT_FIRST_FOUND, effIndex, and MAX_SPELL_EFFECTS.
Referenced by IsEffectAffected().
Definition at line 76 of file SpellScript.cpp.
References effIndex, and GetAffectedEffectsMask().
|
protected |
Definition at line 70 of file SpellScript.h.
Referenced by SpellScript::EffectHandler::Call(), CheckEffect(), AuraScript::EffectBase::CheckEffect(), SpellScript::EffectHandler::CheckEffect(), SpellScript::TargetHook::CheckEffect(), EffectHook(), AuraScript::EffectProcHandler::EffectProcHandler(), EffIndexToString(), GetAffectedEffectsMask(), and IsEffectAffected().