Planeshift
cmdgroups.h
Go to the documentation of this file.
1
/*
2
* cmdgroups.h by Anders Reggestad <andersr@pvv.org>
3
*
4
* Copyright (C) 2001 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5
*
6
*
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation (version 2 of the License)
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
*
18
*/
19
20
#ifndef __CMDGROUPS_H__
21
#define __CMDGROUPS_H__
22
//=============================================================================
23
// Crystal Space Includes
24
//=============================================================================
25
26
//=============================================================================
27
// Project Includes
28
//=============================================================================
29
#include "
net/cmdbase.h
"
30
31
//=============================================================================
32
// Local Includes
33
//=============================================================================
34
35
38
class
psGroupCommands
:
public
psCmdBase
39
{
40
public
:
41
psGroupCommands
(
ClientMsgHandler
* mh,
42
CmdHandler
* ch,
43
iObjectRegistry* obj);
44
virtual
~psGroupCommands
();
45
59
virtual
const
char
*
HandleCommand
(
const
char
*cmd);
60
61
virtual
void
HandleMessage
(
MsgEntry
*msg);
62
};
63
64
#endif
CmdHandler
Definition:
cmdhandler.h:54
MsgEntry
The structure of 1 queue entry (pointer to a message)
Definition:
message.h:143
ClientMsgHandler
Handles messages to be sent out, connects to server and send those.
Definition:
clientmsghandler.h:38
cmdbase.h
psGroupCommands
Manager class to help with handling of 'group' commands.
Definition:
cmdgroups.h:38
psGroupCommands::psGroupCommands
psGroupCommands(ClientMsgHandler *mh, CmdHandler *ch, iObjectRegistry *obj)
psGroupCommands::HandleCommand
virtual const char * HandleCommand(const char *cmd)
Handles a command to send to the server.
psGroupCommands::HandleMessage
virtual void HandleMessage(MsgEntry *msg)
psGroupCommands::~psGroupCommands
virtual ~psGroupCommands()
psCmdBase
Definition:
cmdbase.h:42
client
cmdgroups.h
Generated on Sat Jun 19 2021 05:00:22 for Planeshift by
1.8.11