My Project
Public Member Functions | Public Attributes | List of all members
ParaEngine::Event Struct Reference

a general event More...

#include <EventClasses.h>

Inheritance diagram for ParaEngine::Event:
ParaEngine::IEvent

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)
 
- Public Member Functions inherited from ParaEngine::IEvent
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
 

Detailed Description

a general event

Member Function Documentation

§ ToScriptCode()

std::string Event::ToScriptCode ( ) const
virtual

build script code and return.

it does not cache the script code. Use GetScriptCode() instead for performance reason.

Reimplemented from ParaEngine::IEvent.


The documentation for this struct was generated from the following files: