mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
23 lines
424 B
C++
23 lines
424 B
C++
|
//
|
||
|
// Created by koncord on 07.01.17.
|
||
|
//
|
||
|
|
||
|
#ifndef NEWLAUNCHER_PING_HPP
|
||
|
#define NEWLAUNCHER_PING_HPP
|
||
|
|
||
|
#include <vector>
|
||
|
#include <string>
|
||
|
|
||
|
|
||
|
unsigned int PingRakNetServer(const char *addr, unsigned short port);
|
||
|
|
||
|
struct ServerExtendedData
|
||
|
{
|
||
|
std::vector<std::string> players;
|
||
|
std::vector<std::string> plugins;
|
||
|
};
|
||
|
|
||
|
ServerExtendedData getExtendedData(const char *addr, unsigned short port);
|
||
|
|
||
|
#endif //NEWLAUNCHER_PING_HPP
|