CommonLibSSE (Parapets fork)
ModManagerMenu.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/I/IMenu.h"
6 
7 namespace RE
8 {
9  // menuDepth = 9
10  // flags = kPausesGame | kUsesMenuContext | kModal | kDisablePauseMenu | kRequiresUpdate | kTopmostRenderedMenu | kUpdateUsesCursor
11  // context = kMenuMode
13  public IMenu, // 00
14  public MenuEventHandler, // 30
15  public GFxFunctionHandler // 40
16  {
17  public:
18  inline static constexpr auto RTTI = RTTI_ModManagerMenu;
19  constexpr static std::string_view MENU_NAME = "Mod Manager Menu";
20 
21  ~ModManagerMenu() override; // 00
22 
23  // override (IMenu)
24  UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
25  void AdvanceMovie(float a_interval, std::uint32_t a_currentTime) override; // 05
26 
27  // override (MenuEventHandler)
28  bool ShouldHandleEvent(const InputEvent* a_event) override; // 01
29  bool HandleEvent(const ThumbstickEvent* a_event) override; // 03
30 
31  // override (GFxFunctionHandler)
32  void Call(Params& a_params) override; // 01
33 
34  // members
35  std::uint8_t unk50; // 50
36  std::uint8_t pad51; // 51
37  std::uint16_t pad52; // 52
38  std::uint32_t pad54; // 54
39  };
40 #ifndef SKYRIMVR
41  static_assert(sizeof(ModManagerMenu) == 0x58);
42 #else
43  static_assert(sizeof(ModManagerMenu) == 0x68);
44 #endif
45 }
Definition: GFxFunctionHandler.h:12
Definition: IMenu.h:56
Definition: InputEvent.h:26
Definition: MenuEventHandler.h:17
Definition: ModManagerMenu.h:16
std::uint32_t pad54
Definition: ModManagerMenu.h:38
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
std::uint8_t pad51
Definition: ModManagerMenu.h:36
void Call(Params &a_params) override
~ModManagerMenu() override
std::uint8_t unk50
Definition: ModManagerMenu.h:35
void AdvanceMovie(float a_interval, std::uint32_t a_currentTime) override
bool HandleEvent(const ThumbstickEvent *a_event) override
std::uint16_t pad52
Definition: ModManagerMenu.h:37
bool ShouldHandleEvent(const InputEvent *a_event) override
static constexpr auto RTTI
Definition: ModManagerMenu.h:18
constexpr static std::string_view MENU_NAME
Definition: ModManagerMenu.h:19
Definition: ThumbstickEvent.h:8
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
UI_MESSAGE_RESULTS
Definition: IMenu.h:49
constexpr REL::ID RTTI_ModManagerMenu
Definition: Offsets_RTTI.h:5168
Definition: GFxFunctionHandler.h:17