AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
AuraScript::EffectUpdatePeriodicHandler Class Reference

#include "SpellScript.h"

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

Public Member Functions

 EffectUpdatePeriodicHandler (AuraEffectUpdatePeriodicFnType _pEffectHandlerScript, uint8 _effIndex, uint16 _effName)
 
void Call (AuraScript *auraScript, AuraEffect *aurEff)
 
- 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 ()
 
uint8 GetAffectedEffectsMask (SpellInfo const *spellInfo)
 
bool IsEffectAffected (SpellInfo const *spellInfo, uint8 effIndex)
 
virtual bool CheckEffect (SpellInfo const *spellInfo, uint8 effIndex)=0
 
std::string EffIndexToString ()
 

Private Attributes

AuraEffectUpdatePeriodicFnType pEffectHandlerScript
 

Additional Inherited Members

- Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex
 

Detailed Description

Constructor & Destructor Documentation

◆ EffectUpdatePeriodicHandler()

AuraScript::EffectUpdatePeriodicHandler::EffectUpdatePeriodicHandler ( AuraEffectUpdatePeriodicFnType  _pEffectHandlerScript,
uint8  _effIndex,
uint16  _effName 
)
810 : AuraScript::EffectBase(_effIndex, _effName)
811{
812 pEffectHandlerScript = _pEffectHandlerScript;
813}
Definition: SpellScript.h:556
AuraEffectUpdatePeriodicFnType pEffectHandlerScript
Definition: SpellScript.h:576

References pEffectHandlerScript.

Member Function Documentation

◆ Call()

void AuraScript::EffectUpdatePeriodicHandler::Call ( AuraScript auraScript,
AuraEffect aurEff 
)
816{
817 (auraScript->*pEffectHandlerScript)(aurEff);
818}

Member Data Documentation

◆ pEffectHandlerScript

AuraEffectUpdatePeriodicFnType AuraScript::EffectUpdatePeriodicHandler::pEffectHandlerScript
private