Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CMessageOwnershipChanged Class Referencefinal

#include <MessageTypes.h>

Inheritance diagram for CMessageOwnershipChanged:
Collaboration diagram for CMessageOwnershipChanged:

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
 
 CMessageOwnershipChanged (entity_id_t entity, player_id_t from, player_id_t to)
 
- 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
 
player_id_t from
 
player_id_t to
 

Additional Inherited Members

- Protected Member Functions inherited from CMessage
 CMessage ()
 

Constructor & Destructor Documentation

◆ CMessageOwnershipChanged()

CMessageOwnershipChanged::CMessageOwnershipChanged ( entity_id_t  entity,
player_id_t  from,
player_id_t  to 
)
inline

Member Function Documentation

◆ FromJSVal()

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

◆ GetScriptGlobalHandlerName()

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

Implements CMessage.

◆ GetScriptHandlerName()

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

Implements CMessage.

◆ GetType()

virtual int CMessageOwnershipChanged::GetType ( ) const
inlinevirtual

Implements CMessage.

◆ ToJSVal()

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

Implements CMessage.

Member Data Documentation

◆ entity

entity_id_t CMessageOwnershipChanged::entity

◆ from

player_id_t CMessageOwnershipChanged::from

◆ to

player_id_t CMessageOwnershipChanged::to

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