source: abuse/tags/pd/abuse/src/net/unix/gclient.hpp @ 49

Last change on this file since 49 was 49, checked in by Sam Hocevar, 11 years ago
  • Imported original public domain release, for future reference.
File size: 633 bytes
Line 
1#ifndef __GCLIENT_HPP_
2#define __GCLIENT_HPP_
3
4#include <unistd.h>
5#include "sock.hpp"
6#include "ghandler.hpp"
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.