Planeshift
Public Member Functions | Public Attributes

AdminCmdDataModify Class Reference

Class for modifying command. More...

#include <adminmanager.h>

List of all members.

Public Member Functions

 AdminCmdDataModify ()
 Creates obj for specified command that modifies an item.
 AdminCmdDataModify (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 item modify.
virtual csString GetHelpMessage ()
 Returns a helpmessage that fits to the parser of the class.
virtual ~AdminCmdDataModify ()

Public Attributes

int amount
 amount
AdminCmdSubCommandParser attributeList
bool enabled
 enable or disable a setting
int interval
 interval value
int level
 level for a skill
int maxinterval
 maximum
int range
 range
float rot
 movement related data, rotation
csString skillName
 name of the skill picked
csString subCommand
 sub command envoked
float x
 movement related data, x coordinate
float y
 movement related data, y coordinate
float z
 movement related data, z coordinate

Detailed Description

Class for modifying command.

Definition at line 2096 of file adminmanager.h.


Constructor & Destructor Documentation

AdminCmdDataModify::AdminCmdDataModify ( ) [inline]

Creates obj for specified command that modifies an item.

Definition at line 2115 of file adminmanager.h.

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

Definition at line 2128 of file adminmanager.h.


Member Function Documentation

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

Creates an object containing the parsed data for item modify.

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

amount

Definition at line 2103 of file adminmanager.h.

Definition at line 2099 of file adminmanager.h.

enable or disable a setting

Definition at line 2111 of file adminmanager.h.

interval value

Definition at line 2101 of file adminmanager.h.

level for a skill

Definition at line 2110 of file adminmanager.h.

maximum

Definition at line 2102 of file adminmanager.h.

range

Definition at line 2104 of file adminmanager.h.

movement related data, rotation

Definition at line 2108 of file adminmanager.h.

name of the skill picked

Definition at line 2109 of file adminmanager.h.

sub command envoked

Definition at line 2100 of file adminmanager.h.

movement related data, x coordinate

Definition at line 2105 of file adminmanager.h.

movement related data, y coordinate

Definition at line 2106 of file adminmanager.h.

movement related data, z coordinate

Definition at line 2107 of file adminmanager.h.


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