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. | |
void | HandleMessage (MsgEntry *me) |
Protected Member Functions | |
void | HandleInventory (MsgEntry *me) |
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 | ( | ) |
psInventoryCache* GUIHandler::GetInventoryCache | ( | void | ) | [inline] |
Definition at line 57 of file guihandler.h.
const char* GUIHandler::HandleCommand | ( | const char * | cmd | ) | [inline, virtual] |
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.
void GUIHandler::HandleInventory | ( | MsgEntry * | me | ) | [protected] |