Planeshift
|
Class for percepting a npc. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataPercept () | |
Creates obj for specified command that kills/reloads a npc. | |
AdminCmdDataPercept (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) | |
Parses the given message for percepting a npc. | |
virtual AdminCmdData * | CreateCmdData (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) |
Creates a command data object of the current class containing the parsed data. | |
virtual csString | GetHelpMessage () |
Returns a helpmessage that fits to the parser of the class. | |
virtual | ~AdminCmdDataPercept () |
Public Attributes | |
csString | perception |
the perception to fire. | |
csString | type |
the type data for the perception. |
Class for percepting a npc.
Definition at line 953 of file adminmanager.h.
AdminCmdDataPercept::AdminCmdDataPercept | ( | ) | [inline] |
Creates obj for specified command that kills/reloads a npc.
Definition at line 961 of file adminmanager.h.
AdminCmdDataPercept::AdminCmdDataPercept | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) |
Parses the given message for percepting a npc.
msgManager | message manager that handles this command |
me | The incoming message from the GM |
msg | psAdminCmdMessage containing the message |
client | client of the network communication |
words | command message to parse |
virtual AdminCmdDataPercept::~AdminCmdDataPercept | ( | ) | [inline, virtual] |
Definition at line 974 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataPercept::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
Creates a command data object of the current class containing the parsed data.
msgManager | message manager that handles this command |
me | The incoming message from the GM |
msg | psAdminCmdMessage containing the message |
client | client of the network communication |
words | command message to parse |
Reimplemented from AdminCmdDataTarget.
virtual csString AdminCmdDataPercept::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataTarget.
csString AdminCmdDataPercept::perception |
the perception to fire.
Definition at line 956 of file adminmanager.h.
csString AdminCmdDataPercept::type |
the type data for the perception.
Definition at line 957 of file adminmanager.h.