Planeshift
Public Member Functions | Public Attributes

psPetitionRequestMessage Class Reference

Messages sent by the user to the server with requests for petition information. More...

#include <messages.h>

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

psPetitionRequestMessage::psPetitionRequestMessage ( bool  gm,
const char *  requestCmd,
int  petitionID = -1,
const char *  petDesc = "" 
)
psPetitionRequestMessage::psPetitionRequestMessage ( MsgEntry message)

Member Function Documentation

psPetitionRequestMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psPetitionRequestMessage::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.


Member Data Documentation

Definition at line 1050 of file messages.h.

Definition at line 1051 of file messages.h.

Definition at line 1048 of file messages.h.

Definition at line 1049 of file messages.h.


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