Planeshift
Public Member Functions | Public Attributes

psForcePositionMessage Class Reference

#include <messages.h>

List of all members.

Public Member Functions

void operator= (psForcePositionMessage &other)
 PSF_DECLARE_MSG_FACTORY ()
 psForcePositionMessage ()
 psForcePositionMessage (uint32_t client, uint8_t sequence, const csVector3 &pos, float yRot, iSector *sector, float vel, csStringSet *msgstrings, uint32_t time=0, csString loadBackground="", csVector2 start=0, csVector2 dest=0, csString loadWidget="")
 psForcePositionMessage (MsgEntry *me, NetBase::AccessPointers *accessPointers)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

csString backgroundname
 Name of the background to use instead of the normal one in delay.
csVector2 dest
 Destination point of animation.
uint32_t loadTime
 time to wait even if there is no need to load
csString loadWidget
 The widget to replace the load window with.
csVector3 pos
 Position vector.
iSector * sector
 Ptr to sector for mesh.
csString sectorName
 Name of the sector.
csVector2 start
 Start point of anmiation.
float vel
 The velocity of the actor.
float yrot
 Rotation around Y-axis in radians.

Detailed Description

Definition at line 3199 of file messages.h.


Constructor & Destructor Documentation

psForcePositionMessage::psForcePositionMessage ( ) [inline]

Definition at line 3213 of file messages.h.

psForcePositionMessage::psForcePositionMessage ( uint32_t  client,
uint8_t  sequence,
const csVector3 &  pos,
float  yRot,
iSector *  sector,
float  vel,
csStringSet *  msgstrings,
uint32_t  time = 0,
csString  loadBackground = "",
csVector2  start = 0,
csVector2  dest = 0,
csString  loadWidget = "" 
)
psForcePositionMessage::psForcePositionMessage ( MsgEntry me,
NetBase::AccessPointers accessPointers 
)

Member Function Documentation

void psForcePositionMessage::operator= ( psForcePositionMessage other)
psForcePositionMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psForcePositionMessage::ToString ( NetBase::AccessPointers accessPointers) [virtual]

Converts the message into human readable string.

Parameters:
accessPointersA struct to a number of access pointers.
Returns:
Return a human readable string for the message.

Implements psMessageCracker.


Member Data Documentation

Name of the background to use instead of the normal one in delay.

Definition at line 3206 of file messages.h.

Destination point of animation.

Definition at line 3209 of file messages.h.

time to wait even if there is no need to load

Definition at line 3207 of file messages.h.

The widget to replace the load window with.

Definition at line 3210 of file messages.h.

Position vector.

Definition at line 3202 of file messages.h.

Ptr to sector for mesh.

Definition at line 3204 of file messages.h.

Name of the sector.

Definition at line 3205 of file messages.h.

Start point of anmiation.

Definition at line 3208 of file messages.h.

The velocity of the actor.

Definition at line 3211 of file messages.h.

Rotation around Y-axis in radians.

Definition at line 3203 of file messages.h.


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