Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
SpellEvent Class Reference

#include <Spell.h>

Inheritance diagram for SpellEvent:
Collaboration diagram for SpellEvent:

Public Member Functions

virtual void Abort (uint64 e_time)
virtual bool Execute (uint64 e_time, uint32 p_time)
virtual bool IsDeletable () const
 SpellEvent (Spell *spell)
virtual ~SpellEvent ()
Public Member Functions inherited from BasicEvent
 BasicEvent ()
virtual ~BasicEvent ()

Protected Attributes

Spellm_Spell

Additional Inherited Members

Public Attributes inherited from BasicEvent
uint64 m_addTime
uint64 m_execTime
bool to_Abort

Detailed Description

Definition at line 830 of file Spell.h.

Constructor & Destructor Documentation

◆ SpellEvent()

SpellEvent::SpellEvent ( Spell * spell)

Definition at line 7361 of file Spell.cpp.

References BasicEvent::BasicEvent(), and m_Spell.

◆ ~SpellEvent()

SpellEvent::~SpellEvent ( )
virtual

Definition at line 7366 of file Spell.cpp.

References ASSERT, m_Spell, SF_LOG_ERROR, SPELL_STATE_FINISHED, and TYPEID_PLAYER.

Member Function Documentation

◆ Abort()

void SpellEvent::Abort ( uint64 e_time)
virtual

Reimplemented from BasicEvent.

Definition at line 7470 of file Spell.cpp.

References m_Spell, and SPELL_STATE_FINISHED.

◆ Execute()

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

Reimplemented from BasicEvent.

Definition at line 7383 of file Spell.cpp.

References m_Spell, SPELL_STATE_DELAYED, and SPELL_STATE_FINISHED.

◆ IsDeletable()

bool SpellEvent::IsDeletable ( ) const
virtual

Reimplemented from BasicEvent.

Definition at line 7477 of file Spell.cpp.

References m_Spell.

Member Data Documentation

◆ m_Spell

Spell* SpellEvent::m_Spell
protected

Definition at line 840 of file Spell.h.

Referenced by Abort(), Execute(), IsDeletable(), SpellEvent(), and ~SpellEvent().


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