CommonLibSSE (powerof3)
GiftMenu.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTArray.h"
4 #include "RE/G/GFxValue.h"
5 #include "RE/I/IMenu.h"
6 
7 namespace RE
8 {
9  struct ItemCard;
10  struct ItemList;
11 
12  // menuDepth = 3
13  // flags = kPausesGame | kUsesMenuContext | kDisablePauseMenu | kUpdateUsesCursor | kInventoryItemMenu | kCustomRendering
14  // context = kItemMenu
15  class GiftMenu : public IMenu
16  {
17  public:
18  inline static constexpr auto RTTI = RTTI_GiftMenu;
19  constexpr static std::string_view MENU_NAME = "GiftMenu";
20 
21  ~GiftMenu() override; // 00
22 
23  // override (IMenu)
24  void Accept(CallbackProcessor* a_processor) override; // 01
25  UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
26  void PostDisplay() override; // 06
27 
28  [[nodiscard]] RefHandle GetTargetRefHandle();
29 
30  // members
31  GFxValue root; // 30 - "Menu_mc"
35  std::uint64_t unk70; // 70
36  bool pcControlsReady; // 78
37  std::uint8_t pad79; // 79
38  std::uint16_t pad7A; // 7A
39  std::uint32_t pad7C; // 7C
40  };
41  static_assert(sizeof(GiftMenu) == 0x80);
42 }
Definition: FxDelegateHandler.h:19
Definition: GFxValue.h:90
Definition: GiftMenu.h:16
ItemCard * itemCard
Definition: GiftMenu.h:33
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
RefHandle GetTargetRefHandle()
void Accept(CallbackProcessor *a_processor) override
bool pcControlsReady
Definition: GiftMenu.h:36
std::uint8_t pad79
Definition: GiftMenu.h:37
static constexpr auto RTTI
Definition: GiftMenu.h:18
std::uint32_t pad7C
Definition: GiftMenu.h:39
std::uint16_t pad7A
Definition: GiftMenu.h:38
GFxValue root
Definition: GiftMenu.h:31
~GiftMenu() override
void PostDisplay() override
ItemList * itemList
Definition: GiftMenu.h:32
std::uint64_t unk70
Definition: GiftMenu.h:35
constexpr static std::string_view MENU_NAME
Definition: GiftMenu.h:19
BSTArray< void * > unk58
Definition: GiftMenu.h:34
Definition: IMenu.h:55
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
UI_MESSAGE_RESULTS
Definition: IMenu.h:48
constexpr REL::ID RTTI_GiftMenu
Definition: Offsets_RTTI.h:4868
std::uint32_t RefHandle
Definition: BSCoreTypes.h:6
Definition: ItemCard.h:12
Definition: ItemList.h:14