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

Sent when terrain (texture or elevation) has been changed. More...

#include <MessageTypes.h>

Inheritance diagram for CMessageTerrainChanged:
Inheritance graph
[legend]
Collaboration diagram for CMessageTerrainChanged:
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
 
 CMessageTerrainChanged (int32_t i0, int32_t j0, int32_t i1, int32_t j1)
 
- 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

int32_t i0
 
int32_t j0
 
int32_t i1
 
int32_t j1
 

Additional Inherited Members

- Protected Member Functions inherited from CMessage
 CMessage ()
 

Detailed Description

Sent when terrain (texture or elevation) has been changed.

Constructor & Destructor Documentation

◆ CMessageTerrainChanged()

CMessageTerrainChanged::CMessageTerrainChanged ( int32_t  i0,
int32_t  j0,
int32_t  i1,
int32_t  j1 
)
inline

Member Function Documentation

◆ FromJSVal()

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

◆ GetScriptGlobalHandlerName()

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

Implements CMessage.

◆ GetScriptHandlerName()

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

Implements CMessage.

◆ GetType()

virtual int CMessageTerrainChanged::GetType ( ) const
inlinevirtual

Implements CMessage.

◆ ToJSVal()

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

Implements CMessage.

Member Data Documentation

◆ i0

int32_t CMessageTerrainChanged::i0

◆ i1

int32_t CMessageTerrainChanged::i1

◆ j0

int32_t CMessageTerrainChanged::j0

◆ j1

int32_t CMessageTerrainChanged::j1

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