Planeshift
|
Class for changing npc types. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataChangeNPCType () | |
Creates obj for specified command that changes npctype of a npc. | |
AdminCmdDataChangeNPCType (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) | |
Parses the given message to change type of a npc. | |
virtual AdminCmdData * | CreateCmdData (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) |
Creates a command data object of the current class containing the parsed data. | |
virtual csString | GetHelpMessage () |
Returns a helpmessage that fits to the parser of the class. | |
virtual | ~AdminCmdDataChangeNPCType () |
Public Attributes | |
csString | npcType |
The type of npc which will be assigned. |
Class for changing npc types.
Definition at line 995 of file adminmanager.h.
AdminCmdDataChangeNPCType::AdminCmdDataChangeNPCType | ( | ) | [inline] |
Creates obj for specified command that changes npctype of a npc.
Definition at line 1002 of file adminmanager.h.
AdminCmdDataChangeNPCType::AdminCmdDataChangeNPCType | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) |
Parses the given message to change type of a npc.
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 AdminCmdDataChangeNPCType::~AdminCmdDataChangeNPCType | ( | ) | [inline, virtual] |
Definition at line 1015 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataChangeNPCType::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
Creates a command data object of the current class containing the 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 AdminCmdDataChangeNPCType::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataTarget.
csString AdminCmdDataChangeNPCType::npcType |
The type of npc which will be assigned.
Definition at line 998 of file adminmanager.h.