Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
_SpellScript::EffectHook Class Referenceabstract

#include <SpellScript.h>

Inheritance diagram for _SpellScript::EffectHook:

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

Detailed Description

Definition at line 59 of file SpellScript.h.

Constructor & Destructor Documentation

◆ EffectHook()

◆ ~EffectHook()

virtual _SpellScript::EffectHook::~EffectHook ( )
inlinevirtual

Definition at line 63 of file SpellScript.h.

Member Function Documentation

◆ CheckEffect()

virtual bool _SpellScript::EffectHook::CheckEffect ( SpellInfo const * spellInfo,
uint8 effIndex )
pure virtual

◆ EffIndexToString()

std::string _SpellScript::EffectHook::EffIndexToString ( )

◆ GetAffectedEffectsMask()

uint8 _SpellScript::EffectHook::GetAffectedEffectsMask ( SpellInfo const * spellInfo)

Definition at line 55 of file SpellScript.cpp.

References CheckEffect(), EFFECT_ALL, EFFECT_FIRST_FOUND, effIndex, and MAX_SPELL_EFFECTS.

Referenced by IsEffectAffected().

◆ IsEffectAffected()

bool _SpellScript::EffectHook::IsEffectAffected ( SpellInfo const * spellInfo,
uint8 effIndex )

Definition at line 76 of file SpellScript.cpp.

References effIndex, and GetAffectedEffectsMask().

Member Data Documentation

◆ effIndex


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