|
Planeshift
|
Class for sliding a player command. More...
#include <adminmanager.h>
Public Member Functions | |
| AdminCmdDataSlide () | |
| Creates obj for specified command that needs a reason. | |
| AdminCmdDataSlide (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 the parsed data for sliding. | |
| virtual csString | GetHelpMessage () |
| Returns a helpmessage that fits to the parser of the class. | |
| virtual | ~AdminCmdDataSlide () |
Public Attributes | |
| csString | direction |
| direction where the slide should done | |
| float | slideAmount |
| the distance to slide | |
Class for sliding a player command.
Sliding is some sort of moving the player around.
Definition at line 1476 of file adminmanager.h.
| AdminCmdDataSlide::AdminCmdDataSlide | ( | ) | [inline] |
Creates obj for specified command that needs a reason.
Definition at line 1484 of file adminmanager.h.
| AdminCmdDataSlide::AdminCmdDataSlide | ( | 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 AdminCmdDataSlide::~AdminCmdDataSlide | ( | ) | [inline, virtual] |
Definition at line 1497 of file adminmanager.h.
| virtual AdminCmdData* AdminCmdDataSlide::CreateCmdData | ( | AdminManager * | msgManager, |
| MsgEntry * | me, | ||
| psAdminCmdMessage & | msg, | ||
| Client * | client, | ||
| WordArray & | words | ||
| ) | [virtual] |
Creates an object the parsed data for sliding.
| 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 AdminCmdDataSlide::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataTarget.
| csString AdminCmdDataSlide::direction |
direction where the slide should done
Definition at line 1479 of file adminmanager.h.
the distance to slide
Definition at line 1480 of file adminmanager.h.
1.7.3