CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
SleepWaitMenu.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/G/GFxValue.h"
4#include "RE/I/IMenu.h"
5
6namespace RE
7{
8 // menuDepth = 4
9 // flags = kPausesGame | kRequiresUpdate | kAllowSaving | kApplicationMenu
10 // kUsesCursor if gamepad disabled
11 // context = kMenuMode
12 class SleepWaitMenu : public IMenu
13 {
14 public:
15 inline static constexpr auto RTTI = RTTI_SleepWaitMenu;
16 constexpr static std::string_view MENU_NAME = "Sleep/Wait Menu";
17
18 ~SleepWaitMenu() override; // 00
19
20 // override (IMenu)
21 void Accept(CallbackProcessor* a_processor) override; // 01
22 UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
23
24 // members
25 std::uint32_t unk30; // 30
26 std::uint32_t pad34; // 34
27 GFxValue root; // 38 - "SleepWaitMenu_mc"
28 std::uint8_t unk50; // 50
29 std::uint8_t unk51; // 51
30 std::uint16_t pad52; // 52
31 std::uint32_t pad54; // 54
32 };
33#ifndef SKYRIMVR
34 static_assert(sizeof(SleepWaitMenu) == 0x58);
35#else
36 static_assert(sizeof(SleepWaitMenu) == 0x68);
37#endif
38}
Definition: FxDelegateHandler.h:19
Definition: GFxValue.h:90
Definition: IMenu.h:55
Definition: SleepWaitMenu.h:13
~SleepWaitMenu() override
std::uint32_t pad34
Definition: SleepWaitMenu.h:26
void Accept(CallbackProcessor *a_processor) override
std::uint8_t unk50
Definition: SleepWaitMenu.h:28
std::uint32_t unk30
Definition: SleepWaitMenu.h:25
static constexpr std::string_view MENU_NAME
Definition: SleepWaitMenu.h:16
std::uint16_t pad52
Definition: SleepWaitMenu.h:30
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
static constexpr auto RTTI
Definition: SleepWaitMenu.h:15
GFxValue root
Definition: SleepWaitMenu.h:27
std::uint8_t unk51
Definition: SleepWaitMenu.h:29
std::uint32_t pad54
Definition: SleepWaitMenu.h:31
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_SleepWaitMenu
Definition: Offsets_RTTI.h:5929
UI_MESSAGE_RESULTS
Definition: IMenu.h:48