2022-02-27 20:54:27 -08:00
|
|
|
#pragma once
|
|
|
|
#include "game/game.hpp"
|
|
|
|
|
|
|
|
namespace party
|
|
|
|
{
|
2022-12-22 08:22:52 -06:00
|
|
|
std::string get_www_url();
|
|
|
|
void user_download_response(bool response);
|
|
|
|
|
2022-09-11 08:07:19 -05:00
|
|
|
void menu_error(const std::string& error);
|
|
|
|
|
2022-02-27 20:54:27 -08:00
|
|
|
void reset_connect_state();
|
|
|
|
|
|
|
|
void connect(const game::netadr_s& target);
|
2022-08-16 15:23:36 -07:00
|
|
|
void start_map(const std::string& mapname, bool dev = false);
|
2022-02-27 20:54:27 -08:00
|
|
|
|
2022-03-11 22:28:08 +01:00
|
|
|
void clear_sv_motd();
|
2022-03-15 18:59:03 -05:00
|
|
|
game::netadr_s get_state_host();
|
2022-02-27 20:54:27 -08:00
|
|
|
int server_client_count();
|
|
|
|
|
|
|
|
int get_client_num_by_name(const std::string& name);
|
|
|
|
|
|
|
|
int get_client_count();
|
|
|
|
int get_bot_count();
|
|
|
|
}
|