From 98f801811235a9b14dc38968b0be04af7f39fc4c Mon Sep 17 00:00:00 2001 From: powerof3 <32599957+powerof3@users.noreply.github.com> Date: Thu, 18 Jul 2024 03:14:03 +0530 Subject: [PATCH] Add `SleepWaitMenu::ToggleOpenSleepWaitMenu` --- include/RE/S/SleepWaitMenu.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/RE/S/SleepWaitMenu.h b/include/RE/S/SleepWaitMenu.h index 6f422a90b..88e368e10 100644 --- a/include/RE/S/SleepWaitMenu.h +++ b/include/RE/S/SleepWaitMenu.h @@ -21,6 +21,13 @@ namespace RE void Accept(CallbackProcessor* a_processor) override; // 01 UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04 + static void ToggleOpenSleepWaitMenu(bool a_sleeping) + { + using func_t = decltype(&SleepWaitMenu::ToggleOpenSleepWaitMenu); + REL::Relocation func{ RELOCATION_ID(51618, 52490) }; + return func(a_sleeping); + } + // members std::uint32_t unk30; // 30 std::uint32_t pad34; // 34