Planeshift
|
This interface must be implemented by objects that want to receive command line strings messages. More...
#include <subscriber.h>
Public Member Functions | |
virtual const char * | HandleCommand (const char *cmd)=0 |
Interprets a received message and executes the command. More... | |
This interface must be implemented by objects that want to receive command line strings messages.
Objects must call a provider's Subscribe function to sign up for the "/commands" they want.
Definition at line 52 of file subscriber.h.
|
pure virtual |
Interprets a received message and executes the command.
char * returned can be an error message to display.
Implemented in pawsChatWindow, psMainWidget, psCamera, pawsQuestListWindow, pawsPetitionGMWindow, pawsPetitionWindow, pawsGmGUIWindow, psGroupCommands, pawsLootWindow, psUserCommands, psCmdBase, GUIHandler, psAdminCommands, psUtilityCommands, psGuildCommands, and pawsQuestRewardWindow.