Planeshift
|
Class for morph command. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataMorph () | |
Creates obj for specified command that needs a reason. | |
AdminCmdDataMorph (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 morphing. | |
virtual csString | GetHelpMessage () |
Returns a helpmessage that fits to the parser of the class. | |
virtual | ~AdminCmdDataMorph () |
Public Attributes | |
csString | genderName |
name of the gender to morph to | |
csString | raceName |
name of the race to morph to | |
csString | scale |
optional scale | |
csString | subCommand |
subcommand (if any) |
Class for morph command.
Definition at line 2149 of file adminmanager.h.
AdminCmdDataMorph::AdminCmdDataMorph | ( | ) | [inline] |
Creates obj for specified command that needs a reason.
Definition at line 2159 of file adminmanager.h.
AdminCmdDataMorph::AdminCmdDataMorph | ( | 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 AdminCmdDataMorph::~AdminCmdDataMorph | ( | ) | [inline, virtual] |
Definition at line 2172 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataMorph::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
Creates an object containing the parsed data for morphing.
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 AdminCmdDataMorph::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataTarget.
csString AdminCmdDataMorph::genderName |
name of the gender to morph to
Definition at line 2154 of file adminmanager.h.
csString AdminCmdDataMorph::raceName |
name of the race to morph to
Definition at line 2153 of file adminmanager.h.
csString AdminCmdDataMorph::scale |
optional scale
Definition at line 2155 of file adminmanager.h.
csString AdminCmdDataMorph::subCommand |
subcommand (if any)
Definition at line 2152 of file adminmanager.h.