My Project
|
simple key events struct More...
#include <EventClasses.h>
Public Member Functions | |
KeyEvent (DWORD KeyState, int nKey, int nEventType=EVENT_KEY) | |
virtual int | GetEventType () const |
get event type | |
string | ToScriptCode () const |
build script code and return. More... | |
![]() | |
virtual bool | IsAsyncMode () const |
return true, if firing event does not immediately invoke the handler. More... | |
virtual int | GetEventID () const |
get event id | |
Public Attributes | |
DWORD | m_KeyState |
int | m_nKey |
int | m_nEventType |
simple key events struct
|
virtual |
build script code and return.
it does not cache the script code. Use GetScriptCode() instead for performance reason.
Reimplemented from ParaEngine::IEvent.