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 (bool gm, const char *requestCmd, int petitionID=-1, const char *petDesc="") | |
psPetitionRequestMessage (MsgEntry *message) | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Converts 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 | |
csString | desc |
int | id |
bool | isGM |
csString | request |
![]() | |
int | filterNumber |
csRef< MsgEntry > | msg |
bool | valid |
Additional Inherited Members | |
![]() | |
static MsgHandler * | msghandler |
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 |
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.
int psPetitionRequestMessage::id |
Definition at line 1051 of file messages.h.
bool psPetitionRequestMessage::isGM |
Definition at line 1048 of file messages.h.
csString psPetitionRequestMessage::request |
Definition at line 1049 of file messages.h.