AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
SpellScript::BeforeHitHandler Class Reference

#include "SpellScript.h"

Public Member Functions

 BeforeHitHandler (SpellBeforeHitFnType pBeforeHitHandlerScript)
 
void Call (SpellScript *spellScript, SpellMissInfo missInfo)
 

Private Attributes

SpellBeforeHitFnType _pBeforeHitHandlerScript
 

Detailed Description

Constructor & Destructor Documentation

◆ BeforeHitHandler()

SpellScript::BeforeHitHandler::BeforeHitHandler ( SpellBeforeHitFnType  pBeforeHitHandlerScript)
208{
209 _pBeforeHitHandlerScript = pBeforeHitHandlerScript;
210}
SpellBeforeHitFnType _pBeforeHitHandlerScript
Definition: SpellScript.h:234

Member Function Documentation

◆ Call()

void SpellScript::BeforeHitHandler::Call ( SpellScript spellScript,
SpellMissInfo  missInfo 
)
213{
214 (spellScript->*_pBeforeHitHandlerScript)(missInfo);
215}

Member Data Documentation

◆ _pBeforeHitHandlerScript

SpellBeforeHitFnType SpellScript::BeforeHitHandler::_pBeforeHitHandlerScript
private