75 if (
type ==
"tmwathena")
78 if (
type ==
"eathena")
80 if (
type ==
"manaserv")
static ServerType parseType(const std::string &type)
bool operator!=(const ServerInfo &other) const
std::pair< int, std::string > VersionString
bool operator==(const ServerInfo &other) const
static ServerType defaultServerTypeForPort(uint16_t port)
static uint16_t defaultPortForServerType(ServerType type)
Warning: buffers and other variables are shared, so there can be only one connection active at a time...
std::deque< ServerInfo > ServerInfos