summaryrefslogtreecommitdiff
path: root/src/serverlist.h
diff options
context:
space:
mode:
authorproller <proller@github.com>2013-10-18 01:32:49 +0400
committerproller <proller@github.com>2013-10-18 01:32:49 +0400
commita924409bd1c57fb96e67a1c6cea0b7331d11cb73 (patch)
treeb7d5f5d602127a0971ffe50f4911b3614361843f /src/serverlist.h
parente232f7311f62e600189f1397fdd29a65ae186b1f (diff)
downloadminetest-a924409bd1c57fb96e67a1c6cea0b7331d11cb73.tar.gz
minetest-a924409bd1c57fb96e67a1c6cea0b7331d11cb73.tar.bz2
minetest-a924409bd1c57fb96e67a1c6cea0b7331d11cb73.zip
Masterserver update
Diffstat (limited to 'src/serverlist.h')
-rw-r--r--src/serverlist.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/serverlist.h b/src/serverlist.h
index 365e86beb..77eb29b14 100644
--- a/src/serverlist.h
+++ b/src/serverlist.h
@@ -40,7 +40,9 @@ namespace ServerList
std::vector<ServerListSpec> deSerializeJson(std::string liststring);
std::string serializeJson(std::vector<ServerListSpec>);
#if USE_CURL
- void sendAnnounce(std::string action = "", u16 clients = 0, double uptime = 0, std::string gameid = "", std::vector<ModSpec> m_mods = std::vector<ModSpec>());
+ 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 = "",
+ std::vector<ModSpec> mods = std::vector<ModSpec>());
#endif
} //ServerList namespace