My Project
|
simple mouse event struct More...
#include <EventClasses.h>
Public Member Functions | |
MouseEvent (DWORD MouseState, int x, int y) | |
MouseEvent (DWORD MouseState, int x, int y, int nEventType) | |
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_MouseState |
int | m_x |
int | m_y |
int | m_nEventType |
EM_MOUSE_MOVE or EM_MOUSE_CLICK, EM_MOUSE_DOWN, EM_MOUSE_UP, etc. More... | |
simple mouse event struct
|
virtual |
build script code and return.
it does not cache the script code. Use GetScriptCode() instead for performance reason.
Reimplemented from ParaEngine::IEvent.
int ParaEngine::MouseEvent::m_nEventType |
EM_MOUSE_MOVE or EM_MOUSE_CLICK, EM_MOUSE_DOWN, EM_MOUSE_UP, etc.