Pyrogenesis trunk
|
Sent by CCmpPosition whenever anything has changed that will affect the return value of GetPosition2D() or GetRotation().Y. More...
#include <MessageTypes.h>
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 |
CMessagePositionChanged (entity_id_t entity, bool inWorld, entity_pos_t x, entity_pos_t z, entity_angle_t a) | |
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 CMessage * | FromJSVal (const ScriptRequest &, JS::HandleValue val) |
Public Attributes | |
entity_id_t | entity |
bool | inWorld |
entity_pos_t | x |
entity_pos_t | z |
entity_angle_t | a |
Additional Inherited Members | |
Protected Member Functions inherited from CMessage | |
CMessage () | |
Sent by CCmpPosition whenever anything has changed that will affect the return value of GetPosition2D() or GetRotation().Y.
If inWorld
is false, then the other fields are invalid and meaningless. Otherwise they represent the current position.
|
inline |
|
static |
|
inlinevirtual |
Implements CMessage.
|
inlinevirtual |
Implements CMessage.
|
inlinevirtual |
Implements CMessage.
|
virtual |
Implements CMessage.
entity_angle_t CMessagePositionChanged::a |
entity_id_t CMessagePositionChanged::entity |
bool CMessagePositionChanged::inWorld |
entity_pos_t CMessagePositionChanged::x |
entity_pos_t CMessagePositionChanged::z |