Planeshift
|
#include <messages.h>
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 |
Definition at line 5215 of file messages.h.
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.
psMoveModMsg::psMoveModMsg | ( | MsgEntry * | me | ) |
psMoveModMsg::PSF_DECLARE_MSG_FACTORY | ( | ) |
virtual csString psMoveModMsg::ToString | ( | NetBase::AccessPointers * | accessPointers | ) | [virtual] |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
csVector3 psMoveModMsg::movementMod |
Definition at line 5241 of file messages.h.
Definition at line 5242 of file messages.h.
Definition at line 5240 of file messages.h.