Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CMessageDeserialized Class Referencefinal

Broadcast after the entire simulation state has been deserialized. More...

#include <MessageTypes.h>

Inheritance diagram for CMessageDeserialized:
Collaboration diagram for CMessageDeserialized:

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
 
 CMessageDeserialized ()
 
- 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
 

Static Public Member Functions

static CMessageFromJSVal (const ScriptRequest &, JS::HandleValue val)
 

Additional Inherited Members

- Protected Member Functions inherited from CMessage
 CMessage ()
 

Detailed Description

Broadcast after the entire simulation state has been deserialized.

Components should do all their self-contained work in their Deserialize function when possible. But any reinitialisation that depends on other components or other entities, that might not be constructed until later in the deserialization process, may be done in response to this message instead.

Constructor & Destructor Documentation

◆ CMessageDeserialized()

CMessageDeserialized::CMessageDeserialized ( )
inline

Member Function Documentation

◆ FromJSVal()

CMessage * CMessageDeserialized::FromJSVal ( const ScriptRequest rq,
JS::HandleValue  val 
)
static

◆ GetScriptGlobalHandlerName()

virtual const char * CMessageDeserialized::GetScriptGlobalHandlerName ( ) const
inlinevirtual

Implements CMessage.

◆ GetScriptHandlerName()

virtual const char * CMessageDeserialized::GetScriptHandlerName ( ) const
inlinevirtual

Implements CMessage.

◆ GetType()

virtual int CMessageDeserialized::GetType ( ) const
inlinevirtual

Implements CMessage.

◆ ToJSVal()

JS::Value CMessageDeserialized::ToJSVal ( const ScriptRequest rq) const
virtual

Implements CMessage.


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