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

#include <SpellScript.h>

Public Member Functions

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

Private Attributes

AuraCheckProcFnType _HandlerScript
 

Constructor & Destructor Documentation

AuraScript::CheckProcHandler::CheckProcHandler ( AuraCheckProcFnType  handlerScript)
896 {
897  _HandlerScript = handlerScript;
898 }
AuraCheckProcFnType _HandlerScript
Definition: SpellScript.h:600

Member Function Documentation

bool AuraScript::CheckProcHandler::Call ( AuraScript auraScript,
ProcEventInfo eventInfo 
)
901 {
902  return (auraScript->*_HandlerScript)(eventInfo);
903 }
AuraCheckProcFnType _HandlerScript
Definition: SpellScript.h:600

Member Data Documentation

AuraCheckProcFnType AuraScript::CheckProcHandler::_HandlerScript
private

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