Planeshift
Public Member Functions | Public Attributes

AdminCmdDataDisableQuest Class Reference

Class for disabling/enabling a quest. More...

#include <adminmanager.h>

List of all members.

Public Member Functions

 AdminCmdDataDisableQuest ()
 Creates obj for specified command for quest dis-/en-abling.
 AdminCmdDataDisableQuest (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words)
 Parses the given message and stores its data.
virtual AdminCmdDataCreateCmdData (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words)
 Creates an object the parsed data for quest dis-/en-abling.
virtual csString GetHelpMessage ()
 Returns a helpmessage that fits to the parser of the class.
virtual ~AdminCmdDataDisableQuest ()

Public Attributes

csString questName
 quest to disable
bool saveToDb
 whether to save this to the db or not

Detailed Description

Class for disabling/enabling a quest.

Definition at line 2924 of file adminmanager.h.


Constructor & Destructor Documentation

AdminCmdDataDisableQuest::AdminCmdDataDisableQuest ( ) [inline]

Creates obj for specified command for quest dis-/en-abling.

Definition at line 2932 of file adminmanager.h.

AdminCmdDataDisableQuest::AdminCmdDataDisableQuest ( AdminManager msgManager,
MsgEntry me,
psAdminCmdMessage msg,
Client client,
WordArray words 
)

Parses the given message and stores its 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
virtual AdminCmdDataDisableQuest::~AdminCmdDataDisableQuest ( ) [inline, virtual]

Definition at line 2945 of file adminmanager.h.


Member Function Documentation

virtual AdminCmdData* AdminCmdDataDisableQuest::CreateCmdData ( AdminManager msgManager,
MsgEntry me,
psAdminCmdMessage msg,
Client client,
WordArray words 
) [virtual]

Creates an object the parsed data for quest dis-/en-abling.

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 AdminCmdData.

virtual csString AdminCmdDataDisableQuest::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 AdminCmdData.


Member Data Documentation

quest to disable

Definition at line 2927 of file adminmanager.h.

whether to save this to the db or not

Definition at line 2928 of file adminmanager.h.


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