diff --git a/Daybreak.API/Interop/GWCA.cs b/Daybreak.API/Interop/GWCA.cs index af3a8986..2d891e30 100644 --- a/Daybreak.API/Interop/GWCA.cs +++ b/Daybreak.API/Interop/GWCA.cs @@ -13,7 +13,7 @@ namespace Daybreak.API.Interop { /// -/// P/Invoke bindings for 546 C++ exports from gwca.dll (0 skipped). +/// P/Invoke bindings for 545 C++ exports from gwca.dll (0 skipped). /// Nested classes mirror the C++ namespace hierarchy (e.g. GW::Agents → GWCA.GW.Agents). /// Types annotated with [GWCAEquivalent] are used in signatures where available. /// @@ -952,10 +952,6 @@ public static unsafe partial class GWCA [LibraryImport(DllName, EntryPoint = "?GetContainerDesiredHeight@FrameMgr@GW@@YAMPBUFrame@UI@2@@Z")] public static partial float GetContainerDesiredHeight(global::Daybreak.API.Interop.Frame* frame); - // GW::FrameMgr::GetContainerDesiredWidth - [LibraryImport(DllName, EntryPoint = "?GetContainerDesiredWidth@FrameMgr@GW@@YAMPBUFrame@UI@2@@Z")] - public static partial float GetContainerDesiredWidth(global::Daybreak.API.Interop.Frame* frame); - // GW::FrameMgr::GetFrameScreenRect | screenPosition2: TODO: map struct GW::FrameMgr::ScreenPosition // [LibraryImport(DllName, EntryPoint = "?GetFrameScreenRect@FrameMgr@GW@@YA_NPBUFrame@UI@2@PAUScreenPosition@12@@Z")] // [return: MarshalAs(UnmanagedType.U1)] diff --git a/Daybreak.API/Services/PartyService.cs b/Daybreak.API/Services/PartyService.cs index 82181b91..70235006 100644 --- a/Daybreak.API/Services/PartyService.cs +++ b/Daybreak.API/Services/PartyService.cs @@ -429,12 +429,11 @@ public sealed class PartyService : IHostedService // Trigger the container's built-in layout handler to compute // child sizes and stack them vertically before positioning. var layoutResult = GWCA.GW.FrameMgr.LayoutContainer(floatingFrame); - var desiredW = GWCA.GW.FrameMgr.GetContainerDesiredWidth(floatingFrame); var desiredH = GWCA.GW.FrameMgr.GetContainerDesiredHeight(floatingFrame); scopedLogger.LogDebug( - "Post-layout: LayoutResult={layoutResult}, DesiredSize={w}x{h}", - layoutResult, desiredW, desiredH); + "Post-layout: LayoutResult={layoutResult}, DesiredHeight={h}", + layoutResult, desiredH); // Dump frame position data after layout var pos = &floatingFrame->Position;