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

#include <SpellScript.h>

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from _SpellScript::EffectHook
uint8 effIndex
 

Constructor & Destructor Documentation

AuraScript::EffectBase::EffectBase ( uint8  _effIndex,
uint16  _effName 
)
Definition: SpellScript.h:95
Definition: SpellScript.h:71

Member Function Documentation

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

Implements _SpellScript::EffectHook.

785 {
786  return _SpellScript::EffectAuraNameCheck::Check(spellEntry, effIndexToCheck);
787 }
bool Check(SpellInfo const *spellInfo, uint8 effIndex)
Definition: SpellScript.cpp:136

+ Here is the call graph for this function:

std::string AuraScript::EffectBase::ToString ( )
790 {
791  return "Index: " + EffIndexToString() + " AuraName: " +_SpellScript::EffectAuraNameCheck::ToString();
792 }
std::string ToString()
Definition: SpellScript.cpp:148
std::string EffIndexToString()
Definition: SpellScript.cpp:93

+ Here is the call graph for this function:


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