CommonLibVR
MessageBoxMenu.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/I/IMenu.h"
4 
5 namespace RE
6 {
7  // menuDepth = 10
8  // flags = kPausesGame | kAlwaysOpen | kUsesCursor | kModal
9  // context = kMenuMode
10  class MessageBoxMenu : public IMenu
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_MessageBoxMenu;
14  constexpr static std::string_view MENU_NAME = "MessageBoxMenu";
15 
16  ~MessageBoxMenu() override; // 00
17 
18  // override (IMenu)
19  void Accept(CallbackProcessor* a_processor) override; // 01
20  UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
21 
22  // members
23  std::uint8_t unk30; // 30
24  std::uint8_t pad31; // 31
25  std::uint16_t pad32; // 32
26  std::uint32_t pad34; // 34
27  private:
28  KEEP_FOR_RE()
29  };
30 #ifndef SKYRIMVR
31  static_assert(sizeof(MessageBoxMenu) == 0x38);
32 #else
33  static_assert(sizeof(MessageBoxMenu) == 0x48);
34 #endif
35 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: FxDelegateHandler.h:20
Definition: IMenu.h:64
Definition: MessageBoxMenu.h:11
std::uint32_t pad34
Definition: MessageBoxMenu.h:26
std::uint16_t pad32
Definition: MessageBoxMenu.h:25
~MessageBoxMenu() override
std::uint8_t unk30
Definition: MessageBoxMenu.h:23
void Accept(CallbackProcessor *a_processor) override
std::uint8_t pad31
Definition: MessageBoxMenu.h:24
constexpr static std::string_view MENU_NAME
Definition: MessageBoxMenu.h:14
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
static constexpr auto RTTI
Definition: MessageBoxMenu.h:13
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
UI_MESSAGE_RESULTS
Definition: IMenu.h:49
constexpr REL::ID RTTI_MessageBoxMenu(static_cast< std::uint64_t >(688894))