Planeshift
|
Class for name changing of a player. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataChangeName () | |
Creates obj for specified command that changes a players name. | |
AdminCmdDataChangeName (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 a name change. | |
virtual csString | GetHelpMessage () |
Returns a helpmessage that fits to the parser of the class. | |
virtual | ~AdminCmdDataChangeName () |
Public Attributes | |
csString | newLastName |
new Lastname | |
csString | newName |
new Firstname | |
bool | uniqueFirstName |
whether the first name should be unique | |
bool | uniqueName |
whether the name should be unique |
Class for name changing of a player.
Definition at line 1518 of file adminmanager.h.
AdminCmdDataChangeName::AdminCmdDataChangeName | ( | ) | [inline] |
Creates obj for specified command that changes a players name.
Definition at line 1528 of file adminmanager.h.
AdminCmdDataChangeName::AdminCmdDataChangeName | ( | 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 AdminCmdDataChangeName::~AdminCmdDataChangeName | ( | ) | [inline, virtual] |
Definition at line 1541 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataChangeName::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
Creates an object containing the parsed data for a name change.
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 AdminCmdDataChangeName::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataTarget.
csString AdminCmdDataChangeName::newLastName |
new Lastname
Definition at line 1524 of file adminmanager.h.
csString AdminCmdDataChangeName::newName |
new Firstname
Definition at line 1523 of file adminmanager.h.
whether the first name should be unique
Definition at line 1522 of file adminmanager.h.
whether the name should be unique
Definition at line 1521 of file adminmanager.h.