Planeshift
Public Member Functions | Public Attributes

psLifeEventMsg Class Reference

Defines a Life Event message. More...

#include <charmessages.h>

List of all members.

Public Member Functions

void AddEvent (LifeEventChoice *choice)
void ConstructMessage ()
 PSF_DECLARE_MSG_FACTORY ()
 psLifeEventMsg ()
 A request to the server for the life choice list!
 psLifeEventMsg (uint32_t client)
 psLifeEventMsg (MsgEntry *me)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Convert the message into human readable string.

Public Attributes

csPDelArray< LifeEventChoicechoices
size_t runningSize
uint32_t toclient

Detailed Description

Defines a Life Event message.

This message class is used to pack all the life event choices to send to the client.

Definition at line 313 of file charmessages.h.


Constructor & Destructor Documentation

psLifeEventMsg::psLifeEventMsg ( )

A request to the server for the life choice list!

psLifeEventMsg::psLifeEventMsg ( uint32_t  client)
psLifeEventMsg::psLifeEventMsg ( MsgEntry me)

Member Function Documentation

void psLifeEventMsg::AddEvent ( LifeEventChoice choice)
void psLifeEventMsg::ConstructMessage ( )
psLifeEventMsg::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psLifeEventMsg::ToString ( NetBase::AccessPointers accessPointers) [virtual]

Convert 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 338 of file charmessages.h.

Definition at line 341 of file charmessages.h.

Definition at line 340 of file charmessages.h.


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