ParaEngine::CEventHandler Class Reference

List of all members.

Detailed Description

event handler


Public Member Functions

const string & GetCode () const
const string & GetFileName () const
void SetScript (const string &sScript)
bool Equals (const CEventHandler &e) const
bool Equals (const string &sID) const
bool IsMouseEvent () const
bool IsKeyEvent () const
bool IsEditorEvent () const
bool IsSystemEvent () const
bool IsNetworkEvent () const
bool IsEvent (int nEventType) const
 CEventHandler (DWORD nType, const string &sID, const string &sScript)
 CEventHandler (const string &sID, const string &sScript)
 
Parameters:
sID,: if sID begins with "_m" it is treated as a mouse click event, except that if sID begins with "_mm" it is treated as a mouse move event.


Classes

struct  EditorEvent
 world editor events, such as scene selection, etc. More...
struct  Event
 a general event More...
struct  KeyEvent
 simple key events struct More...
struct  MouseEvent
 simple mouse event struct More...
struct  NetworkEvent
struct  SystemEvent
 system events struct More...


Constructor & Destructor Documentation

ParaEngine::CEventHandler::CEventHandler ( const string &  sID,
const string &  sScript 
)

Parameters:
sID,: if sID begins with "_m" it is treated as a mouse click event, except that if sID begins with "_mm" it is treated as a mouse move event.

if sID begins with "_md" it is treated as a mouse down event. if sID begins with "_mu" it is treated as a mouse up event. if sID begins with "_k" it is treated as a key down event. if sID begins with "_ku" it is treated as a key up event. if sID begins with "_n" it is treated as a networking event. if sID begins with "_s" it is treated as a system event. if sID begins with "_e" it is treated as a editor event.


Generated on Mon Dec 1 14:34:43 2008 for NPL Scripting Reference for ParaEngine by  doxygen 1.5.2