Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
SpellScript::EffectHandler Class Reference

#include <SpellScript.h>

Inheritance diagram for SpellScript::EffectHandler:
Collaboration diagram for SpellScript::EffectHandler:

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

Detailed Description

Definition at line 171 of file SpellScript.h.

Constructor & Destructor Documentation

◆ EffectHandler()

SpellScript::EffectHandler::EffectHandler ( SpellEffectFnType _pEffectHandlerScript,
uint8 _effIndex,
uint16 _effName )

Member Function Documentation

◆ Call()

void SpellScript::EffectHandler::Call ( SpellScript * spellScript,
SpellEffIndex effIndex )

Definition at line 179 of file SpellScript.cpp.

References _SpellScript::EffectHook::effIndex, and pEffectHandlerScript.

◆ CheckEffect()

bool SpellScript::EffectHandler::CheckEffect ( SpellInfo const * spellInfo,
uint8 effIndex )
virtual

◆ ToString()

std::string SpellScript::EffectHandler::ToString ( )

Member Data Documentation

◆ pEffectHandlerScript

SpellEffectFnType SpellScript::EffectHandler::pEffectHandlerScript
private

Definition at line 179 of file SpellScript.h.

Referenced by Call(), and EffectHandler().


The documentation for this class was generated from the following files: