TrinityCore
Loading...
Searching...
No Matches
SpellScript::EffectHandler Class Reference

#include <SpellScript.h>

+ Inheritance diagram for SpellScript::EffectHandler:

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)
 
std::string EffIndexToString ()
 

Private Attributes

SpellEffectFnType pEffectHandlerScript
 

Additional Inherited Members

- Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex
 

Detailed Description

Definition at line 234 of file SpellScript.h.

Constructor & Destructor Documentation

◆ EffectHandler()

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

Definition at line 208 of file SpellScript.cpp.

Member Function Documentation

◆ Call()

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

Definition at line 224 of file SpellScript.cpp.

◆ CheckEffect()

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

Implements _SpellScript::EffectHook.

Definition at line 219 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ ToString()

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

Definition at line 214 of file SpellScript.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ pEffectHandlerScript

SpellEffectFnType SpellScript::EffectHandler::pEffectHandlerScript
private

Definition at line 242 of file SpellScript.h.


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