CommonLibSSE (Parapets fork)
CraftingMenu.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/I/IMenu.h"
5 
6 namespace RE
7 {
8  namespace CraftingSubMenus
9  {
10  class CraftingSubMenu;
11  }
12 
13  // menuDepth = 0
14  // flags = kUsesMenuContext | kDisablePauseMenu | kUpdateUsesCursor | kInventoryItemMenu | kDontHideCursorWhenTopmost
15  // context = kItemMenu
16  class CraftingMenu : public IMenu // 00
17 #ifdef SKYRIMVR
18  ,
19  public MenuEventHandler // 40
20 #endif
21  {
22  public:
23  inline static constexpr auto RTTI = RTTI_CraftingMenu;
24  constexpr static std::string_view MENU_NAME = "Crafting Menu";
25 
26  ~CraftingMenu() override; // 00
27 
28  // override (IMenu)
29  UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
30  void AdvanceMovie(float a_interval, std::uint32_t a_currentTime) override; // 05
31  void PostDisplay() override; // 06
32 
33  // members
35  };
36 #ifndef SKYRIMVR
37  static_assert(sizeof(CraftingMenu) == 0x38);
38 #else
39  static_assert(sizeof(CraftingMenu) == 0x58);
40 #endif
41 }
Definition: CraftingMenu.h:21
static constexpr auto RTTI
Definition: CraftingMenu.h:23
CraftingSubMenus::CraftingSubMenu * subMenu
Definition: CraftingMenu.h:34
void PostDisplay() override
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
~CraftingMenu() override
constexpr static std::string_view MENU_NAME
Definition: CraftingMenu.h:24
void AdvanceMovie(float a_interval, std::uint32_t a_currentTime) override
Definition: CraftingSubMenu.h:22
Definition: IMenu.h:56
Definition: MenuEventHandler.h:17
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_CraftingMenu
Definition: Offsets_RTTI.h:4542
UI_MESSAGE_RESULTS
Definition: IMenu.h:49