Planeshift
|
Class for commands creating items. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataInfo () | |
Creates obj for specified command that needs a reason. | |
AdminCmdDataInfo (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 of the current class containing parsed data. | |
virtual csString | GetHelpMessage () |
Returns a helpmessage that fits to the parser of the class. | |
virtual | ~AdminCmdDataInfo () |
Public Attributes | |
csString | subCmd |
Sub of commands. |
Class for commands creating items.
Definition at line 1203 of file adminmanager.h.
AdminCmdDataInfo::AdminCmdDataInfo | ( | ) | [inline] |
Creates obj for specified command that needs a reason.
Definition at line 1210 of file adminmanager.h.
AdminCmdDataInfo::AdminCmdDataInfo | ( | 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 AdminCmdDataInfo::~AdminCmdDataInfo | ( | ) | [inline, virtual] |
Definition at line 1223 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataInfo::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
Creates an object of the current class containing parsed 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 AdminCmdDataInfo::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataTarget.
csString AdminCmdDataInfo::subCmd |
Sub of commands.
Definition at line 1206 of file adminmanager.h.