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

world editor events, such as scene selection, etc. More...

#include <EventClasses.h>

Inheritance diagram for ParaEngine::EditorEvent:
ParaEngine::IEvent

Public Member Functions

 EditorEvent (int nType)
 
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
 

Detailed Description

world editor events, such as scene selection, etc.

Member Function Documentation

§ ToScriptCode()

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