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

#include <EventProcessor.h>

Public Member Functions

 BasicEvent ()
 
virtual ~BasicEvent ()
 
virtual bool Execute (uint64, uint32)
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 

Public Attributes

bool to_Abort
 
uint64 m_addTime
 
uint64 m_execTime
 

Constructor & Destructor Documentation

BasicEvent::BasicEvent ( )
inline
32  {
33  to_Abort = false;
34  m_addTime = 0;
35  m_execTime = 0;
36  }
bool to_Abort
Definition: EventProcessor.h:48
uint64 m_addTime
Definition: EventProcessor.h:52
uint64 m_execTime
Definition: EventProcessor.h:53
virtual BasicEvent::~BasicEvent ( )
inlinevirtual
37 { } // override destructor to perform some actions on event removal

Member Function Documentation

virtual void BasicEvent::Abort ( uint64  )
inlinevirtual

Reimplemented in SpellEvent, GameObjectDeleteDelayEvent, BGQueueRemoveEvent, BGQueueInviteEvent, and VehicleJoinEvent.

46 { } // this method executes when the event is aborted

+ Here is the caller graph for this function:

virtual bool BasicEvent::IsDeletable ( ) const
inlinevirtual

Reimplemented in SpellEvent.

44 { return true; } // this event can be safely deleted

Member Data Documentation

uint64 BasicEvent::m_addTime
uint64 BasicEvent::m_execTime
bool BasicEvent::to_Abort

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