|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <SpellScript.h>
Public Member Functions | |
| void | Call (SpellScript *spellScript, SpellEffIndex effIndex) |
| bool | CheckEffect (SpellInfo const *spellInfo, uint8 effIndex) |
| EffectHandler (SpellEffectFnType _pEffectHandlerScript, uint8 _effIndex, uint16 _effName) | |
| std::string | ToString () |
| Public Member Functions inherited from _SpellScript::EffectNameCheck | |
| bool | Check (SpellInfo const *spellInfo, uint8 effIndex) |
| EffectNameCheck (uint16 _effName) | |
| std::string | ToString () |
| Public Member Functions inherited from _SpellScript::EffectHook | |
| EffectHook (uint8 _effIndex) | |
| std::string | EffIndexToString () |
| uint8 | GetAffectedEffectsMask (SpellInfo const *spellInfo) |
| bool | IsEffectAffected (SpellInfo const *spellInfo, uint8 effIndex) |
| virtual | ~EffectHook () |
Private Attributes | |
| SpellEffectFnType | pEffectHandlerScript |
Additional Inherited Members | |
| Protected Attributes inherited from _SpellScript::EffectHook | |
| uint8 | effIndex |
Definition at line 171 of file SpellScript.h.
| SpellScript::EffectHandler::EffectHandler | ( | SpellEffectFnType | _pEffectHandlerScript, |
| uint8 | _effIndex, | ||
| uint16 | _effName ) |
Definition at line 163 of file SpellScript.cpp.
References _SpellScript::_SpellScript(), _SpellScript::EffectHook::EffectHook(), _SpellScript::EffectNameCheck::EffectNameCheck(), and pEffectHandlerScript.
| void SpellScript::EffectHandler::Call | ( | SpellScript * | spellScript, |
| SpellEffIndex | effIndex ) |
Definition at line 179 of file SpellScript.cpp.
References _SpellScript::EffectHook::effIndex, and pEffectHandlerScript.
|
virtual |
Implements _SpellScript::EffectHook.
Definition at line 174 of file SpellScript.cpp.
References _SpellScript::EffectNameCheck::Check(), and _SpellScript::EffectHook::effIndex.
| std::string SpellScript::EffectHandler::ToString | ( | ) |
Definition at line 169 of file SpellScript.cpp.
References _SpellScript::EffectHook::EffIndexToString(), and _SpellScript::EffectNameCheck::ToString().
|
private |
Definition at line 179 of file SpellScript.h.
Referenced by Call(), and EffectHandler().