mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 07:07:32 +08:00
fix(session_browser): decrease session limit (#954)
This commit is contained in:
parent
14d969828b
commit
92c4659228
@ -5,7 +5,7 @@ namespace big
|
|||||||
class matchmaking_service
|
class matchmaking_service
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
constexpr static int MAX_SESSIONS_TO_FIND = 1400;
|
constexpr static int MAX_SESSIONS_TO_FIND = 1057;
|
||||||
|
|
||||||
struct session_attributes
|
struct session_attributes
|
||||||
{
|
{
|
||||||
|
@ -18,6 +18,8 @@ namespace big
|
|||||||
static char search[64];
|
static char search[64];
|
||||||
static char session_info[255];
|
static char session_info[255];
|
||||||
|
|
||||||
|
ImGui::Text(std::format("Total sessions found: {}", g_matchmaking_service->get_num_found_sessions()).data());
|
||||||
|
|
||||||
ImGui::SetNextItemWidth(300.f);
|
ImGui::SetNextItemWidth(300.f);
|
||||||
|
|
||||||
if (ImGui::ListBoxHeader("###sessions", { 300, static_cast<float>(*g_pointers->m_resolution_y - 400 - 38 * 4) }))
|
if (ImGui::ListBoxHeader("###sessions", { 300, static_cast<float>(*g_pointers->m_resolution_y - 400 - 38 * 4) }))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user