|
Planeshift
|
Class to handle general player commands. More...
#include <cmdutil.h>
Public Member Functions | |
| virtual const char * | HandleCommand (const char *cmd) |
| Interprets a received message and executes the command. More... | |
| virtual void | HandleMessage (MsgEntry *msg) |
| psUtilityCommands (ClientMsgHandler *mh, CmdHandler *ch, iObjectRegistry *obj) | |
| csString | SaveCamera () |
| virtual | ~psUtilityCommands () |
Public Member Functions inherited from psCmdBase | |
| virtual void | HandleMessage (MsgEntry *msg, Client *) |
| Interprets a received message and executes the command. More... | |
| psCmdBase (ClientMsgHandler *mh, CmdHandler *ch, iObjectRegistry *obj) | |
| void | Report (int severity, const char *msgtype, const char *description,...) |
| virtual bool | Setup (ClientMsgHandler *mh, CmdHandler *ch) |
| virtual bool | Verify (MsgEntry *, unsigned int, Client *&) |
| virtual | ~psCmdBase () |
Static Public Member Functions | |
| static void | HandleConfirmButton (bool answeredYes, void *thisptr) |
| static void | HandleQuit (bool answeredYes, void *thisPtr) |
| Handles the quit dialog box confirmation on /quit. More... | |
Protected Attributes | |
| csString | nocommands |
| csString | text |
| csString | yescommands |
Protected Attributes inherited from psCmdBase | |
| CmdHandler * | cmdsource |
| ClientMsgHandler * | msgqueue |
| iObjectRegistry * | objreg |
| psUtilityCommands::psUtilityCommands | ( | ClientMsgHandler * | mh, |
| CmdHandler * | ch, | ||
| iObjectRegistry * | obj | ||
| ) |
|
virtual |
|
virtual |
Interprets a received message and executes the command.
char * returned can be an error message to display.
Implements psCmdBase.
|
static |
|
static |
Handles the quit dialog box confirmation on /quit.
| csString psUtilityCommands::SaveCamera | ( | ) |