AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "SpellScript.h"
Public Member Functions | |
EffectHandler (SpellEffectFnType _pEffectHandlerScript, uint8 _effIndex, uint16 _effName) | |
std::string | ToString () |
bool | CheckEffect (SpellInfo const *spellInfo, uint8 effIndex) override |
void | Call (SpellScript *spellScript, SpellEffIndex effIndex) |
Public Member Functions inherited from _SpellScript::EffectNameCheck | |
EffectNameCheck (uint16 _effName) | |
bool | Check (SpellInfo const *spellInfo, uint8 effIndex) |
std::string | ToString () |
Public Member Functions inherited from _SpellScript::EffectHook | |
EffectHook (uint8 _effIndex) | |
virtual | ~EffectHook () |
uint8 | GetAffectedEffectsMask (SpellInfo const *spellInfo) |
bool | IsEffectAffected (SpellInfo const *spellInfo, uint8 effIndex) |
virtual bool | CheckEffect (SpellInfo const *spellInfo, uint8 effIndex)=0 |
std::string | EffIndexToString () |
Private Attributes | |
SpellEffectFnType | pEffectHandlerScript |
Additional Inherited Members | |
Protected Attributes inherited from _SpellScript::EffectHook | |
uint8 | effIndex |
SpellScript::EffectHandler::EffectHandler | ( | SpellEffectFnType | _pEffectHandlerScript, |
uint8 | _effIndex, | ||
uint16 | _effName | ||
) |
References pEffectHandlerScript.
void SpellScript::EffectHandler::Call | ( | SpellScript * | spellScript, |
SpellEffIndex | effIndex | ||
) |
|
overridevirtual |
Implements _SpellScript::EffectHook.
References _SpellScript::EffectNameCheck::Check().
std::string SpellScript::EffectHandler::ToString | ( | ) |
References _SpellScript::EffectNameCheck::ToString().
|
private |
Referenced by EffectHandler().