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

#include <MessageTypes.h>

Inheritance diagram for CMessageTerritoryPositionChanged:
Inheritance graph
[legend]
Collaboration diagram for CMessageTerritoryPositionChanged:
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 ScriptInterface &scriptInterface) const
 
 CMessageTerritoryPositionChanged (entity_id_t entity, player_id_t newTerritory)
 
- Public Member Functions inherited from CMessage
virtual ~CMessage ()
 
JS::Value ToJSValCached (const ScriptInterface &) const
 

Static Public Member Functions

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

Public Attributes

entity_id_t entity
 
player_id_t newTerritory
 

Additional Inherited Members

- Protected Member Functions inherited from CMessage
 CMessage ()
 

Constructor & Destructor Documentation

◆ CMessageTerritoryPositionChanged()

CMessageTerritoryPositionChanged::CMessageTerritoryPositionChanged ( entity_id_t  entity,
player_id_t  newTerritory 
)
inline

Member Function Documentation

◆ FromJSVal()

CMessage * CMessageTerritoryPositionChanged::FromJSVal ( const ScriptInterface scriptInterface,
JS::HandleValue  val 
)
static

◆ GetScriptGlobalHandlerName()

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

Implements CMessage.

◆ GetScriptHandlerName()

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

Implements CMessage.

◆ GetType()

virtual int CMessageTerritoryPositionChanged::GetType ( ) const
inlinevirtual

Implements CMessage.

◆ ToJSVal()

JS::Value CMessageTerritoryPositionChanged::ToJSVal ( const ScriptInterface scriptInterface) const
virtual

Implements CMessage.

Member Data Documentation

◆ entity

entity_id_t CMessageTerritoryPositionChanged::entity

◆ newTerritory

player_id_t CMessageTerritoryPositionChanged::newTerritory

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