Skip to content

Commit

Permalink
Add SleepWaitMenu::ToggleOpenSleepWaitMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 committed Jul 17, 2024
1 parent af3e8a1 commit 98f8018
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/RE/S/SleepWaitMenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_t> func{ RELOCATION_ID(51618, 52490) };
return func(a_sleeping);
}

// members
std::uint32_t unk30; // 30
std::uint32_t pad34; // 34
Expand Down

0 comments on commit 98f8018

Please sign in to comment.