mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Send real port to server list
This commit is contained in:
parent
1702c34b64
commit
a9f81b729b
4 changed files with 12 additions and 4 deletions
|
@ -38,7 +38,7 @@ namespace ServerList
|
|||
std::vector<ServerListSpec> deSerializeJson(const std::string &liststring);
|
||||
const std::string serializeJson(const std::vector<ServerListSpec> &serverlist);
|
||||
#if USE_CURL
|
||||
void sendAnnounce(const std::string &action,
|
||||
void sendAnnounce(const std::string &action, const u16 port,
|
||||
const std::vector<std::string> &clients_names = std::vector<std::string>(),
|
||||
const double uptime = 0, const u32 game_time = 0,
|
||||
const float lag = 0, const std::string &gameid = "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue