From 3c708d02c9f50380df2d05498bd71033f7949e45 Mon Sep 17 00:00:00 2001 From: powerof3 <32599957+powerof3@users.noreply.github.com> Date: Sat, 30 Sep 2023 01:45:38 +0530 Subject: [PATCH] feat: add `BSTEventSource` members (#124) --- CommonLibSF/include/RE/B/BSTEvent.h | 8 ++++++++ CommonLibSF/include/RE/T/TESObjectREFR.h | 20 +++++++------------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/CommonLibSF/include/RE/B/BSTEvent.h b/CommonLibSF/include/RE/B/BSTEvent.h index 98710af8..fe4379d5 100644 --- a/CommonLibSF/include/RE/B/BSTEvent.h +++ b/CommonLibSF/include/RE/B/BSTEvent.h @@ -67,7 +67,15 @@ namespace RE REL::Relocation func{ REL::ID(34451) }; return func(this, a_sink); } + + // members + std::uint8_t sinks[0x10]; // 08 - BSTArray> + std::uint32_t unk18; // 18 + std::uint32_t unk1C; // 1C + std::uint32_t unk20; // 20 + std::uint32_t unk24; // 24 }; + static_assert(sizeof(BSTEventSource) == 0x28); class BSTGlobalEvent { diff --git a/CommonLibSF/include/RE/T/TESObjectREFR.h b/CommonLibSF/include/RE/T/TESObjectREFR.h index 621b2dbc..666dcd34 100644 --- a/CommonLibSF/include/RE/T/TESObjectREFR.h +++ b/CommonLibSF/include/RE/T/TESObjectREFR.h @@ -302,19 +302,13 @@ namespace RE [[nodiscard]] bool IsSpaceshipDocked(); // members - std::uint32_t unk80; // 80 - std::uint32_t unk84; // 84 - std::uint64_t unk88; // 88 - std::uint64_t unk90; // 90 - std::uint32_t unk98; // 98 - std::uint8_t pad9C[4]; // 9C - OBJ_REFR data; // A0 - std::uint64_t unkD0; // D0 - std::uint64_t unkD8; // D8 - TESObjectCELL* parentCell; // E0 - void* loadedData; // E8 - std::uint64_t unkF0; // F0 - std::uint64_t extraDataList; // F8 + OBJ_REFR data; // 0A0 + std::uint64_t unkD0; // 0D0 + std::uint64_t unkD8; // 0D8 + TESObjectCELL* parentCell; // 0E0 + void* loadedData; // 0E8 + std::uint64_t unkF0; // 0F0 + std::uint64_t extraDataList; // 0F8 std::uint64_t unk100; // 100 std::uint16_t scale; // 108 std::uint8_t unk10A; // 10A