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

Sent by atlas if the playercolor has been changed. More...

#include <MessageTypes.h>

Inheritance diagram for CMessagePlayerColorChanged:
Inheritance graph
[legend]
Collaboration diagram for CMessagePlayerColorChanged:
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
 
 CMessagePlayerColorChanged (player_id_t player)
 
- 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

player_id_t player
 

Additional Inherited Members

- Protected Member Functions inherited from CMessage
 CMessage ()
 

Detailed Description

Sent by atlas if the playercolor has been changed.

Constructor & Destructor Documentation

◆ CMessagePlayerColorChanged()

CMessagePlayerColorChanged::CMessagePlayerColorChanged ( player_id_t  player)
inline

Member Function Documentation

◆ FromJSVal()

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

◆ GetScriptGlobalHandlerName()

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

Implements CMessage.

◆ GetScriptHandlerName()

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

Implements CMessage.

◆ GetType()

virtual int CMessagePlayerColorChanged::GetType ( ) const
inlinevirtual

Implements CMessage.

◆ ToJSVal()

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

Implements CMessage.

Member Data Documentation

◆ player

player_id_t CMessagePlayerColorChanged::player

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