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

network event More...

#include <EventClasses.h>

Inheritance diagram for ParaEngine::NetworkEvent:
ParaEngine::IEvent

Public Member Functions

 NetworkEvent (int nType, const string &sCode)
 
virtual int GetEventType () const
 get event type
 
string ToScriptCode () const
 build script code and return. More...
 
- Public Member Functions inherited from ParaEngine::IEvent
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

int m_nType
 
string m_sCode
 

Detailed Description

network event

Member Function Documentation

§ ToScriptCode()

std::string NetworkEvent::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: