Planeshift
|
Class for transfering items. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataItemTarget (csString command) | |
Creates obj for specified command that transfers items. | |
AdminCmdDataItemTarget (csString command, 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 for item transfer. | |
virtual csString | GetHelpMessage () |
Returns a helpmessage that fits to the parser of the class. | |
virtual | ~AdminCmdDataItemTarget () |
Public Attributes | |
csString | itemName |
name of the item to transfer | |
int | stackCount |
amount to transfer |
Class for transfering items.
Definition at line 1816 of file adminmanager.h.
AdminCmdDataItemTarget::AdminCmdDataItemTarget | ( | csString | command | ) | [inline] |
Creates obj for specified command that transfers items.
command | name of the command (e.g. /ban) |
Definition at line 1825 of file adminmanager.h.
AdminCmdDataItemTarget::AdminCmdDataItemTarget | ( | csString | command, |
AdminManager * | msgManager, | ||
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) |
Parses the given message and stores its data.
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 AdminCmdDataItemTarget::~AdminCmdDataItemTarget | ( | ) | [inline, virtual] |
Definition at line 1839 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataItemTarget::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
Creates an object containing the parsed data for item transfer.
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.
Reimplemented in AdminCmdDataCheckItem.
virtual csString AdminCmdDataItemTarget::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataTarget.
Reimplemented in AdminCmdDataCheckItem.
csString AdminCmdDataItemTarget::itemName |
name of the item to transfer
Definition at line 1819 of file adminmanager.h.
amount to transfer
Definition at line 1820 of file adminmanager.h.