h1-mod/src/client/component/party.hpp
m f8125af152 discord rich presence joining
TODO:
- add a "session ID" randomly generated string
- improve the Joining game on DW initalized > main thread?
- join requests with avatars in game (ui scripting)
2022-03-15 18:59:03 -05:00

20 lines
403 B
C++

#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);
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();
}