mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:00:54 +01:00
25 lines
790 B
C
25 lines
790 B
C
#pragma once
|
|
|
|
struct BGSAction;
|
|
|
|
struct DefaultObjectManager
|
|
{
|
|
static DefaultObjectManager& Get();
|
|
|
|
uint8_t padB8[0xB8];
|
|
TESForm* leftEquipSlot;
|
|
TESForm* rightEquipSlot; // also ammo slot?
|
|
TESForm* eitherEquipSlot;
|
|
TESForm* voiceEquipSlot;
|
|
TESForm* potionEquipSlot;
|
|
uint8_t pad0[0x220 - 0xE0];
|
|
BGSAction* someAction; // 220
|
|
uint8_t pad228[0xBC0 - 0x228];
|
|
bool isSomeActionReady; // BC0
|
|
};
|
|
|
|
static_assert(offsetof(DefaultObjectManager, leftEquipSlot) == 0xB8);
|
|
static_assert(offsetof(DefaultObjectManager, rightEquipSlot) == 0xC0);
|
|
static_assert(offsetof(DefaultObjectManager, potionEquipSlot) == 0xD8);
|
|
static_assert(offsetof(DefaultObjectManager, someAction) == 0x220);
|
|
static_assert(offsetof(DefaultObjectManager, isSomeActionReady) == 0xBC0);
|