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

#include <SpellScript.h>

Public Member Functions

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

Private Attributes

AuraProcFnType _HandlerScript
 

Constructor & Destructor Documentation

AuraScript::AuraProcHandler::AuraProcHandler ( AuraProcFnType  handlerScript)
906 {
907  _HandlerScript = handlerScript;
908 }
AuraProcFnType _HandlerScript
Definition: SpellScript.h:608

Member Function Documentation

void AuraScript::AuraProcHandler::Call ( AuraScript auraScript,
ProcEventInfo eventInfo 
)
911 {
912  (auraScript->*_HandlerScript)(eventInfo);
913 }
AuraProcFnType _HandlerScript
Definition: SpellScript.h:608

Member Data Documentation

AuraProcFnType AuraScript::AuraProcHandler::_HandlerScript
private

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