CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
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
7namespace 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
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#ifndef SKYRIMVR
42 static_assert(sizeof(GiftMenu) == 0x80);
43#else
44 static_assert(sizeof(GiftMenu) == 0x90);
45#endif
46}
Definition: BSTArray.h:377
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
static constexpr std::string_view MENU_NAME
Definition: GiftMenu.h:19
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
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