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. |
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.
virtual const char* iCmdSubscriber::HandleCommand | ( | const char * | cmd | ) | [pure virtual] |
Interprets a received message and executes the command.
char * returned can be an error message to display.
Implemented in psAdminCommands, psGroupCommands, psGuildCommands, psUserCommands, psUtilityCommands, pawsChatWindow, pawsGmGUIWindow, pawsLootWindow, pawsPetitionGMWindow, pawsPetitionWindow, pawsQuestRewardWindow, pawsQuestListWindow, psMainWidget, GUIHandler, psCamera, and psCmdBase.