Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

client.h

Go to the documentation of this file.
00001 #ifndef CLIENT_H
00002 #define CLIENT_H
00003 #include <plib/netMessage.h>
00004 
00005 class GameClient : public netMessageChannel {
00006   public:
00007     GameClient();
00008     ~GameClient();
00009     
00010     void set_login_data(char* na, char* pa);
00011     void connect_to(char* server, int port = SERVER_LISTEN_PORT);
00012     bool disconnect();
00013     
00014     void handleMessage(const netMessage &msg);
00015   private:
00016     char* login_name;
00017     char* login_pass;
00018     char* server_name;
00019     int server_port;
00020     char con_state;
00021     int myID;
00022     int serverID;
00023         
00024 };
00025 
00026 #endif

Generated on Sat Jul 12 04:29:20 2003 for glPirates by doxygen 1.3.2