|
My Project
|
the event interface More...
#include <IEvent.h>
Public Member Functions | |
| virtual int | GetEventType () const |
| get event type | |
| virtual 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 | |
the event interface
|
inlinevirtual |
return true, if firing event does not immediately invoke the handler.
|
inlinevirtual |
build script code and return.
it does not cache the script code. Use GetScriptCode() instead for performance reason.
Reimplemented in ParaEngine::AccelerometerEvent, ParaEngine::TouchEvent, ParaEngine::NetworkEvent, ParaEngine::EditorEvent, ParaEngine::SystemEvent, ParaEngine::KeyEvent, ParaEngine::MouseEvent, and ParaEngine::Event.
1.8.12