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

#include <SpellScript.h>

Public Member Functions

 CheckCastHandler (SpellCheckCastFnType checkCastHandlerScript)
 
SpellCastResult Call (SpellScript *spellScript)
 

Private Attributes

SpellCheckCastFnType _checkCastHandlerScript
 

Constructor & Destructor Documentation

SpellScript::CheckCastHandler::CheckCastHandler ( SpellCheckCastFnType  checkCastHandlerScript)
172 {
173  _checkCastHandlerScript = checkCastHandlerScript;
174 }
SpellCheckCastFnType _checkCastHandlerScript
Definition: SpellScript.h:183

Member Function Documentation

SpellCastResult SpellScript::CheckCastHandler::Call ( SpellScript spellScript)
177 {
178  return (spellScript->*_checkCastHandlerScript)();
179 }
SpellCheckCastFnType _checkCastHandlerScript
Definition: SpellScript.h:183

Member Data Documentation

SpellCheckCastFnType SpellScript::CheckCastHandler::_checkCastHandlerScript
private

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