Planeshift
Public Member Functions | Public Attributes

psPetitionMessage Class Reference

Messages sent to user with petition information. More...

#include <messages.h>

List of all members.

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psPetitionMessage ()
 psPetitionMessage (uint32_t clientnum, csArray< psPetitionInfo > *petitionArray, const char *errMsg, bool succeed=true, int type=PETITION_LIST, bool gm=false)
 psPetitionMessage (MsgEntry *message)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

csString error
bool isGM
int msgType
csArray< psPetitionInfopetitions
bool success

Detailed Description

Messages sent to user with petition information.

Definition at line 1003 of file messages.h.


Constructor & Destructor Documentation

psPetitionMessage::psPetitionMessage ( ) [inline]

Definition at line 1012 of file messages.h.

psPetitionMessage::psPetitionMessage ( uint32_t  clientnum,
csArray< psPetitionInfo > *  petitionArray,
const char *  errMsg,
bool  succeed = true,
int  type = PETITION_LIST,
bool  gm = false 
)
psPetitionMessage::psPetitionMessage ( MsgEntry message)

Member Function Documentation

psPetitionMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psPetitionMessage::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 1008 of file messages.h.

Definition at line 1010 of file messages.h.

Definition at line 1009 of file messages.h.

Definition at line 1006 of file messages.h.

Definition at line 1007 of file messages.h.


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