This repository has been archived on 2026-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Tortuga/server/client.hpp
T
2013-05-04 14:00:30 +10:00

22 lines
259 B
C++

#ifndef CLIENT_HPP_
#define CLIENT_HPP_
#include "SDL_net/SDL_net.h"
class Client {
public:
Client(int id, TCPsocket);
int GetID() const {
return id;
}
TCPsocket GetSocket() const {
return socket;
}
private:
int id;
TCPsocket socket;
};
#endif