AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
AuraScript::EffectBase Class Reference

#include "SpellScript.h"

Inheritance diagram for AuraScript::EffectBase:
_SpellScript::EffectAuraNameCheck _SpellScript::EffectHook AuraScript::EffectAbsorbHandler AuraScript::EffectApplyHandler AuraScript::EffectCalcAmountHandler AuraScript::EffectCalcPeriodicHandler AuraScript::EffectCalcSpellModHandler AuraScript::EffectManaShieldHandler AuraScript::EffectPeriodicHandler AuraScript::EffectProcHandler AuraScript::EffectSplitHandler AuraScript::EffectUpdatePeriodicHandler

Public Member Functions

 EffectBase (uint8 _effIndex, uint16 _effName)
 
std::string ToString ()
 
bool CheckEffect (SpellInfo const *spellEntry, uint8 effIndex) override
 
- Public Member Functions inherited from _SpellScript::EffectAuraNameCheck
 EffectAuraNameCheck (uint16 _effAurName)
 
bool Check (SpellInfo const *spellEntry, uint8 effIndex)
 
std::string ToString ()
 
- Public Member Functions inherited from _SpellScript::EffectHook
 EffectHook (uint8 _effIndex)
 
virtual ~EffectHook ()
 
uint8 GetAffectedEffectsMask (SpellInfo const *spellEntry)
 
bool IsEffectAffected (SpellInfo const *spellEntry, uint8 effIndex)
 
virtual bool CheckEffect (SpellInfo const *spellEntry, uint8 effIndex)=0
 
std::string EffIndexToString ()
 

Additional Inherited Members

- Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex
 

Detailed Description

Constructor & Destructor Documentation

◆ EffectBase()

AuraScript::EffectBase::EffectBase ( uint8  _effIndex,
uint16  _effName 
)
785{
786}
Definition: SpellScript.h:72
Definition: SpellScript.h:96

Member Function Documentation

◆ CheckEffect()

bool AuraScript::EffectBase::CheckEffect ( SpellInfo const *  spellEntry,
uint8  effIndex 
)
overridevirtual

Implements _SpellScript::EffectHook.

789{
791}
uint8 effIndex
Definition: SpellScript.h:82
bool Check(SpellInfo const *spellEntry, uint8 effIndex)
Definition: SpellScript.cpp:144

References _SpellScript::EffectAuraNameCheck::Check().

◆ ToString()

std::string AuraScript::EffectBase::ToString ( )
794{
795 return "Index: " + EffIndexToString() + " AuraName: " + _SpellScript::EffectAuraNameCheck::ToString();
796}
std::string EffIndexToString()
Definition: SpellScript.cpp:104
std::string ToString()
Definition: SpellScript.cpp:153

References _SpellScript::EffectAuraNameCheck::ToString().