Planeshift
Public Member Functions | Public Attributes

AdminCmdDataUpdateRespawn Class Reference

Class for player/npc respawn update. More...

#include <adminmanager.h>

List of all members.

Public Member Functions

 AdminCmdDataUpdateRespawn ()
 Creates obj for specified command that updates a respawn point.
 AdminCmdDataUpdateRespawn (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words)
 Creates obj for specified command that updates a respawn point.
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 ~AdminCmdDataUpdateRespawn ()

Public Attributes

csString place
 named place to respawn (currently 'here' or nothing)

Detailed Description

Class for player/npc respawn update.

Definition at line 827 of file adminmanager.h.


Constructor & Destructor Documentation

AdminCmdDataUpdateRespawn::AdminCmdDataUpdateRespawn ( ) [inline]

Creates obj for specified command that updates a respawn point.

Definition at line 834 of file adminmanager.h.

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

Creates obj for specified command that updates a respawn point.

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

Definition at line 847 of file adminmanager.h.


Member Function Documentation

virtual AdminCmdData* AdminCmdDataUpdateRespawn::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 AdminCmdDataUpdateRespawn::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

named place to respawn (currently 'here' or nothing)

Definition at line 830 of file adminmanager.h.


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