Planeshift
Public Member Functions | Public Attributes

AdminCmdDataBadText Class Reference

Class for searching for bad npc text. More...

#include <adminmanager.h>

List of all members.

Public Member Functions

 AdminCmdDataBadText ()
 Creates obj for specified command examine npc dialogs.
 AdminCmdDataBadText (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 containing the parsed data for npc texts.
virtual csString GetHelpMessage ()
 Returns a helpmessage that fits to the parser of the class.
virtual ~AdminCmdDataBadText ()

Public Attributes

int first
 first textline to fetch from npc
int last
 last textline to fetch

Detailed Description

Class for searching for bad npc text.

Definition at line 2628 of file adminmanager.h.


Constructor & Destructor Documentation

AdminCmdDataBadText::AdminCmdDataBadText ( ) [inline]

Creates obj for specified command examine npc dialogs.

Definition at line 2636 of file adminmanager.h.

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

Definition at line 2649 of file adminmanager.h.


Member Function Documentation

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

Creates an object containing the parsed data for npc texts.

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 AdminCmdDataBadText::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

first textline to fetch from npc

Definition at line 2631 of file adminmanager.h.

last textline to fetch

Definition at line 2632 of file adminmanager.h.


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