Pyrogenesis  trunk
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CMessageMotionChanged Class Reference

Sent by CCmpUnitMotion during Update, whenever the motion status has changed since the previous update. More...

#include <MessageTypes.h>

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

Public Member Functions

virtual int GetType () const
 
virtual const char * GetScriptHandlerName () const
 
virtual const char * GetScriptGlobalHandlerName () const
 
virtual JS::Value ToJSVal (ScriptInterface &scriptInterface) const
 
 CMessageMotionChanged (bool starting, bool error)
 
- Public Member Functions inherited from CMessage
virtual ~CMessage ()
 
JS::Value ToJSValCached (ScriptInterface &) const
 

Static Public Member Functions

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

Public Attributes

bool starting
 
bool error
 

Additional Inherited Members

- Protected Member Functions inherited from CMessage
 CMessage ()
 

Detailed Description

Sent by CCmpUnitMotion during Update, whenever the motion status has changed since the previous update.

Constructor & Destructor Documentation

CMessageMotionChanged::CMessageMotionChanged ( bool  starting,
bool  error 
)
inline

Member Function Documentation

CMessage * CMessageMotionChanged::FromJSVal ( ScriptInterface scriptInterface,
JS::HandleValue  val 
)
static
virtual const char* CMessageMotionChanged::GetScriptGlobalHandlerName ( ) const
inlinevirtual

Implements CMessage.

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

Implements CMessage.

virtual int CMessageMotionChanged::GetType ( void  ) const
inlinevirtual

Implements CMessage.

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

Implements CMessage.

Member Data Documentation

bool CMessageMotionChanged::error
bool CMessageMotionChanged::starting

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