Planeshift
|
Messages sent by the user to the server with requests for petition information. More...
#include <messages.h>
Public Member Functions | |
PSF_DECLARE_MSG_FACTORY () | |
psPetitionRequestMessage (MsgEntry *message) | |
psPetitionRequestMessage (bool gm, const char *requestCmd, int petitionID=-1, const char *petDesc="") | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Converts the message into human readable string. | |
Public Attributes | |
csString | desc |
int | id |
bool | isGM |
csString | request |
Messages sent by the user to the server with requests for petition information.
This class was added in case we need to add more petition requests to the server, currently the recognized requests are:
Definition at line 1045 of file messages.h.
psPetitionRequestMessage::psPetitionRequestMessage | ( | bool | gm, |
const char * | requestCmd, | ||
int | petitionID = -1 , |
||
const char * | petDesc = "" |
||
) |
psPetitionRequestMessage::psPetitionRequestMessage | ( | MsgEntry * | message | ) |
psPetitionRequestMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
virtual csString psPetitionRequestMessage::ToString | ( | NetBase::AccessPointers * | accessPointers | ) | [virtual] |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
csString psPetitionRequestMessage::desc |
Definition at line 1050 of file messages.h.
Definition at line 1051 of file messages.h.
Definition at line 1048 of file messages.h.
csString psPetitionRequestMessage::request |
Definition at line 1049 of file messages.h.