TrinityCore
AuraScript::EffectBase Class Reference

#include <SpellScript.h>

+ Inheritance diagram for AuraScript::EffectBase:

Public Member Functions

 EffectBase (uint8 effIndex, uint16 auraType)
 
 EffectBase (EffectBase const &right)=delete
 
 EffectBase (EffectBase &&right) noexcept
 
EffectBaseoperator= (EffectBase const &right)=delete
 
EffectBaseoperator= (EffectBase &&right) noexcept
 
virtual ~EffectBase ()
 
std::string ToString () const
 
bool CheckEffect (SpellInfo const *spellInfo, uint8 effIndex) const override
 
- Public Member Functions inherited from SpellScriptBase::EffectHook
 EffectHook (uint8 effIndex)
 
 EffectHook (EffectHook const &right)=delete
 
 EffectHook (EffectHook &&right) noexcept
 
EffectHookoperator= (EffectHook const &right)=delete
 
EffectHookoperator= (EffectHook &&right) noexcept
 
virtual ~EffectHook ()
 
uint32 GetAffectedEffectsMask (SpellInfo const *spellInfo) const
 
bool IsEffectAffected (SpellInfo const *spellInfo, uint8 effIndex) const
 
virtual bool CheckEffect (SpellInfo const *spellInfo, uint8 effIndex) const =0
 
std::string EffIndexToString () const
 

Private Attributes

uint16 _auraType
 

Additional Inherited Members

- Protected Attributes inherited from SpellScriptBase::EffectHook
uint8 _effIndex
 

Detailed Description

Definition at line 1177 of file SpellScript.h.

Constructor & Destructor Documentation

◆ EffectBase() [1/3]

AuraScript::EffectBase::EffectBase ( uint8  effIndex,
uint16  auraType 
)

Definition at line 885 of file SpellScript.cpp.

◆ EffectBase() [2/3]

AuraScript::EffectBase::EffectBase ( EffectBase const &  right)
delete

◆ EffectBase() [3/3]

AuraScript::EffectBase::EffectBase ( EffectBase &&  right)
defaultnoexcept

◆ ~EffectBase()

AuraScript::EffectBase::~EffectBase ( )
virtualdefault

Member Function Documentation

◆ CheckEffect()

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

Implements SpellScriptBase::EffectHook.

Definition at line 892 of file SpellScript.cpp.

+ Here is the call graph for this function:

◆ operator=() [1/2]

AuraScript::EffectBase & AuraScript::EffectBase::operator= ( EffectBase &&  right)
defaultnoexcept

◆ operator=() [2/2]

EffectBase & AuraScript::EffectBase::operator= ( EffectBase const &  right)
delete

◆ ToString()

std::string AuraScript::EffectBase::ToString ( ) const

Definition at line 904 of file SpellScript.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _auraType

uint16 AuraScript::EffectBase::_auraType
private

Definition at line 1189 of file SpellScript.h.


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