Planeshift
Public Types | Public Member Functions | Public Attributes

psPersistItem Class Reference

#include <messages.h>

List of all members.

Public Types

enum  Flags {
  NONE = 0, NOPICKUP = 1 << 0, COLLIDE = 1 << 1, TRIBEID = 1 << 2,
  ITEM_UID = 1 << 3
}

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psPersistItem (MsgEntry *me, NetBase::AccessPointers *accessPointers)
 psPersistItem (uint32_t clientnum, EID id, int type, const char *name, const char *factname, const char *matname, const char *sector, csVector3 pos, float xRot, float yRot, float zRot, uint32_t flags, csStringSet *msgstrings, uint32_t tribeid=0, uint32_t uid=0)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

EID eid
csString factname
uint32_t flags
csString matname
csString name
csVector3 pos
csString sector
uint32_t tribeID
uint32_t type
uint32_t uid
float xRot
float yRot
float zRot

Detailed Description

Definition at line 3449 of file messages.h.


Member Enumeration Documentation

Enumerator:
NONE 
NOPICKUP 
COLLIDE 
TRIBEID 
ITEM_UID 

Definition at line 3452 of file messages.h.


Constructor & Destructor Documentation

psPersistItem::psPersistItem ( uint32_t  clientnum,
EID  id,
int  type,
const char *  name,
const char *  factname,
const char *  matname,
const char *  sector,
csVector3  pos,
float  xRot,
float  yRot,
float  zRot,
uint32_t  flags,
csStringSet *  msgstrings,
uint32_t  tribeid = 0,
uint32_t  uid = 0 
)
psPersistItem::psPersistItem ( MsgEntry me,
NetBase::AccessPointers accessPointers 
)

Member Function Documentation

psPersistItem::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psPersistItem::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 3499 of file messages.h.

Definition at line 3491 of file messages.h.

Definition at line 3501 of file messages.h.

Definition at line 3492 of file messages.h.

Definition at line 3490 of file messages.h.

csVector3 psPersistItem::pos

Definition at line 3494 of file messages.h.

Definition at line 3493 of file messages.h.

Definition at line 3498 of file messages.h.

Definition at line 3500 of file messages.h.

Definition at line 3502 of file messages.h.

Definition at line 3495 of file messages.h.

Definition at line 3496 of file messages.h.

Definition at line 3497 of file messages.h.


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