AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
AuraScript::EffectCalcSpellModHandler Class Reference

#include "SpellScript.h"

Inheritance diagram for AuraScript::EffectCalcSpellModHandler:
AuraScript::EffectBase _SpellScript::EffectAuraNameCheck _SpellScript::EffectHook

Public Member Functions

 EffectCalcSpellModHandler (AuraEffectCalcSpellModFnType _pEffectHandlerScript, uint8 _effIndex, uint16 _effName)
 
void Call (AuraScript *auraScript, AuraEffect const *aurEff, SpellModifier *&spellMod)
 
- Public Member Functions inherited from AuraScript::EffectBase
 EffectBase (uint8 _effIndex, uint16 _effName)
 
std::string ToString ()
 
bool CheckEffect (SpellInfo const *spellEntry, uint8 effIndex) override
 
- Public Member Functions inherited from _SpellScript::EffectAuraNameCheck
 EffectAuraNameCheck (uint16 _effAurName)
 
bool Check (SpellInfo const *spellEntry, uint8 effIndex)
 
std::string ToString ()
 
- Public Member Functions inherited from _SpellScript::EffectHook
 EffectHook (uint8 _effIndex)
 
virtual ~EffectHook ()
 
uint8 GetAffectedEffectsMask (SpellInfo const *spellEntry)
 
bool IsEffectAffected (SpellInfo const *spellEntry, uint8 effIndex)
 
virtual bool CheckEffect (SpellInfo const *spellEntry, uint8 effIndex)=0
 
std::string EffIndexToString ()
 

Private Attributes

AuraEffectCalcSpellModFnType pEffectHandlerScript
 

Additional Inherited Members

- Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex
 

Detailed Description

Constructor & Destructor Documentation

◆ EffectCalcSpellModHandler()

AuraScript::EffectCalcSpellModHandler::EffectCalcSpellModHandler ( AuraEffectCalcSpellModFnType  _pEffectHandlerScript,
uint8  _effIndex,
uint16  _effName 
)
843 : AuraScript::EffectBase(_effIndex, _effName)
844{
845 pEffectHandlerScript = _pEffectHandlerScript;
846}
Definition: SpellScript.h:555
AuraEffectCalcSpellModFnType pEffectHandlerScript
Definition: SpellScript.h:599

References pEffectHandlerScript.

Member Function Documentation

◆ Call()

void AuraScript::EffectCalcSpellModHandler::Call ( AuraScript auraScript,
AuraEffect const *  aurEff,
SpellModifier *&  spellMod 
)
849{
850 (auraScript->*pEffectHandlerScript)(aurEff, spellMod);
851}

Member Data Documentation

◆ pEffectHandlerScript

AuraEffectCalcSpellModFnType AuraScript::EffectCalcSpellModHandler::pEffectHandlerScript
private