t7x/src/client/component/party.hpp

13 lines
368 B
C++
Raw Normal View History

2022-10-29 14:21:13 -04:00
#pragma once
#include <utils/info_string.hpp>
namespace party
{
2023-02-05 10:15:29 -05:00
using query_callback_func = void(bool success, const game::netadr_t& host, const ::utils::info_string& info, uint32_t ping);
2022-10-29 14:21:13 -04:00
using query_callback = std::function<query_callback_func>;
void query_server(const game::netadr_t& host, query_callback callback);
2023-04-02 03:10:18 -04:00
game::netadr_t get_connected_server();
2022-10-29 14:21:13 -04:00
}