2022-02-27 23:54:27 -05:00
|
|
|
#pragma once
|
|
|
|
#include "game/game.hpp"
|
|
|
|
|
|
|
|
namespace party
|
|
|
|
{
|
|
|
|
void reset_connect_state();
|
|
|
|
|
|
|
|
void connect(const game::netadr_s& target);
|
|
|
|
void start_map(const std::string& mapname);
|
|
|
|
|
2022-03-11 16:28:08 -05:00
|
|
|
void clear_sv_motd();
|
2022-03-15 19:59:03 -04:00
|
|
|
game::netadr_s get_state_host();
|
|
|
|
std::string get_state_challenge();
|
2022-02-27 23:54:27 -05:00
|
|
|
int server_client_count();
|
|
|
|
|
|
|
|
int get_client_num_by_name(const std::string& name);
|
|
|
|
|
|
|
|
int get_client_count();
|
|
|
|
int get_bot_count();
|
|
|
|
}
|