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

#include "SpellScript.h"

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

Public Member Functions

 EffectManaShieldHandler (AuraEffectAbsorbFnType _pEffectHandlerScript, uint8 _effIndex)
 
void Call (AuraScript *auraScript, AuraEffect *aurEff, DamageInfo &dmgInfo, uint32 &absorbAmount)
 
- 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

AuraEffectAbsorbFnType pEffectHandlerScript
 

Additional Inherited Members

- Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex
 

Detailed Description

Constructor & Destructor Documentation

◆ EffectManaShieldHandler()

AuraScript::EffectManaShieldHandler::EffectManaShieldHandler ( AuraEffectAbsorbFnType  _pEffectHandlerScript,
uint8  _effIndex 
)
879{
880 pEffectHandlerScript = _pEffectHandlerScript;
881}
@ SPELL_AURA_MANA_SHIELD
Definition: SpellAuraDefines.h:160
Definition: SpellScript.h:555
AuraEffectAbsorbFnType pEffectHandlerScript
Definition: SpellScript.h:624

References pEffectHandlerScript.

Member Function Documentation

◆ Call()

void AuraScript::EffectManaShieldHandler::Call ( AuraScript auraScript,
AuraEffect aurEff,
DamageInfo dmgInfo,
uint32 absorbAmount 
)
884{
885 (auraScript->*pEffectHandlerScript)(aurEff, dmgInfo, absorbAmount);
886}

Member Data Documentation

◆ pEffectHandlerScript

AuraEffectAbsorbFnType AuraScript::EffectManaShieldHandler::pEffectHandlerScript
private

Referenced by EffectManaShieldHandler().