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

#include "SpellScript.h"

Public Member Functions

 CheckProcHandler (AuraCheckProcFnType handlerScript)
 
bool Call (AuraScript *auraScript, ProcEventInfo &eventInfo)
 

Private Attributes

AuraCheckProcFnType _HandlerScript
 

Detailed Description

Constructor & Destructor Documentation

◆ CheckProcHandler()

AuraScript::CheckProcHandler::CheckProcHandler ( AuraCheckProcFnType  handlerScript)
900{
901 _HandlerScript = handlerScript;
902}
AuraCheckProcFnType _HandlerScript
Definition: SpellScript.h:641

Member Function Documentation

◆ Call()

bool AuraScript::CheckProcHandler::Call ( AuraScript auraScript,
ProcEventInfo eventInfo 
)
905{
906 return (auraScript->*_HandlerScript)(eventInfo);
907}

Member Data Documentation

◆ _HandlerScript

AuraCheckProcFnType AuraScript::CheckProcHandler::_HandlerScript
private