From ba5f974f56f0db59366b943b279958d69324532c Mon Sep 17 00:00:00 2001 From: Erik Date: Mon, 22 Jun 2026 14:32:56 +0200 Subject: [PATCH] feat(D.2b): wire InventoryController container-open callbacks to the live session Co-Authored-By: Claude Opus 4.8 (1M context) --- src/AcDream.App/Rendering/GameWindow.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AcDream.App/Rendering/GameWindow.cs b/src/AcDream.App/Rendering/GameWindow.cs index 308739d2..a52bd3f8 100644 --- a/src/AcDream.App/Rendering/GameWindow.cs +++ b/src/AcDream.App/Rendering/GameWindow.cs @@ -2238,7 +2238,9 @@ public sealed class GameWindow : IDisposable datFont: vitalsDatFont, contentsEmptySprite: contentsEmpty, sideBagEmptySprite: sideBagEmpty, - mainPackEmptySprite: mainPackEmpty); + mainPackEmptySprite: mainPackEmpty, + sendUse: g => _liveSession?.SendUse(g), + sendNoLongerViewing: g => _liveSession?.SendNoLongerViewingContents(g)); Console.WriteLine("[D.2b-B] retail inventory window from LayoutDesc importer (0x21000023)."); }