Planeshift
|
Defines a Life Event message. More...
#include <charmessages.h>
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< LifeEventChoice > | choices |
size_t | runningSize |
uint32_t | toclient |
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.
psLifeEventMsg::psLifeEventMsg | ( | ) |
A request to the server for the life choice list!
psLifeEventMsg::psLifeEventMsg | ( | uint32_t | client | ) |
psLifeEventMsg::psLifeEventMsg | ( | MsgEntry * | me | ) |
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.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
csPDelArray<LifeEventChoice> psLifeEventMsg::choices |
Definition at line 338 of file charmessages.h.
size_t psLifeEventMsg::runningSize |
Definition at line 341 of file charmessages.h.
uint32_t psLifeEventMsg::toclient |
Definition at line 340 of file charmessages.h.