Planeshift
psForcePositionMessage Class Reference

#include <messages.h>

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. More...
 
- Public Member Functions inherited from psMessageCracker
void FireEvent ()
 Publishes the message to the local program. More...
 
virtual csString GetMessageTypeName () const =0
 Gets the name of the message type. More...
 
void Multicast (csArray< PublishDestination > &multi, uint32_t except, float range)
 Multicasts the message to all current connections. More...
 
 psMessageCracker ()
 
void SendMessage ()
 Sends the message to the client/server. More...
 
virtual ~psMessageCracker ()
 

Public Attributes

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

Additional Inherited Members

- Static Public Attributes inherited from psMessageCracker
static MsgHandlermsghandler
 

Detailed Description

Definition at line 3202 of file messages.h.

Constructor & Destructor Documentation

psForcePositionMessage::psForcePositionMessage ( )
inline

Definition at line 3216 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

csString psForcePositionMessage::backgroundname

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

Definition at line 3209 of file messages.h.

csVector2 psForcePositionMessage::dest

Destination point of animation.

Definition at line 3212 of file messages.h.

uint32_t psForcePositionMessage::loadTime

time to wait even if there is no need to load

Definition at line 3210 of file messages.h.

csString psForcePositionMessage::loadWidget

The widget to replace the load window with.

Definition at line 3213 of file messages.h.

csVector3 psForcePositionMessage::pos

Position vector.

Definition at line 3205 of file messages.h.

iSector* psForcePositionMessage::sector

Ptr to sector for mesh.

Definition at line 3207 of file messages.h.

csString psForcePositionMessage::sectorName

Name of the sector.

Definition at line 3208 of file messages.h.

csVector2 psForcePositionMessage::start

Start point of anmiation.

Definition at line 3211 of file messages.h.

float psForcePositionMessage::vel

The velocity of the actor.

Definition at line 3214 of file messages.h.

float psForcePositionMessage::yrot

Rotation around Y-axis in radians.

Definition at line 3206 of file messages.h.


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