Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
AuraScript::EffectApplyHandler Class Reference

#include <SpellScript.h>

Inheritance diagram for AuraScript::EffectApplyHandler:
Collaboration diagram for AuraScript::EffectApplyHandler:

Public Member Functions

void Call (AuraScript *auraScript, AuraEffect const *_aurEff, AuraEffectHandleModes _mode)
 EffectApplyHandler (AuraEffectApplicationModeFnType _pEffectHandlerScript, uint8 _effIndex, uint16 _effName, AuraEffectHandleModes _mode)
Public Member Functions inherited from AuraScript::EffectBase
bool CheckEffect (SpellInfo const *spellInfo, uint8 effIndex)
 EffectBase (uint8 _effIndex, uint16 _effName)
std::string ToString ()
Public Member Functions inherited from _SpellScript::EffectAuraNameCheck
bool Check (SpellInfo const *spellInfo, uint8 effIndex)
 EffectAuraNameCheck (uint16 _effAurName)
std::string ToString ()
Public Member Functions inherited from _SpellScript::EffectHook
 EffectHook (uint8 _effIndex)
std::string EffIndexToString ()
uint8 GetAffectedEffectsMask (SpellInfo const *spellInfo)
bool IsEffectAffected (SpellInfo const *spellInfo, uint8 effIndex)
virtual ~EffectHook ()

Private Attributes

AuraEffectHandleModes mode
AuraEffectApplicationModeFnType pEffectHandlerScript

Additional Inherited Members

Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex

Detailed Description

Definition at line 520 of file SpellScript.h.

Constructor & Destructor Documentation

◆ EffectApplyHandler()

AuraScript::EffectApplyHandler::EffectApplyHandler ( AuraEffectApplicationModeFnType _pEffectHandlerScript,
uint8 _effIndex,
uint16 _effName,
AuraEffectHandleModes _mode )

Member Function Documentation

◆ Call()

void AuraScript::EffectApplyHandler::Call ( AuraScript * auraScript,
AuraEffect const * _aurEff,
AuraEffectHandleModes _mode )

Definition at line 790 of file SpellScript.cpp.

References AuraScript::AuraScript(), mode, and pEffectHandlerScript.

Member Data Documentation

◆ mode

AuraEffectHandleModes AuraScript::EffectApplyHandler::mode
private

Definition at line 527 of file SpellScript.h.

Referenced by Call(), and EffectApplyHandler().

◆ pEffectHandlerScript

AuraEffectApplicationModeFnType AuraScript::EffectApplyHandler::pEffectHandlerScript
private

Definition at line 526 of file SpellScript.h.

Referenced by Call(), and EffectApplyHandler().


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