TrinityCore
SpellEvent Class Reference
+ Inheritance diagram for SpellEvent:

Public Member Functions

 SpellEvent (Spell *spell)
 
 ~SpellEvent ()
 
bool Execute (uint64 e_time, uint32 p_time) override
 
void Abort (uint64 e_time) override
 
bool IsDeletable () const override
 
Spell const * GetSpell () const
 
Trinity::unique_weak_ptr< SpellGetSpellWeakPtr () const
 
std::string GetDebugInfo () const
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()
 
virtual ~BasicEvent ()
 
virtual bool Execute (uint64, uint32)
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 
void ScheduleAbort ()
 

Protected Attributes

Trinity::unique_trackable_ptr< Spellm_Spell
 

Detailed Description

Definition at line 485 of file Spell.cpp.

Constructor & Destructor Documentation

◆ SpellEvent()

SpellEvent::SpellEvent ( Spell spell)
explicit

Definition at line 8206 of file Spell.cpp.

◆ ~SpellEvent()

SpellEvent::~SpellEvent ( )

Definition at line 8210 of file Spell.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ Abort()

void SpellEvent::Abort ( uint64  e_time)
overridevirtual

Reimplemented from BasicEvent.

Definition at line 8317 of file Spell.cpp.

+ Here is the call graph for this function:

◆ Execute()

bool SpellEvent::Execute ( uint64  e_time,
uint32  p_time 
)
overridevirtual

Reimplemented from BasicEvent.

Definition at line 8223 of file Spell.cpp.

+ Here is the call graph for this function:

◆ GetDebugInfo()

std::string SpellEvent::GetDebugInfo ( ) const
inline

Definition at line 497 of file Spell.cpp.

◆ GetSpell()

Spell const * SpellEvent::GetSpell ( ) const
inline

Definition at line 494 of file Spell.cpp.

◆ GetSpellWeakPtr()

Trinity::unique_weak_ptr< Spell > SpellEvent::GetSpellWeakPtr ( ) const
inline

Definition at line 495 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ IsDeletable()

bool SpellEvent::IsDeletable ( ) const
overridevirtual

Reimplemented from BasicEvent.

Definition at line 8324 of file Spell.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_Spell

Trinity::unique_trackable_ptr<Spell> SpellEvent::m_Spell
protected

Definition at line 500 of file Spell.cpp.


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