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

#include "SpellScript.h"

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

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

AuraEffectCalcPeriodicFnType pEffectHandlerScript
 

Additional Inherited Members

- Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex
 

Detailed Description

Constructor & Destructor Documentation

◆ EffectCalcPeriodicHandler()

AuraScript::EffectCalcPeriodicHandler::EffectCalcPeriodicHandler ( AuraEffectCalcPeriodicFnType  _pEffectHandlerScript,
uint8  _effIndex,
uint16  _effName 
)
832 : AuraScript::EffectBase(_effIndex, _effName)
833{
834 pEffectHandlerScript = _pEffectHandlerScript;
835}
Definition: SpellScript.h:555
AuraEffectCalcPeriodicFnType pEffectHandlerScript
Definition: SpellScript.h:591

References pEffectHandlerScript.

Member Function Documentation

◆ Call()

void AuraScript::EffectCalcPeriodicHandler::Call ( AuraScript auraScript,
AuraEffect const *  aurEff,
bool &  isPeriodic,
int32 periodicTimer 
)
838{
839 (auraScript->*pEffectHandlerScript)(aurEff, isPeriodic, periodicTimer);
840}

Member Data Documentation

◆ pEffectHandlerScript

AuraEffectCalcPeriodicFnType AuraScript::EffectCalcPeriodicHandler::pEffectHandlerScript
private