aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI/UIStructs.h
diff options
context:
space:
mode:
authorMatthew Toro <48634881+mattsumi@users.noreply.github.com>2026-03-08 04:10:15 -0400
committerGitHub <noreply@github.com>2026-03-08 03:10:15 -0500
commit3a5f1b617931d00145504d97ef4fbef4f3138b5b (patch)
tree925a71e25f2b9256f85c50833585a791e44771de /Minecraft.Client/Common/UI/UIStructs.h
parentd461012efb3855d1fbfe9dc3696562223f21334a (diff)
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
Diffstat (limited to 'Minecraft.Client/Common/UI/UIStructs.h')
-rw-r--r--Minecraft.Client/Common/UI/UIStructs.h3
1 files changed, 3 insertions, 0 deletions
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)