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/server.hpp
T
2013-05-10 19:57:53 +10:00

29 lines
387 B
C++

#ifndef SERVER_HPP_
#define SERVER_HPP_
#include "config_utility.hpp"
#include "network.hpp"
#include <vector>
class Server {
public:
Server();
~Server();
void Init();
void Proc();
void Quit();
void HandleInput();
void UpdateWorld();
void HandleOutput();
private:
bool running;
ConfigUtility config;
TCPServerSocket servSock;
std::vector<TCPSocket*> sockVec;
};
#endif