|
Planeshift
|
Class for killing and reloading a npc. More...
#include <adminmanager.h>
Public Member Functions | |
| AdminCmdDataKillNPC () | |
| Creates obj for specified command that kills/reloads a npc. | |
| AdminCmdDataKillNPC (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) | |
| Parses the given message for killing/reloadin 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 | ~AdminCmdDataKillNPC () |
Public Attributes | |
| float | damage |
| If <> 0 than only do this damage. | |
| bool | reload |
| whether NPC should be reloaded after the kill or not | |
Class for killing and reloading a npc.
Definition at line 911 of file adminmanager.h.
| AdminCmdDataKillNPC::AdminCmdDataKillNPC | ( | ) | [inline] |
Creates obj for specified command that kills/reloads a npc.
Definition at line 919 of file adminmanager.h.
| AdminCmdDataKillNPC::AdminCmdDataKillNPC | ( | AdminManager * | msgManager, |
| MsgEntry * | me, | ||
| psAdminCmdMessage & | msg, | ||
| Client * | client, | ||
| WordArray & | words | ||
| ) |
Parses the given message for killing/reloadin 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 AdminCmdDataKillNPC::~AdminCmdDataKillNPC | ( | ) | [inline, virtual] |
Definition at line 932 of file adminmanager.h.
| virtual AdminCmdData* AdminCmdDataKillNPC::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 AdminCmdDataKillNPC::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataTarget.
If <> 0 than only do this damage.
Definition at line 915 of file adminmanager.h.
whether NPC should be reloaded after the kill or not
Definition at line 914 of file adminmanager.h.
1.7.3