|
Planeshift
|
#include <cmdbase.h>
Public Member Functions | |
| virtual const char * | HandleCommand (const char *cmd)=0 |
| Interprets a received message and executes the command. More... | |
| virtual void | HandleMessage (MsgEntry *msg, Client *) |
| Interprets a received message and executes the command. More... | |
| virtual void | HandleMessage (MsgEntry *msg)=0 |
| 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 () |
Protected Attributes | |
| CmdHandler * | cmdsource |
| ClientMsgHandler * | msgqueue |
| iObjectRegistry * | objreg |
| psCmdBase::psCmdBase | ( | ClientMsgHandler * | mh, |
| CmdHandler * | ch, | ||
| iObjectRegistry * | obj | ||
| ) |
|
pure virtual |
Interprets a received message and executes the command.
char * returned can be an error message to display.
Implements iCmdSubscriber.
Implemented in pawsChatWindow, psMainWidget, psCamera, pawsQuestListWindow, pawsPetitionGMWindow, pawsPetitionWindow, pawsGmGUIWindow, psGroupCommands, pawsLootWindow, psUserCommands, GUIHandler, psAdminCommands, psUtilityCommands, psGuildCommands, and pawsQuestRewardWindow.
Interprets a received message and executes the command.
Implements iNetSubscriber.
|
pure virtual |
| void psCmdBase::Report | ( | int | severity, |
| const char * | msgtype, | ||
| const char * | description, | ||
| ... | |||
| ) |
|
virtual |
Implements iNetSubscriber.
|
protected |
|
protected |