Planeshift
|
Base class for creating treasure hunts. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataCrystal () | |
Creates obj for specified command that define a treasure hunt. | |
AdminCmdDataCrystal (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) | |
Parses the given message and stores its data. | |
virtual AdminCmdData * | CreateCmdData (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) |
Creates an object containing the parsed data for a treasure hunt. | |
virtual csString | GetHelpMessage () |
Returns a helpmessage that fits to the parser of the class. | |
virtual | ~AdminCmdDataCrystal () |
Public Attributes | |
int | amount |
amount of items | |
int | interval |
respawn interval ?? | |
csString | itemName |
name of the item to hunt | |
int | random |
?? | |
float | range |
spawn range ?? |
Base class for creating treasure hunts.
Definition at line 1376 of file adminmanager.h.
AdminCmdDataCrystal::AdminCmdDataCrystal | ( | ) | [inline] |
Creates obj for specified command that define a treasure hunt.
Definition at line 1387 of file adminmanager.h.
AdminCmdDataCrystal::AdminCmdDataCrystal | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) |
Parses the given message and stores its 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 |
virtual AdminCmdDataCrystal::~AdminCmdDataCrystal | ( | ) | [inline, virtual] |
Definition at line 1400 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataCrystal::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
Creates an object containing the parsed data for a treasure hunt.
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 AdminCmdDataCrystal::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataTarget.
amount of items
Definition at line 1381 of file adminmanager.h.
respawn interval ??
Definition at line 1379 of file adminmanager.h.
csString AdminCmdDataCrystal::itemName |
name of the item to hunt
Definition at line 1383 of file adminmanager.h.
??
Definition at line 1380 of file adminmanager.h.
spawn range ??
Definition at line 1382 of file adminmanager.h.