CommonLibSSE NG
AlchemyMenu.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/B/BSFixedString.h
"
4
#include "
RE/B/BSTArray.h
"
5
#include "
RE/C/CraftingSubMenu.h
"
6
#include "
RE/I/IMessageBoxCallback.h
"
7
8
namespace
RE::CraftingSubMenus
9
{
10
namespace
CraftingSubMenus
11
{
12
class
AlchemyMenu
:
public
CraftingSubMenu
13
{
14
public
:
15
inline
static
constexpr
auto
RTTI
=
RTTI_CraftingSubMenus__AlchemyMenu
;
16
17
class
QuitMenuCallback
:
public
IMessageBoxCallback
18
{
19
public
:
20
inline
static
constexpr
auto
RTTI
=
RTTI_CraftingSubMenus__AlchemyMenu__QuitMenuCallback
;
21
22
~QuitMenuCallback
()
override
;
// 00
23
24
// override (IMessageBoxCallback)
25
void
Run
(
Message
a_msg)
override
;
// 01
26
27
// members
28
AlchemyMenu
*
subMenu
;
// 10
29
};
30
static_assert(
sizeof
(
QuitMenuCallback
) == 0x18);
31
32
class
UsableEffectMap
33
{
34
public
:
35
std::uint32_t
ingredientIndex
;
// 00
36
std::uint32_t
effectIndex
;
// 04
37
std::uint32_t
nextCompatibleEffectMapIndex
;
// 08
38
};
39
static_assert(
sizeof
(
UsableEffectMap
) == 0xC);
40
41
class
MenuIngredientEntry
42
{
43
public
:
44
InventoryEntryData
*
ingredient
;
// 00
45
std::uint8_t
effect1FilterID
;
// 09
46
std::uint8_t
effect2FilterID
;
// 0A
47
std::uint8_t
effect3FilterID
;
// 0B
48
std::uint8_t
effect4FilterID
;
// 0C
49
std::uint8_t
isSelected
;
// 0D
50
std::uint8_t
isNotGreyed
;
// 0E
51
std::uint16_t
padE
;
// 0F
52
};
53
static_assert(
sizeof
(
MenuIngredientEntry
) == 0x10);
54
55
class
PotionCreationData
56
{
57
public
:
58
BSTArray<UsableEffectMap>
usableEffectsMaps
;
// 0
59
BSTArray<MenuIngredientEntry>
*
ingredientEntries
;
// 18
60
};
61
static_assert(
sizeof
(
PotionCreationData
) == 0x20);
62
63
~AlchemyMenu
()
override
;
// 00
64
65
// override (CraftingSubMenu)
66
void
Accept
(
CallbackProcessor
* a_cbReg)
override
;
// 01
67
bool
ProcessUserEvent
(
BSFixedString
* a_control)
override
;
// 05
68
69
// members
70
BSTArray<MenuIngredientEntry>
ingredientEntries
;
// 100
71
BSTSmallArray<std::uint32_t, 4>
selectedIndexes
;
// 118
72
PotionCreationData
potionCreationData
;
// 138
73
GFxValue
categories
;
// 158
74
InventoryEntryData
*
resultPotionEntry
;
// 170
75
AlchemyItem
*
unknownPotion
;
// 178 - displayed when player does not know effects
76
AlchemyItem
*
resultPotion
;
// 180
77
std::uint32_t
currentIngredientIdx
;
// 188
78
std::uint32_t
pad18C
;
// 18C
79
BSFixedString
newRecipeFormatString
;
// 190
80
bool
playerHasPurityPerk
;
// 198
81
std::uint8_t
pad199
;
// 199
82
std::uint16_t
pad19A
;
// 19A
83
std::uint32_t
pad19C
;
// 19C
84
};
85
static_assert(
sizeof
(
AlchemyMenu
) == 0x1A0);
86
}
87
}
BSFixedString.h
BSTArray.h
CraftingSubMenu.h
IMessageBoxCallback.h
RE::AlchemyItem
Definition:
AlchemyItem.h:24
RE::BSTArray
Definition:
BSTArray.h:377
RE::CraftingSubMenus::CraftingSubMenu
Definition:
CraftingSubMenu.h:20
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::MenuIngredientEntry
Definition:
AlchemyMenu.h:42
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::MenuIngredientEntry::effect4FilterID
std::uint8_t effect4FilterID
Definition:
AlchemyMenu.h:48
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::MenuIngredientEntry::isNotGreyed
std::uint8_t isNotGreyed
Definition:
AlchemyMenu.h:50
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::MenuIngredientEntry::isSelected
std::uint8_t isSelected
Definition:
AlchemyMenu.h:49
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::MenuIngredientEntry::ingredient
InventoryEntryData * ingredient
Definition:
AlchemyMenu.h:44
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::MenuIngredientEntry::padE
std::uint16_t padE
Definition:
AlchemyMenu.h:51
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::MenuIngredientEntry::effect3FilterID
std::uint8_t effect3FilterID
Definition:
AlchemyMenu.h:47
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::MenuIngredientEntry::effect1FilterID
std::uint8_t effect1FilterID
Definition:
AlchemyMenu.h:45
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::MenuIngredientEntry::effect2FilterID
std::uint8_t effect2FilterID
Definition:
AlchemyMenu.h:46
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::PotionCreationData
Definition:
AlchemyMenu.h:56
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::PotionCreationData::usableEffectsMaps
BSTArray< UsableEffectMap > usableEffectsMaps
Definition:
AlchemyMenu.h:58
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::PotionCreationData::ingredientEntries
BSTArray< MenuIngredientEntry > * ingredientEntries
Definition:
AlchemyMenu.h:59
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::QuitMenuCallback
Definition:
AlchemyMenu.h:18
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::QuitMenuCallback::~QuitMenuCallback
~QuitMenuCallback() override
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::QuitMenuCallback::RTTI
static constexpr auto RTTI
Definition:
AlchemyMenu.h:20
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::QuitMenuCallback::Run
void Run(Message a_msg) override
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::QuitMenuCallback::subMenu
AlchemyMenu * subMenu
Definition:
AlchemyMenu.h:28
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::UsableEffectMap
Definition:
AlchemyMenu.h:33
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::UsableEffectMap::nextCompatibleEffectMapIndex
std::uint32_t nextCompatibleEffectMapIndex
Definition:
AlchemyMenu.h:37
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::UsableEffectMap::ingredientIndex
std::uint32_t ingredientIndex
Definition:
AlchemyMenu.h:35
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::UsableEffectMap::effectIndex
std::uint32_t effectIndex
Definition:
AlchemyMenu.h:36
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu
Definition:
AlchemyMenu.h:13
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::~AlchemyMenu
~AlchemyMenu() override
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::pad199
std::uint8_t pad199
Definition:
AlchemyMenu.h:81
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::resultPotionEntry
InventoryEntryData * resultPotionEntry
Definition:
AlchemyMenu.h:74
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::ProcessUserEvent
bool ProcessUserEvent(BSFixedString *a_control) override
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::ingredientEntries
BSTArray< MenuIngredientEntry > ingredientEntries
Definition:
AlchemyMenu.h:70
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::resultPotion
AlchemyItem * resultPotion
Definition:
AlchemyMenu.h:76
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::Accept
void Accept(CallbackProcessor *a_cbReg) override
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::newRecipeFormatString
BSFixedString newRecipeFormatString
Definition:
AlchemyMenu.h:79
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::categories
GFxValue categories
Definition:
AlchemyMenu.h:73
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::potionCreationData
PotionCreationData potionCreationData
Definition:
AlchemyMenu.h:72
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::pad19A
std::uint16_t pad19A
Definition:
AlchemyMenu.h:82
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::currentIngredientIdx
std::uint32_t currentIngredientIdx
Definition:
AlchemyMenu.h:77
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::pad19C
std::uint32_t pad19C
Definition:
AlchemyMenu.h:83
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::unknownPotion
AlchemyItem * unknownPotion
Definition:
AlchemyMenu.h:75
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::pad18C
std::uint32_t pad18C
Definition:
AlchemyMenu.h:78
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::playerHasPurityPerk
bool playerHasPurityPerk
Definition:
AlchemyMenu.h:80
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::RTTI
static constexpr auto RTTI
Definition:
AlchemyMenu.h:15
RE::CraftingSubMenus::CraftingSubMenus::AlchemyMenu::selectedIndexes
BSTSmallArray< std::uint32_t, 4 > selectedIndexes
Definition:
AlchemyMenu.h:71
RE::FxDelegateHandler::CallbackProcessor
Definition:
FxDelegateHandler.h:19
RE::GFxValue
Definition:
GFxValue.h:92
RE::IMessageBoxCallback
Definition:
IMessageBoxCallback.h:8
RE::IMessageBoxCallback::Message
Message
Definition:
IMessageBoxCallback.h:13
RE::InventoryEntryData
Definition:
InventoryEntryData.h:15
RE::detail::BSFixedString< char >
RE::CraftingSubMenus
Definition:
AlchemyMenu.h:9
RE::RTTI_CraftingSubMenus__AlchemyMenu
constexpr REL::VariantID RTTI_CraftingSubMenus__AlchemyMenu(688822, 396674, 0x1f46550)
RE::RTTI_CraftingSubMenus__AlchemyMenu__QuitMenuCallback
constexpr REL::VariantID RTTI_CraftingSubMenus__AlchemyMenu__QuitMenuCallback(688824, 396676, 0x1f465e0)
CommonLibSSE-NG
include
RE
A
AlchemyMenu.h
Generated by
1.9.1