Planeshift
|
Class for changing npc debug level. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataDebugNPC () | |
Creates obj for specified command that changes NPC Debug level. | |
AdminCmdDataDebugNPC (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) | |
Parses the given message to set debug level for 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 | ~AdminCmdDataDebugNPC () |
Public Attributes | |
int | debugLevel |
The debug level to set for npc. |
Class for changing npc debug level.
Definition at line 1036 of file adminmanager.h.
AdminCmdDataDebugNPC::AdminCmdDataDebugNPC | ( | ) | [inline] |
Creates obj for specified command that changes NPC Debug level.
Definition at line 1043 of file adminmanager.h.
AdminCmdDataDebugNPC::AdminCmdDataDebugNPC | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) |
Parses the given message to set debug level for 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 AdminCmdDataDebugNPC::~AdminCmdDataDebugNPC | ( | ) | [inline, virtual] |
Definition at line 1056 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataDebugNPC::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 AdminCmdDataDebugNPC::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataTarget.
The debug level to set for npc.
Definition at line 1039 of file adminmanager.h.