|
Planeshift
|
Manager class for handling guild client commands. More...
#include <cmdguilds.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) |
| psGuildCommands (ClientMsgHandler *mh, CmdHandler *ch, iObjectRegistry *obj) | |
| virtual | ~psGuildCommands () |
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 () |
Additional Inherited Members | |
Protected Attributes inherited from psCmdBase | |
| CmdHandler * | cmdsource |
| ClientMsgHandler * | msgqueue |
| iObjectRegistry * | objreg |
Manager class for handling guild client commands.
Definition at line 37 of file cmdguilds.h.
| psGuildCommands::psGuildCommands | ( | 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.