Planeshift
Public Member Functions | Public Attributes

AdminCmdDataDeath Class Reference

Class for commands for instantly killing a user (player). More...

#include <adminmanager.h>

List of all members.

Public Member Functions

 AdminCmdDataDeath ()
 Creates obj for specified command that needs a requestor.
 AdminCmdDataDeath (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words)
 Creates obj for specified command that needs a requestor.
virtual AdminCmdDataCreateCmdData (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words)
 Parses the given message and stores its data.
virtual csString GetHelpMessage ()
 Retrieve help message for the command that fits to the data.
virtual ~AdminCmdDataDeath ()

Public Attributes

csString requestor
 gm requesting this deletion command

Detailed Description

Class for commands for instantly killing a user (player).

Definition at line 746 of file adminmanager.h.


Constructor & Destructor Documentation

AdminCmdDataDeath::AdminCmdDataDeath ( ) [inline]

Creates obj for specified command that needs a requestor.

Definition at line 753 of file adminmanager.h.

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

Creates obj for specified command that needs a requestor.

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

Definition at line 766 of file adminmanager.h.


Member Function Documentation

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

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

Reimplemented from AdminCmdDataTarget.

virtual csString AdminCmdDataDeath::GetHelpMessage ( ) [virtual]

Retrieve help message for the command that fits to the data.

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

Reimplemented from AdminCmdDataTarget.


Member Data Documentation

gm requesting this deletion command

Definition at line 749 of file adminmanager.h.


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