mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Masterserver update
This commit is contained in:
parent
e232f7311f
commit
a924409bd1
8 changed files with 126 additions and 65 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue