Planeshift
|
#include <messages.h>
Public Types | |
enum | Flags { NONE = 0, INVISIBLE = 1 << 0, INVINCIBLE = 1 << 1, NPC = 1 << 2, NAMEKNOWN = 1 << 3, IS_ALIVE = 1 << 4 } |
Public Member Functions | |
PSF_DECLARE_MSG_FACTORY () | |
psPersistActor (MsgEntry *me, NetBase::AccessPointers *accessPointers, bool forNPClient=false) | |
psPersistActor (uint32_t clientnum, int type, int masqueradeType, bool control, const char *name, const char *guild, const char *factname, const char *matname, const char *race, const char *mountFactname, const char *MounterAnim, unsigned short int gender, float scale, float mountscale, const char *helmGroup, const char *BracerGroup, const char *BeltGroup, const char *CloakGroup, csVector3 collTop, csVector3 collBottom, csVector3 collOffset, const char *texParts, const char *equipmentParts, uint8_t counter, EID mappedid, csStringSet *msgstrings, psLinearMovement *linmove, uint8_t movementMode, uint8_t serverMode, PID playerID=0, uint32_t groupID=0, EID ownerEID=0, uint32_t flags=NONE, PID masterID=0, bool forNPClient=false) | |
void | SetInstance (InstanceID instance) |
Used to insert instance into the message buffer after creation. | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Converts the message into human readable string. | |
Static Public Member Functions | |
static uint32_t | PeekEID (MsgEntry *me) |
Used to extract just the entity EID from the message. | |
Public Attributes | |
csString | beltGroup |
Used for belt groupings. | |
csVector3 | bottom |
csString | bracerGroup |
Used for bracers groupings. | |
csString | cloakGroup |
Used for cloak groupings. | |
bool | control |
csString | equipment |
csString | factname |
uint32_t | flags |
unsigned short int | gender |
uint32_t | groupID |
csString | guild |
csString | helmGroup |
Used for helm groupings. | |
InstanceID | instance |
int | masqueradeType |
PID | masterID |
csString | matname |
csString | MounterAnim |
The anim to be used by the mounter. | |
csString | mountFactname |
float | mountScale |
Stores the scale of the mounted actor. | |
csString | name |
csVector3 | offset |
EID | ownerEID |
PID | playerID |
int | posInstance |
Remember the position of the instance field in the generated message. | |
int | posPlayerID |
Remember the position the playerID in the generated message. | |
csString | race |
float | scale |
Stores the scale of the actor. Total model scale. | |
uint8_t | serverMode |
csString | texParts |
csVector3 | top |
int | type |
Definition at line 3352 of file messages.h.
Definition at line 3355 of file messages.h.
psPersistActor::psPersistActor | ( | uint32_t | clientnum, |
int | type, | ||
int | masqueradeType, | ||
bool | control, | ||
const char * | name, | ||
const char * | guild, | ||
const char * | factname, | ||
const char * | matname, | ||
const char * | race, | ||
const char * | mountFactname, | ||
const char * | MounterAnim, | ||
unsigned short int | gender, | ||
float | scale, | ||
float | mountscale, | ||
const char * | helmGroup, | ||
const char * | BracerGroup, | ||
const char * | BeltGroup, | ||
const char * | CloakGroup, | ||
csVector3 | collTop, | ||
csVector3 | collBottom, | ||
csVector3 | collOffset, | ||
const char * | texParts, | ||
const char * | equipmentParts, | ||
uint8_t | counter, | ||
EID | mappedid, | ||
csStringSet * | msgstrings, | ||
psLinearMovement * | linmove, | ||
uint8_t | movementMode, | ||
uint8_t | serverMode, | ||
PID | playerID = 0 , |
||
uint32_t | groupID = 0 , |
||
EID | ownerEID = 0 , |
||
uint32_t | flags = NONE , |
||
PID | masterID = 0 , |
||
bool | forNPClient = false |
||
) |
psPersistActor::psPersistActor | ( | MsgEntry * | me, |
NetBase::AccessPointers * | accessPointers, | ||
bool | forNPClient = false |
||
) |
static uint32_t psPersistActor::PeekEID | ( | MsgEntry * | me | ) | [static] |
Used to extract just the entity EID from the message.
psPersistActor::PSF_DECLARE_MSG_FACTORY | ( | ) |
Reimplemented from psDRMessage.
void psPersistActor::SetInstance | ( | InstanceID | instance | ) |
Used to insert instance into the message buffer after creation.
virtual csString psPersistActor::ToString | ( | NetBase::AccessPointers * | accessPointers | ) | [virtual] |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Reimplemented from psDRMessage.
csString psPersistActor::beltGroup |
Used for belt groupings.
Definition at line 3426 of file messages.h.
csVector3 psPersistActor::bottom |
Definition at line 3428 of file messages.h.
csString psPersistActor::bracerGroup |
Used for bracers groupings.
Definition at line 3425 of file messages.h.
csString psPersistActor::cloakGroup |
Used for cloak groupings.
Definition at line 3427 of file messages.h.
Definition at line 3437 of file messages.h.
csString psPersistActor::equipment |
Definition at line 3430 of file messages.h.
csString psPersistActor::factname |
Definition at line 3418 of file messages.h.
uint32_t psPersistActor::flags |
Definition at line 3439 of file messages.h.
Definition at line 3423 of file messages.h.
uint32_t psPersistActor::groupID |
Definition at line 3435 of file messages.h.
csString psPersistActor::guild |
Definition at line 3417 of file messages.h.
csString psPersistActor::helmGroup |
Used for helm groupings.
Definition at line 3424 of file messages.h.
Definition at line 3440 of file messages.h.
Definition at line 3432 of file messages.h.
Definition at line 3438 of file messages.h.
csString psPersistActor::matname |
Definition at line 3419 of file messages.h.
csString psPersistActor::MounterAnim |
The anim to be used by the mounter.
Definition at line 3422 of file messages.h.
csString psPersistActor::mountFactname |
Definition at line 3421 of file messages.h.
Stores the scale of the mounted actor.
Definition at line 3445 of file messages.h.
csString psPersistActor::name |
Definition at line 3416 of file messages.h.
csVector3 psPersistActor::offset |
Definition at line 3428 of file messages.h.
Definition at line 3436 of file messages.h.
Definition at line 3434 of file messages.h.
Remember the position of the instance field in the generated message.
Definition at line 3443 of file messages.h.
Remember the position the playerID in the generated message.
Definition at line 3442 of file messages.h.
csString psPersistActor::race |
Definition at line 3420 of file messages.h.
Stores the scale of the actor. Total model scale.
Definition at line 3444 of file messages.h.
uint8_t psPersistActor::serverMode |
Definition at line 3433 of file messages.h.
csString psPersistActor::texParts |
Definition at line 3429 of file messages.h.
csVector3 psPersistActor::top |
Definition at line 3428 of file messages.h.
Definition at line 3431 of file messages.h.