Planeshift
|
Class for commands that only need a target and a reason. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataTargetReason (csString command) | |
Creates obj for specified command that needs a reason. | |
AdminCmdDataTargetReason (csString command, AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) | |
Creates obj for specified command that needs a reason. | |
virtual AdminCmdData * | CreateCmdData (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) |
Parses the given message and stores its data. | |
virtual csString | GetHelpMessage () |
Retrieve help message for the command that fits to the data. | |
virtual | ~AdminCmdDataTargetReason () |
Public Attributes | |
csString | reason |
reason for this deletion command |
Class for commands that only need a target and a reason.
Definition at line 704 of file adminmanager.h.
AdminCmdDataTargetReason::AdminCmdDataTargetReason | ( | csString | command | ) | [inline] |
Creates obj for specified command that needs a reason.
command | name of the command (e.g. /ban) |
Definition at line 712 of file adminmanager.h.
AdminCmdDataTargetReason::AdminCmdDataTargetReason | ( | csString | command, |
AdminManager * | msgManager, | ||
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) |
Creates obj for specified command that needs a reason.
command | name of the command (e.g. /ban) |
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 AdminCmdDataTargetReason::~AdminCmdDataTargetReason | ( | ) | [inline, virtual] |
Definition at line 726 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataTargetReason::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
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 |
Reimplemented from AdminCmdDataTarget.
virtual csString AdminCmdDataTargetReason::GetHelpMessage | ( | ) | [virtual] |
Retrieve help message for the command that fits to the data.
Reimplemented from AdminCmdDataTarget.
csString AdminCmdDataTargetReason::reason |
reason for this deletion command
Definition at line 707 of file adminmanager.h.