Planeshift
Public Member Functions | Public Attributes

AdminCmdDataDebugTribe Class Reference

Class for changing tribe debug level. More...

#include <adminmanager.h>

List of all members.

Public Member Functions

 AdminCmdDataDebugTribe ()
 Creates obj for specified command that changes Tribe Debug level.
 AdminCmdDataDebugTribe (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 ~AdminCmdDataDebugTribe ()
 Destructor.

Public Attributes

int debugLevel
 The debug level to set for npc.

Detailed Description

Class for changing tribe debug level.

Definition at line 1077 of file adminmanager.h.


Constructor & Destructor Documentation

AdminCmdDataDebugTribe::AdminCmdDataDebugTribe ( ) [inline]

Creates obj for specified command that changes Tribe Debug level.

Definition at line 1084 of file adminmanager.h.

AdminCmdDataDebugTribe::AdminCmdDataDebugTribe ( 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 AdminCmdDataDebugTribe::~AdminCmdDataDebugTribe ( ) [inline, virtual]

Destructor.

Definition at line 1100 of file adminmanager.h.


Member Function Documentation

virtual AdminCmdData* AdminCmdDataDebugTribe::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 AdminCmdDataDebugTribe::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 1080 of file adminmanager.h.


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