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

Sent by CCmpPosition whenever anything has changed that will affect the return value of GetInterpolatedTransform() More...

#include <MessageTypes.h>

Inheritance diagram for CMessageInterpolatedPositionChanged:
Inheritance graph
[legend]
Collaboration diagram for CMessageInterpolatedPositionChanged:
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
 
 CMessageInterpolatedPositionChanged (entity_id_t entity, bool inWorld, const CVector3D &pos0, const CVector3D &pos1)
 
- 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
 
bool inWorld
 
CVector3D pos0
 
CVector3D pos1
 

Additional Inherited Members

- Protected Member Functions inherited from CMessage
 CMessage ()
 

Detailed Description

Sent by CCmpPosition whenever anything has changed that will affect the return value of GetInterpolatedTransform()

Constructor & Destructor Documentation

◆ CMessageInterpolatedPositionChanged()

CMessageInterpolatedPositionChanged::CMessageInterpolatedPositionChanged ( entity_id_t  entity,
bool  inWorld,
const CVector3D pos0,
const CVector3D pos1 
)
inline

Member Function Documentation

◆ FromJSVal()

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

◆ GetScriptGlobalHandlerName()

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

Implements CMessage.

◆ GetScriptHandlerName()

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

Implements CMessage.

◆ GetType()

virtual int CMessageInterpolatedPositionChanged::GetType ( ) const
inlinevirtual

Implements CMessage.

◆ ToJSVal()

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

Implements CMessage.

Member Data Documentation

◆ entity

entity_id_t CMessageInterpolatedPositionChanged::entity

◆ inWorld

bool CMessageInterpolatedPositionChanged::inWorld

◆ pos0

CVector3D CMessageInterpolatedPositionChanged::pos0

◆ pos1

CVector3D CMessageInterpolatedPositionChanged::pos1

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