CommonLibSSE (powerof3)
FavoritesMenu.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
#include "
RE/M/MenuEventHandler.h
"
7
8
namespace
RE
9
{
10
class
InventoryEntryData;
11
class
TESForm;
12
13
// menuDepth = 3
14
// flags = kPausesGame | kUpdateUsesCursor | kInventoryItemMenu | kCustomRendering
15
// context = kFavorites
16
class
FavoritesMenu
:
17
public
IMenu
,
// 00
18
public
MenuEventHandler
// 30
19
{
20
public
:
21
inline
static
constexpr
auto
RTTI
=
RTTI_FavoritesMenu
;
22
constexpr
static
std::string_view
MENU_NAME
=
"FavoritesMenu"
;
23
24
struct
Entry
25
{
26
TESForm
*
item
;
// 00
27
InventoryEntryData
*
entryData
;
// 08
28
};
29
static_assert(
sizeof
(
Entry
) == 0x10);
30
31
~FavoritesMenu
()
override
;
// 00
32
33
// override (IMenu)
34
void
Accept
(
CallbackProcessor
* a_processor)
override
;
// 01
35
UI_MESSAGE_RESULTS
ProcessMessage
(
UIMessage
& a_message)
override
;
// 04
36
37
// override (MenuEventHandler)
38
bool
CanProcess
(
InputEvent
* a_event)
override
;
// 01
39
bool
ProcessKinect
(
KinectEvent
* a_event)
override
;
// 02
40
bool
ProcessButton
(
ButtonEvent
* a_event)
override
;
// 05
41
42
// members
43
GFxValue
root
;
// 40 - "Menu_mc"
44
BSTArray<Entry>
favorites
;
// 58
45
std::uint16_t
unk70
;
// 70
46
bool
pcControlsReady
;
// 72
47
bool
isVampire
;
// 73
48
std::uint32_t
pad74
;
// 74
49
};
50
static_assert(
sizeof
(
FavoritesMenu
) == 0x78);
51
}
BSTArray.h
GFxValue.h
IMenu.h
MenuEventHandler.h
RE::BSTArray
Definition:
BSTArray.h:378
RE::ButtonEvent
Definition:
ButtonEvent.h:11
RE::FavoritesMenu
Definition:
FavoritesMenu.h:19
RE::FavoritesMenu::MENU_NAME
constexpr static std::string_view MENU_NAME
Definition:
FavoritesMenu.h:22
RE::FavoritesMenu::~FavoritesMenu
~FavoritesMenu() override
RE::FavoritesMenu::ProcessMessage
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
RE::FavoritesMenu::root
GFxValue root
Definition:
FavoritesMenu.h:43
RE::FavoritesMenu::isVampire
bool isVampire
Definition:
FavoritesMenu.h:47
RE::FavoritesMenu::ProcessButton
bool ProcessButton(ButtonEvent *a_event) override
RE::FavoritesMenu::unk70
std::uint16_t unk70
Definition:
FavoritesMenu.h:45
RE::FavoritesMenu::ProcessKinect
bool ProcessKinect(KinectEvent *a_event) override
RE::FavoritesMenu::pad74
std::uint32_t pad74
Definition:
FavoritesMenu.h:48
RE::FavoritesMenu::pcControlsReady
bool pcControlsReady
Definition:
FavoritesMenu.h:46
RE::FavoritesMenu::CanProcess
bool CanProcess(InputEvent *a_event) override
RE::FavoritesMenu::favorites
BSTArray< Entry > favorites
Definition:
FavoritesMenu.h:44
RE::FavoritesMenu::RTTI
static constexpr auto RTTI
Definition:
FavoritesMenu.h:21
RE::FavoritesMenu::Accept
void Accept(CallbackProcessor *a_processor) override
RE::FxDelegateHandler::CallbackProcessor
Definition:
FxDelegateHandler.h:20
RE::GFxValue
Definition:
GFxValue.h:92
RE::IMenu
Definition:
IMenu.h:55
RE::InputEvent
Definition:
InputEvent.h:25
RE::InventoryEntryData
Definition:
InventoryEntryData.h:15
RE::KinectEvent
Definition:
KinectEvent.h:9
RE::MenuEventHandler
Definition:
MenuEventHandler.h:14
RE::TESForm
Definition:
TESForm.h:36
RE::UIMessage
Definition:
UIMessage.h:28
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_FavoritesMenu
constexpr REL::ID RTTI_FavoritesMenu(static_cast< std::uint64_t >(688831))
RE::UI_MESSAGE_RESULTS
UI_MESSAGE_RESULTS
Definition:
IMenu.h:48
RE::FavoritesMenu::Entry
Definition:
FavoritesMenu.h:25
RE::FavoritesMenu::Entry::entryData
InventoryEntryData * entryData
Definition:
FavoritesMenu.h:27
RE::FavoritesMenu::Entry::item
TESForm * item
Definition:
FavoritesMenu.h:26
CommonLibSSE
include
RE
F
FavoritesMenu.h
Generated by
1.9.1