|
Planeshift
|
Class for impersonation command. More...
#include <adminmanager.h>
Public Member Functions | |
| AdminCmdDataImpersonate () | |
| Creates obj for specified command that impersonates someone. | |
| AdminCmdDataImpersonate (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 impersonate. | |
| virtual csString | GetHelpMessage () |
| Returns a helpmessage that fits to the parser of the class. | |
| virtual | ~AdminCmdDataImpersonate () |
Public Attributes | |
| csString | commandMod |
| whether say,shout,worldshout should be used | |
| int | duration |
| The duration of the anim if any (0 default one run) | |
| csString | text |
| text to send impersonated | |
Class for impersonation command.
Basically impersonation is for sending text in the name of someone else
Definition at line 1689 of file adminmanager.h.
| AdminCmdDataImpersonate::AdminCmdDataImpersonate | ( | ) | [inline] |
Creates obj for specified command that impersonates someone.
Definition at line 1698 of file adminmanager.h.
| AdminCmdDataImpersonate::AdminCmdDataImpersonate | ( | 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 AdminCmdDataImpersonate::~AdminCmdDataImpersonate | ( | ) | [inline, virtual] |
Definition at line 1711 of file adminmanager.h.
| virtual AdminCmdData* AdminCmdDataImpersonate::CreateCmdData | ( | AdminManager * | msgManager, |
| MsgEntry * | me, | ||
| psAdminCmdMessage & | msg, | ||
| Client * | client, | ||
| WordArray & | words | ||
| ) | [virtual] |
Creates an object containing the parsed data for impersonate.
| 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 AdminCmdDataImpersonate::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataTarget.
| csString AdminCmdDataImpersonate::commandMod |
whether say,shout,worldshout should be used
Definition at line 1692 of file adminmanager.h.
The duration of the anim if any (0 default one run)
Definition at line 1694 of file adminmanager.h.
| csString AdminCmdDataImpersonate::text |
text to send impersonated
Definition at line 1693 of file adminmanager.h.
1.7.3