source: abuse/trunk/src/net/gclient.h

Last change on this file was 481, checked in by Sam Hocevar, 11 years ago

Fuck the history, I'm renaming all .hpp files to .h for my own sanity.

  • Property svn:keywords set to Id
File size: 629 bytes
Line 
1#ifndef __GCLIENT_HPP_
2#define __GCLIENT_HPP_
3
4#include <unistd.h>
5#include "sock.h"
6#include "ghandler.h"
7
8class game_client : public game_handler
9{
10  net_socket *client_sock;             // connection to server as a client
11  int wait_local_input;
12  int process_server_command();
13  net_address *server_data_port;
14  public :
15
16  game_client(net_socket *client_sock, net_address *server_addr);
17  int process_net();
18  int input_missing();
19  void add_engine_input();
20  virtual int start_reload();
21  virtual int end_reload(int disconnect=0);
22  virtual int kill_slackers();
23  virtual int quit();
24  virtual ~game_client();
25} ;
26
27
28#endif
Note: See TracBrowser for help on using the repository browser.