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

#include <SpellScript.h>

Inheritance diagram for AuraScript::EffectCalcAmountHandler:
Collaboration diagram for AuraScript::EffectCalcAmountHandler:

Public Member Functions

void Call (AuraScript *auraScript, AuraEffect const *aurEff, int32 &amount, bool &canBeRecalculated)
 EffectCalcAmountHandler (AuraEffectCalcAmountFnType _pEffectHandlerScript, uint8 _effIndex, uint16 _effName)
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

AuraEffectCalcAmountFnType pEffectHandlerScript

Additional Inherited Members

Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex

Detailed Description

Definition at line 496 of file SpellScript.h.

Constructor & Destructor Documentation

◆ EffectCalcAmountHandler()

AuraScript::EffectCalcAmountHandler::EffectCalcAmountHandler ( AuraEffectCalcAmountFnType _pEffectHandlerScript,
uint8 _effIndex,
uint16 _effName )

Member Function Documentation

◆ Call()

void AuraScript::EffectCalcAmountHandler::Call ( AuraScript * auraScript,
AuraEffect const * aurEff,
int32 & amount,
bool & canBeRecalculated )

Definition at line 756 of file SpellScript.cpp.

References AuraScript::AuraScript(), and pEffectHandlerScript.

Member Data Documentation

◆ pEffectHandlerScript

AuraEffectCalcAmountFnType AuraScript::EffectCalcAmountHandler::pEffectHandlerScript
private

Definition at line 502 of file SpellScript.h.

Referenced by Call(), and EffectCalcAmountHandler().


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