From e1a686fb1616281cedbf683d38de749f25b6055b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?At=C3=ADlio?= <27153776+AtilioA@users.noreply.github.com> Date: Wed, 20 May 2026 20:40:31 -0300 Subject: [PATCH] Map `field_8` to `LockDifficultyClassID` --- BG3Extender/GameDefinitions/Components/Data.h | 2 +- BG3Extender/IdeHelpers/ExtIdeHelpers.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BG3Extender/GameDefinitions/Components/Data.h b/BG3Extender/GameDefinitions/Components/Data.h index 95cea876..f77f34c9 100644 --- a/BG3Extender/GameDefinitions/Components/Data.h +++ b/BG3Extender/GameDefinitions/Components/Data.h @@ -252,7 +252,7 @@ struct LockComponent : public BaseComponent FixedString Key_M; int LockDC; - Guid field_8; + [[bg3::legacy(field_8)]] Guid LockDifficultyClassID; Array field_18; }; diff --git a/BG3Extender/IdeHelpers/ExtIdeHelpers.lua b/BG3Extender/IdeHelpers/ExtIdeHelpers.lua index 9757fb7a..8feca950 100644 --- a/BG3Extender/IdeHelpers/ExtIdeHelpers.lua +++ b/BG3Extender/IdeHelpers/ExtIdeHelpers.lua @@ -5003,8 +5003,8 @@ Osi = {} --- @class LockComponent:BaseComponent --- @field Key_M FixedString --- @field LockDC int32 +--- @field LockDifficultyClassID Guid --- @field field_18 Guid[] ---- @field field_8 Guid --- @class LockpickActionData:IActionData