Planeshift
Public Types | Public Member Functions | Public Attributes

psMoveModMsg Class Reference

#include <messages.h>

List of all members.

Public Types

enum  ModType {
  NONE = 0, ADDITION, MULTIPLIER, CONSTANT,
  PUSH
}

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psMoveModMsg (MsgEntry *me)
 psMoveModMsg (uint32_t client, ModType type, const csVector3 &move, float Yrot)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

csVector3 movementMod
float rotationMod
ModType type

Detailed Description

Definition at line 5215 of file messages.h.


Member Enumeration Documentation

Enumerator:
NONE 

Reset modifiers.

ADDITION 

Add this to movements.

MULTIPLIER 

Multiply this with movements.

CONSTANT 

Add this to velocity until told otherwise.

PUSH 

Execute this movement once.

Definition at line 5218 of file messages.h.


Constructor & Destructor Documentation

psMoveModMsg::psMoveModMsg ( uint32_t  client,
ModType  type,
const csVector3 &  move,
float  Yrot 
)
psMoveModMsg::psMoveModMsg ( MsgEntry me)

Member Function Documentation

psMoveModMsg::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psMoveModMsg::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

Definition at line 5241 of file messages.h.

Definition at line 5242 of file messages.h.

Definition at line 5240 of file messages.h.


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