Planeshift
|
This class receives all network messages from the server which affect the GUI or are displayable by the GUI. More...
#include <guihandler.h>
Public Member Functions | |
psInventoryCache * | GetInventoryCache (void) |
GUIHandler () | |
const char * | HandleCommand (const char *) |
Interprets a received message and executes the command. More... | |
void | HandleMessage (MsgEntry *me) |
![]() | |
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 () |
Protected Member Functions | |
void | HandleInventory (MsgEntry *me) |
Additional Inherited Members | |
![]() | |
CmdHandler * | cmdsource |
ClientMsgHandler * | msgqueue |
iObjectRegistry * | objreg |
This class receives all network messages from the server which affect the GUI or are displayable by the GUI.
It unpacks these messages and publishes them to the correct widget subscriber names.
Definition at line 49 of file guihandler.h.
GUIHandler::GUIHandler | ( | ) |
|
inline |
Definition at line 57 of file guihandler.h.
|
inlinevirtual |
Interprets a received message and executes the command.
char * returned can be an error message to display.
Implements psCmdBase.
Definition at line 55 of file guihandler.h.
|
protected |