Planeshift
|
Class for petitions. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataPetition () | |
Creates obj for specified command that creates petitions. | |
AdminCmdDataPetition (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) | |
Parses the given message and stores its data. | |
virtual AdminCmdData * | CreateCmdData (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) |
Creates an object containing the parsed data of a petition. | |
virtual csString | GetHelpMessage () |
Returns a helpmessage that fits to the parser of the class. | |
virtual | ~AdminCmdDataPetition () |
Public Attributes | |
csString | petition |
text of the petition |
Class for petitions.
Definition at line 1646 of file adminmanager.h.
AdminCmdDataPetition::AdminCmdDataPetition | ( | ) | [inline] |
Creates obj for specified command that creates petitions.
Definition at line 1653 of file adminmanager.h.
AdminCmdDataPetition::AdminCmdDataPetition | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) |
Parses the given message and stores its data.
msgManager | message manager that handles this command |
me | The incoming message from the GM |
msg | psAdminCmdMessage containing the message |
client | client of the network communication |
words | command message to parse |
virtual AdminCmdDataPetition::~AdminCmdDataPetition | ( | ) | [inline, virtual] |
Definition at line 1666 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataPetition::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
Creates an object containing the parsed data of a petition.
msgManager | message manager that handles this command |
msg | psAdminCmdMessage containing the message |
me | The incoming message from the GM |
client | client of the network communication |
words | command message to parse |
Reimplemented from AdminCmdData.
virtual csString AdminCmdDataPetition::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdData.
csString AdminCmdDataPetition::petition |
text of the petition
Definition at line 1649 of file adminmanager.h.