Planeshift
Public Member Functions | Public Attributes

AdminCmdDataDebugNPC Class Reference

Class for changing npc debug level. More...

#include <adminmanager.h>

List of all members.

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 AdminCmdDataCreateCmdData (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.

Detailed Description

Class for changing npc debug level.

Definition at line 1036 of file adminmanager.h.


Constructor & Destructor Documentation

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.

Parameters:
msgManagermessage manager that handles this command
meThe incoming message from the GM
msgpsAdminCmdMessage containing the message
clientclient of the network communication
wordscommand message to parse
virtual AdminCmdDataDebugNPC::~AdminCmdDataDebugNPC ( ) [inline, virtual]

Definition at line 1056 of file adminmanager.h.


Member Function Documentation

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.

Parameters:
msgManagermessage manager that handles this command
meThe incoming message from the GM
msgpsAdminCmdMessage containing the message
clientclient of the network communication
wordscommand message to parse
Returns:
AdminCmdData* pointer to object containing parsed data. When parsing failed the valid flag is set to false.

Reimplemented from AdminCmdDataTarget.

virtual csString AdminCmdDataDebugNPC::GetHelpMessage ( ) [virtual]

Returns a helpmessage that fits to the parser of the class.

Returns:
csString: a help message to send back to the client

Reimplemented from AdminCmdDataTarget.


Member Data Documentation

The debug level to set for npc.

Definition at line 1039 of file adminmanager.h.


The documentation for this class was generated from the following file: