CommonLibVR
Loading...
Searching...
No Matches
InventoryMenu.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 class GFxMovieView;
10 class TESObjectREFR;
11 struct BottomBar;
12 struct ItemCard;
13 struct ItemList;
14
15 // menuDepth = 0
16 // flags = kPausesGame | kDisablePauseMenu | kUpdateUsesCursor | kInventoryItemMenu | kCustomRendering
17 // context = kNone
18 class InventoryMenu : public IMenu
19 {
20 public:
21 inline static constexpr auto RTTI = RTTI_InventoryMenu;
22 constexpr static std::string_view MENU_NAME = "InventoryMenu";
23
24 ~InventoryMenu() override; // 00
25
26 // override (IMenu)
27 void Accept(CallbackProcessor* a_processor) override; // 01
28 UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
29 void PostDisplay() override; // 06
30
31 // members
32 GFxValue root; // 30 - kDisplayObject - "_level0.Menu_mc"
37 std::uint8_t unk78; // 78
38 std::uint8_t pad79; // 79
39 std::uint16_t pad7A; // 7A
40 std::uint32_t unk7C; // 7C
41 bool pcControlsReady; // 80
42 std::uint8_t unk81; // 81
43 std::uint16_t pad82; // 82
44 std::uint32_t pad84; // 84
45 private:
47 };
48#ifndef SKYRIMVR
49 static_assert(sizeof(InventoryMenu) == 0x88);
50#else
51 //static_assert(sizeof(InventoryMenu) == 0xB0);
52#endif
53}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition BSTArray.h:378
Definition FxDelegateHandler.h:20
Definition GFxValue.h:92
Definition IMenu.h:64
Definition InventoryMenu.h:19
static constexpr auto RTTI
Definition InventoryMenu.h:21
std::uint8_t unk81
Definition InventoryMenu.h:42
bool pcControlsReady
Definition InventoryMenu.h:41
std::uint16_t pad7A
Definition InventoryMenu.h:39
void PostDisplay() override
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
static constexpr std::string_view MENU_NAME
Definition InventoryMenu.h:22
ItemCard * itemCard
Definition InventoryMenu.h:34
std::uint32_t pad84
Definition InventoryMenu.h:44
std::uint32_t unk7C
Definition InventoryMenu.h:40
std::uint16_t pad82
Definition InventoryMenu.h:43
BottomBar * bottomBar
Definition InventoryMenu.h:35
std::uint8_t unk78
Definition InventoryMenu.h:37
GFxValue root
Definition InventoryMenu.h:32
std::uint8_t pad79
Definition InventoryMenu.h:38
void Accept(CallbackProcessor *a_processor) override
BSTArray< void * > unk60
Definition InventoryMenu.h:36
~InventoryMenu() override
ItemList * itemList
Definition InventoryMenu.h:33
Definition UIMessage.h:28
Definition AbsorbEffect.h:6
UI_MESSAGE_RESULTS
Definition IMenu.h:49
constexpr REL::ID RTTI_InventoryMenu(static_cast< std::uint64_t >(688858))
Definition BottomBar.h:8
Definition ItemCard.h:12
Definition ItemList.h:14