Planeshift
Public Member Functions

psGroupCommands Class Reference

Manager class to help with handling of 'group' commands. More...

#include <cmdgroups.h>

List of all members.

Public Member Functions

virtual const char * HandleCommand (const char *cmd)
 Handles a command to send to the server.
virtual void HandleMessage (MsgEntry *msg)
 psGroupCommands (ClientMsgHandler *mh, CmdHandler *ch, iObjectRegistry *obj)
virtual ~psGroupCommands ()

Detailed Description

Manager class to help with handling of 'group' commands.

Definition at line 38 of file cmdgroups.h.


Constructor & Destructor Documentation

psGroupCommands::psGroupCommands ( ClientMsgHandler mh,
CmdHandler ch,
iObjectRegistry *  obj 
)
virtual psGroupCommands::~psGroupCommands ( ) [virtual]

Member Function Documentation

virtual const char* psGroupCommands::HandleCommand ( const char *  cmd) [virtual]

Handles a command to send to the server.

The following commands are supported as the command parameter:

  • /invite
  • /disband disband group (leader only)
  • /groupremove remove player from group (leader only)
  • /leavegroup name group level something (ranks)
  • /groupmembers see list of members (optional level #)
  • /confirmgroupjoin
Returns:
NULL

Implements psCmdBase.

virtual void psGroupCommands::HandleMessage ( MsgEntry msg) [virtual]

Implements psCmdBase.


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