mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Send long announce as POST, show OS in useragent
Add lag reporting to masterserver (average dtime) StyledWriter -> FastWriter in masterserver announce
This commit is contained in:
parent
3e728e722a
commit
c62bab010f
9 changed files with 45 additions and 24 deletions
|
@ -41,7 +41,7 @@ namespace ServerList
|
|||
std::string serializeJson(std::vector<ServerListSpec>);
|
||||
#if USE_CURL
|
||||
void sendAnnounce(std::string action = "", const std::vector<std::string> & clients_names = std::vector<std::string>(),
|
||||
double uptime = 0, u32 game_time = 0,std::string gameid = "",
|
||||
double uptime = 0, u32 game_time = 0, float lag = 0, std::string gameid = "",
|
||||
std::vector<ModSpec> mods = std::vector<ModSpec>());
|
||||
#endif
|
||||
} //ServerList namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue