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

#include <SpellScript.h>

Public Member Functions

 EffectProcHandler (AuraEffectProcFnType effectHandlerScript, uint8 effIndex, uint16 effName)
 
void Call (AuraScript *auraScript, AuraEffect const *aurEff, ProcEventInfo &eventInfo)
 
- 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

AuraEffectProcFnType _EffectHandlerScript
 

Additional Inherited Members

- Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex
 

Constructor & Destructor Documentation

AuraScript::EffectProcHandler::EffectProcHandler ( AuraEffectProcFnType  effectHandlerScript,
uint8  effIndex,
uint16  effName 
)
916  : AuraScript::EffectBase(effIndex, effName)
917 {
918  _EffectHandlerScript = effectHandlerScript;
919 }
uint8 effIndex
Definition: SpellScript.h:82
Definition: SpellScript.h:514
AuraEffectProcFnType _EffectHandlerScript
Definition: SpellScript.h:616

Member Function Documentation

void AuraScript::EffectProcHandler::Call ( AuraScript auraScript,
AuraEffect const aurEff,
ProcEventInfo eventInfo 
)
922 {
923  (auraScript->*_EffectHandlerScript)(aurEff, eventInfo);
924 }
AuraEffectProcFnType _EffectHandlerScript
Definition: SpellScript.h:616

Member Data Documentation

AuraEffectProcFnType AuraScript::EffectProcHandler::_EffectHandlerScript
private

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