My Project
|
a general event More...
#include <EventClasses.h>
Public Member Functions | |
virtual int | GetEventType () const |
get event type | |
virtual string | ToScriptCode () const |
build script code and return. More... | |
virtual int | GetEventID () const |
get event id | |
Event (int nEventType, const char *sCode) | |
Event (int nEventType, int nID, const char *sCode) | |
![]() | |
virtual bool | IsAsyncMode () const |
return true, if firing event does not immediately invoke the handler. More... | |
Public Attributes | |
int | m_nEventType |
int | m_nEventID |
string | m_sCode |
a general event
|
virtual |
build script code and return.
it does not cache the script code. Use GetScriptCode() instead for performance reason.
Reimplemented from ParaEngine::IEvent.