fix build
This commit is contained in:
parent
56895bd234
commit
f8fc0e5dba
@ -279,6 +279,11 @@ namespace party
|
||||
return -1;
|
||||
}
|
||||
|
||||
void reset_server_connection_state()
|
||||
{
|
||||
server_connection_state = {};
|
||||
}
|
||||
|
||||
int get_client_count()
|
||||
{
|
||||
auto count = 0;
|
||||
|
@ -10,14 +10,27 @@ namespace party
|
||||
bool hostDefined;
|
||||
std::string motd;
|
||||
int max_clients;
|
||||
std::string base_url; // yk, for when we need it ;)
|
||||
};
|
||||
|
||||
struct discord_information
|
||||
{
|
||||
std::string image;
|
||||
std::string image_text;
|
||||
};
|
||||
|
||||
//void user_download_response(bool response);
|
||||
|
||||
void info_response_error(const std::string& error);
|
||||
|
||||
void reset_server_connection_state();
|
||||
|
||||
void connect(const game::netadr_s& target);
|
||||
void start_map(const std::string& mapname, bool dev = false);
|
||||
|
||||
//void clear_sv_motd();
|
||||
connection_state get_server_connection_state();
|
||||
//std::optional<discord_information> get_server_discord_info();
|
||||
|
||||
int get_client_num_by_name(const std::string& name);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user