TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
AuraScript::EffectManaShieldHandler Class Reference

#include <SpellScript.h>

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 *spellInfo, uint8 effIndex) override
 
- Public Member Functions inherited from _SpellScript::EffectAuraNameCheck
 EffectAuraNameCheck (uint16 _effAurName)
 
bool Check (SpellInfo const *spellInfo, uint8 effIndex)
 
std::string ToString ()
 
- Public Member Functions inherited from _SpellScript::EffectHook
 EffectHook (uint8 _effIndex)
 
virtual ~EffectHook ()
 
uint32 GetAffectedEffectsMask (SpellInfo const *spellInfo)
 
bool IsEffectAffected (SpellInfo const *spellInfo, uint8 effIndex)
 
std::string EffIndexToString ()
 

Private Attributes

AuraEffectAbsorbFnType pEffectHandlerScript
 

Additional Inherited Members

- Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex
 

Constructor & Destructor Documentation

AuraScript::EffectManaShieldHandler::EffectManaShieldHandler ( AuraEffectAbsorbFnType  _pEffectHandlerScript,
uint8  _effIndex 
)
875 {
876  pEffectHandlerScript = _pEffectHandlerScript;
877 }
AuraEffectAbsorbFnType pEffectHandlerScript
Definition: SpellScript.h:584
Definition: SpellScript.h:514
Definition: SpellAuraDefines.h:157

Member Function Documentation

void AuraScript::EffectManaShieldHandler::Call ( AuraScript auraScript,
AuraEffect aurEff,
DamageInfo dmgInfo,
uint32 absorbAmount 
)
880 {
881  (auraScript->*pEffectHandlerScript)(aurEff, dmgInfo, absorbAmount);
882 }
AuraEffectAbsorbFnType pEffectHandlerScript
Definition: SpellScript.h:584

Member Data Documentation

AuraEffectAbsorbFnType AuraScript::EffectManaShieldHandler::pEffectHandlerScript
private

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