Planeshift
Public Member Functions

iCmdSubscriber Struct Reference

This interface must be implemented by objects that want to receive command line strings messages. More...

#include <subscriber.h>

List of all members.

Public Member Functions

virtual const char * HandleCommand (const char *cmd)=0
 Interprets a received message and executes the command.

Detailed Description

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.


Member Function Documentation

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.


The documentation for this struct was generated from the following file: