Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Used for script-only message types. More...
Public Member Functions | |
virtual int | GetType () const |
virtual const char * | GetScriptHandlerName () const |
virtual const char * | GetScriptGlobalHandlerName () const |
virtual JS::Value | ToJSVal (const ScriptRequest &rq) const |
CMessageScripted (const ScriptRequest &rq, int mtid, const std::string &name, JS::HandleValue msg) | |
Public Member Functions inherited from CMessage | |
virtual | ~CMessage () |
virtual int | GetType () const =0 |
virtual const char * | GetScriptHandlerName () const =0 |
virtual const char * | GetScriptGlobalHandlerName () const =0 |
virtual JS::Value | ToJSVal (const ScriptRequest &) const =0 |
JS::Value | ToJSValCached (const ScriptRequest &) const |
Public Attributes | |
int | mtid |
std::string | handlerName |
std::string | globalHandlerName |
JS::PersistentRootedValue | msg |
Additional Inherited Members | |
Protected Member Functions inherited from CMessage | |
CMessage () | |
Used for script-only message types.
|
inline |
|
inlinevirtual |
Implements CMessage.
|
inlinevirtual |
Implements CMessage.
|
inlinevirtual |
Implements CMessage.
|
inlinevirtual |
Implements CMessage.
std::string CMessageScripted::globalHandlerName |
std::string CMessageScripted::handlerName |
JS::PersistentRootedValue CMessageScripted::msg |
int CMessageScripted::mtid |