Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
EventMgr::LuaEvent Struct Reference

#include <LuaEngine.h>

Inheritance diagram for EventMgr::LuaEvent:
Collaboration diagram for EventMgr::LuaEvent:

Public Member Functions

bool Execute (uint64 time, uint32 diff)
 LuaEvent (EventProcessor *_events, int _funcRef, uint32 _delay, uint32 _calls, Object *_obj)
 ~LuaEvent ()
Public Member Functions inherited from BasicEvent
virtual void Abort (uint64)
 BasicEvent ()
virtual bool IsDeletable () const
virtual ~BasicEvent ()

Public Attributes

uint32 calls
uint32 delay
EventProcessorevents
int funcRef
bool hasObject
Objectobj
Public Attributes inherited from BasicEvent
uint64 m_addTime
uint64 m_execTime
bool to_Abort

Detailed Description

Definition at line 237 of file LuaEngine.h.

Constructor & Destructor Documentation

◆ LuaEvent()

EventMgr::LuaEvent::LuaEvent ( EventProcessor * _events,
int _funcRef,
uint32 _delay,
uint32 _calls,
Object * _obj )

Definition at line 618 of file LuaEngine.cpp.

References calls, delay, events, funcRef, hasObject, obj, and sEluna.

◆ ~LuaEvent()

EventMgr::LuaEvent::~LuaEvent ( )

Definition at line 626 of file LuaEngine.cpp.

References events, funcRef, and sEluna.

Member Function Documentation

◆ Execute()

bool EventMgr::LuaEvent::Execute ( uint64 time,
uint32 diff )
virtual

Reimplemented from BasicEvent.

Definition at line 638 of file LuaEngine.cpp.

References calls, delay, events, funcRef, hasObject, obj, and sEluna.

Member Data Documentation

◆ calls

uint32 EventMgr::LuaEvent::calls

Definition at line 250 of file LuaEngine.h.

Referenced by Execute(), and LuaEvent().

◆ delay

uint32 EventMgr::LuaEvent::delay

Definition at line 249 of file LuaEngine.h.

Referenced by Execute(), and LuaEvent().

◆ events

EventProcessor* EventMgr::LuaEvent::events

Definition at line 251 of file LuaEngine.h.

Referenced by Execute(), LuaEvent(), and ~LuaEvent().

◆ funcRef

int EventMgr::LuaEvent::funcRef

Definition at line 248 of file LuaEngine.h.

Referenced by Execute(), LuaEvent(), and ~LuaEvent().

◆ hasObject

bool EventMgr::LuaEvent::hasObject

Definition at line 246 of file LuaEngine.h.

Referenced by Execute(), and LuaEvent().

◆ obj

Object* EventMgr::LuaEvent::obj

Definition at line 247 of file LuaEngine.h.

Referenced by Execute(), and LuaEvent().


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