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! More... | |
psLifeEventMsg (uint32_t client) | |
psLifeEventMsg (MsgEntry *me) | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Convert the message into human readable string. More... | |
![]() | |
void | FireEvent () |
Publishes the message to the local program. More... | |
virtual csString | GetMessageTypeName () const =0 |
Gets the name of the message type. More... | |
void | Multicast (csArray< PublishDestination > &multi, uint32_t except, float range) |
Multicasts the message to all current connections. More... | |
psMessageCracker () | |
void | SendMessage () |
Sends the message to the client/server. More... | |
virtual | ~psMessageCracker () |
Public Attributes | |
csPDelArray< LifeEventChoice > | choices |
size_t | runningSize |
uint32_t | toclient |
![]() | |
int | filterNumber |
csRef< MsgEntry > | msg |
bool | valid |
Additional Inherited Members | |
![]() | |
static MsgHandler * | msghandler |
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 |
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.