Planeshift
Public Member Functions

psPersistAllEntities Class Reference

#include <messages.h>

List of all members.

Public Member Functions

bool AddEntityMessage (MsgEntry *newEnt)
 Appends the new entity message to the current pending message.
MsgEntryGetEntityMessage ()
 Creates a new entity persist message from the next slot in the inbound buffer.
 PSF_DECLARE_MSG_FACTORY ()
 psPersistAllEntities (MsgEntry *me)
 psPersistAllEntities (uint32_t client)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Detailed Description

Definition at line 3313 of file messages.h.


Constructor & Destructor Documentation

psPersistAllEntities::psPersistAllEntities ( uint32_t  client) [inline]

Definition at line 3316 of file messages.h.

psPersistAllEntities::psPersistAllEntities ( MsgEntry me)

Member Function Documentation

bool psPersistAllEntities::AddEntityMessage ( MsgEntry newEnt)

Appends the new entity message to the current pending message.

Parameters:
newEntPointer to psPersistActor message to append.
Returns:
Returns true if adding was successful, false if the current msg is full and it fails.
MsgEntry* psPersistAllEntities::GetEntityMessage ( )

Creates a new entity persist message from the next slot in the inbound buffer.

Returns:
Returns a psPersistActor MsgEntry structure if one is still in the message, or NULL if this message is complete.
psPersistAllEntities::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psPersistAllEntities::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.


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