From 3a5f1b617931d00145504d97ef4fbef4f3138b5b Mon Sep 17 00:00:00 2001 From: Matthew Toro <48634881+mattsumi@users.noreply.github.com> Date: Sun, 8 Mar 2026 04:10:15 -0400 Subject: Add "Add Server" functionally to "Join Game" Menu + relocate servers.txt to servers.db. (#911) * Add "Add Server" functionally to "Join Game" Menu + relocate servers.txt to servers.db * enchancement: add edit and delete server functionality, solves FriendSessionInfo corruption issues --- Minecraft.Client/Common/UI/UIStructs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Minecraft.Client/Common/UI/UIStructs.h') diff --git a/Minecraft.Client/Common/UI/UIStructs.h b/Minecraft.Client/Common/UI/UIStructs.h index ac83458f..b3422832 100644 --- a/Minecraft.Client/Common/UI/UIStructs.h +++ b/Minecraft.Client/Common/UI/UIStructs.h @@ -280,6 +280,9 @@ typedef struct _JoinMenuInitData { FriendSessionInfo *selectedSession; int iPad; +#ifdef _WINDOWS64 + int serverIndex; // Index of the server in servers.db, -1 if not a saved server +#endif } JoinMenuInitData; // Native keyboard (Windows64 replacement for InputManager.RequestKeyboard WinAPI dialog) -- cgit v1.2.3