Pyrogenesis trunk
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CMessageCreate Class Referencefinal

This is sent immediately after a new entity's components have all been created and initialised. More...

#include <MessageTypes.h>

Inheritance diagram for CMessageCreate:
Inheritance graph
[legend]
Collaboration diagram for CMessageCreate:
Collaboration graph
[legend]

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
 
 CMessageCreate (entity_id_t entity)
 
- 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)
 

Public Attributes

entity_id_t entity
 

Additional Inherited Members

- Protected Member Functions inherited from CMessage
 CMessage ()
 

Detailed Description

This is sent immediately after a new entity's components have all been created and initialised.

Constructor & Destructor Documentation

◆ CMessageCreate()

CMessageCreate::CMessageCreate ( entity_id_t  entity)
inline

Member Function Documentation

◆ FromJSVal()

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

◆ GetScriptGlobalHandlerName()

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

Implements CMessage.

◆ GetScriptHandlerName()

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

Implements CMessage.

◆ GetType()

virtual int CMessageCreate::GetType ( ) const
inlinevirtual

Implements CMessage.

◆ ToJSVal()

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

Implements CMessage.

Member Data Documentation

◆ entity

entity_id_t CMessageCreate::entity

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