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

#include <SpellScript.h>

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 *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

AuraEffectCalcSpellModFnType pEffectHandlerScript
 

Additional Inherited Members

- Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex
 

Constructor & Destructor Documentation

AuraScript::EffectCalcSpellModHandler::EffectCalcSpellModHandler ( AuraEffectCalcSpellModFnType  _pEffectHandlerScript,
uint8  _effIndex,
uint16  _effName 
)
839  : AuraScript::EffectBase(_effIndex, _effName)
840 {
841  pEffectHandlerScript = _pEffectHandlerScript;
842 }
Definition: SpellScript.h:514
AuraEffectCalcSpellModFnType pEffectHandlerScript
Definition: SpellScript.h:559

Member Function Documentation

void AuraScript::EffectCalcSpellModHandler::Call ( AuraScript auraScript,
AuraEffect const aurEff,
SpellModifier *&  spellMod 
)
845 {
846  (auraScript->*pEffectHandlerScript)(aurEff, spellMod);
847 }
AuraEffectCalcSpellModFnType pEffectHandlerScript
Definition: SpellScript.h:559

Member Data Documentation

AuraEffectCalcSpellModFnType AuraScript::EffectCalcSpellModHandler::pEffectHandlerScript
private

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