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

#include "SpellScript.h"

Public Member Functions

 AuraProcHandler (AuraProcFnType handlerScript)
 
void Call (AuraScript *auraScript, ProcEventInfo &eventInfo)
 

Private Attributes

AuraProcFnType _HandlerScript
 

Detailed Description

Constructor & Destructor Documentation

◆ AuraProcHandler()

AuraScript::AuraProcHandler::AuraProcHandler ( AuraProcFnType  handlerScript)
920{
921 _HandlerScript = handlerScript;
922}
AuraProcFnType _HandlerScript
Definition: SpellScript.h:657

Member Function Documentation

◆ Call()

void AuraScript::AuraProcHandler::Call ( AuraScript auraScript,
ProcEventInfo eventInfo 
)
925{
926 (auraScript->*_HandlerScript)(eventInfo);
927}

Member Data Documentation

◆ _HandlerScript

AuraProcFnType AuraScript::AuraProcHandler::_HandlerScript
private