AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
SpellEvent (Spell *spell) | |
~SpellEvent () | |
bool | Execute (uint64 e_time, uint32 p_time) |
void | Abort (uint64 e_time) |
bool | IsDeletable () const |
Public Member Functions inherited from BasicEvent | |
BasicEvent ()=default | |
virtual | ~BasicEvent ()=default |
virtual bool | Execute (uint64, uint32) |
virtual bool | IsDeletable () const |
virtual void | Abort (uint64) |
void | ScheduleAbort () |
Protected Attributes | |
Spell * | m_Spell |
SpellEvent::SpellEvent | ( | Spell * | spell | ) |
References m_Spell.
SpellEvent::~SpellEvent | ( | ) |
References ABORT, Spell::cancel(), Spell::GetCaster(), Object::GetGUID(), Spell::getState(), SpellInfo::Id, Spell::IsDeletable(), Object::IsPlayer(), LOG_ERROR, m_Spell, Spell::m_spellInfo, SPELL_STATE_FINISHED, and ObjectGuid::ToString().
|
virtual |
Reimplemented from BasicEvent.
References Spell::cancel(), Spell::getState(), m_Spell, and SPELL_STATE_FINISHED.
Reimplemented from BasicEvent.
References EventProcessor::AddEvent(), Spell::GetCaster(), Spell::GetDelayMoment(), Spell::GetDelayStart(), Spell::getState(), Spell::handle_delayed(), Spell::IsDeletable(), Unit::m_Events, m_Spell, Spell::SetDelayStart(), SPELL_STATE_DELAYED, SPELL_STATE_FINISHED, and Spell::update().
|
virtual |
Reimplemented from BasicEvent.
References Spell::IsDeletable(), and m_Spell.
|
protected |
Referenced by Abort(), Execute(), IsDeletable(), SpellEvent(), and ~SpellEvent().