Planeshift
Public Member Functions | Public Attributes

AdminCmdDataHire Class Reference

Class for game event command. More...

#include <adminmanager.h>

List of all members.

Public Member Functions

 AdminCmdDataHire ()
 Creates obj for specified command that concern hire.
 AdminCmdDataHire (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 hire.
virtual csString GetHelpMessage ()
 Returns a helpmessage that fits to the parser of the class.
virtual ~AdminCmdDataHire ()

Public Attributes

gemNPChiredNPC
PID masterPID
 master PID storage
gemActorowner
csString subCmd
 subcommand storage
AdminCmdSubCommandParser subCommandList
 list of subcommands
csString typeName
 type name storage
csString typeNPCType
 type NPC type storage

Detailed Description

Class for game event command.

Definition at line 2580 of file adminmanager.h.


Constructor & Destructor Documentation

AdminCmdDataHire::AdminCmdDataHire ( ) [inline]

Creates obj for specified command that concern hire.

Definition at line 2594 of file adminmanager.h.

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

Definition at line 2607 of file adminmanager.h.


Member Function Documentation

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

Creates an object containing the parsed data for hire.

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

Definition at line 2590 of file adminmanager.h.

master PID storage

Definition at line 2587 of file adminmanager.h.

Definition at line 2589 of file adminmanager.h.

subcommand storage

Definition at line 2584 of file adminmanager.h.

list of subcommands

Definition at line 2583 of file adminmanager.h.

type name storage

Definition at line 2585 of file adminmanager.h.

type NPC type storage

Definition at line 2586 of file adminmanager.h.


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