22 lines
475 B
C++
Raw Normal View History

2022-09-24 01:55:46 +03:00
#pragma once
#include "game/game.hpp"
namespace party
{
2022-09-26 02:58:31 +03:00
void info_response_error(const std::string& error);
2022-09-24 01:55:46 +03:00
void reset_connect_state();
void connect(const game::netadr_s& target);
2022-09-26 02:58:31 +03:00
bool start_map(const std::string& mapname, bool dev = false);
2022-09-24 01:55:46 +03:00
void clear_sv_motd();
game::netadr_s get_state_host();
std::string get_state_challenge();
int server_client_count();
int get_client_num_by_name(const std::string& name);
int get_client_count();
int get_bot_count();
}