12 class MenuOpenCloseEvent;
14 class NiControllerManager;
15 class NiControllerSequence;
23 #ifndef SKYRIM_CROSS_VR
33 constexpr
static std::string_view
MENU_NAME =
"Lockpicking Menu";
37 #define RUNTIME_DATA_CONTENT \
40 NiMatrix3 pickRotation; \
41 NiPoint3 lockRotCenter; \
42 NiControllerManager* lockController; \
43 NiControllerSequence* lockIntro; \
44 NiControllerSequence* lockRotate; \
45 NiControllerManager* pickController; \
46 NiControllerSequence* pickIntro; \
47 NiControllerSequence* pickDamage; \
48 NiControllerSequence* pickBreak; \
49 NiControllerSequence* currentPickSequence; \
51 std::uint32_t unk0CC; \
52 NiControllerSequence* currentLockSequence; \
56 float damagePickAngle; \
57 float pickBreakSeconds; \
58 BSSoundHandle pickTensionSound; \
60 float sweetSpotAngle; \
61 float partialPickAngle; \
62 std::uint32_t numBrokenPicks; \
63 bool init3DElements; \
67 bool animationFinished; \
68 bool isLockpickingCrime; \
69 std::uint8_t unk10E; \
74 static_assert(
sizeof(RUNTIME_DATA) == 0xC8);
81 #ifndef SKYRIM_CROSS_VR
96 return &REL::RelocateMember<MenuEventHandler>(
this, 0x30, 0x40);
106 return &REL::RelocateMember<BSTEventSink<MenuOpenCloseEvent>>(
this, 0x40, 0x50);
116 return REL::RelocateMember<RUNTIME_DATA>(
this, 0x48, 0x58);
121 return REL::RelocateMember<RUNTIME_DATA>(
this, 0x48, 0x58);
125 #ifndef SKYRIM_CROSS_VR
129 #ifndef ENABLE_SKYRIM_VR
130 static_assert(
sizeof(LockpickingMenu) == 0x110);
131 #elif !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
132 static_assert(
sizeof(LockpickingMenu) == 0x120);
135 #undef RUNTIME_DATA_CONTENT
Definition: BSTEvent.h:143
Definition: MenuEventHandler.h:14
Definition: MouseMoveEvent.h:8
Definition: TESObjectREFR.h:113
Definition: ThumbstickEvent.h:8
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_LockpickingMenu(688864, 396716, 0x1f46f50)
UI_MESSAGE_RESULTS
Definition: IMenu.h:48
constexpr std::array< REL::VariantID, 3 > VTABLE_LockpickingMenu
Definition: Offsets_VTABLE.h:4060
BSEventNotifyControl
Definition: BSTEvent.h:12