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

#include <SpellScript.h>

Public Member Functions

 EffectCalcPeriodicHandler (AuraEffectCalcPeriodicFnType _pEffectHandlerScript, uint8 _effIndex, uint16 _effName)
 
void Call (AuraScript *auraScript, AuraEffect const *aurEff, bool &isPeriodic, int32 &periodicTimer)
 
- 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

AuraEffectCalcPeriodicFnType pEffectHandlerScript
 

Additional Inherited Members

- Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex
 

Constructor & Destructor Documentation

AuraScript::EffectCalcPeriodicHandler::EffectCalcPeriodicHandler ( AuraEffectCalcPeriodicFnType  _pEffectHandlerScript,
uint8  _effIndex,
uint16  _effName 
)
828  : AuraScript::EffectBase(_effIndex, _effName)
829 {
830  pEffectHandlerScript = _pEffectHandlerScript;
831 }
Definition: SpellScript.h:514
AuraEffectCalcPeriodicFnType pEffectHandlerScript
Definition: SpellScript.h:551

Member Function Documentation

void AuraScript::EffectCalcPeriodicHandler::Call ( AuraScript auraScript,
AuraEffect const aurEff,
bool isPeriodic,
int32 periodicTimer 
)
834 {
835  (auraScript->*pEffectHandlerScript)(aurEff, isPeriodic, periodicTimer);
836 }
AuraEffectCalcPeriodicFnType pEffectHandlerScript
Definition: SpellScript.h:551

Member Data Documentation

AuraEffectCalcPeriodicFnType AuraScript::EffectCalcPeriodicHandler::pEffectHandlerScript
private

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