CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
TrainingMenu.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/A/ActorValues.h
"
4
#include "
RE/B/BSTEvent.h
"
5
#include "
RE/G/GFxValue.h
"
6
#include "
RE/I/IMenu.h
"
7
8
namespace
RE
9
{
10
class
MenuOpenCloseEvent;
11
12
// menuDepth = 3
13
// flags = kPausesGame | kUsesMenuContext | kUpdateUsesCursor
14
// kUsesCursor if gamepad disabled
15
// context = kNone
16
class
TrainingMenu
:
17
public
IMenu
,
// 00
18
public
BSTEventSink
<MenuOpenCloseEvent>
// 30
19
{
20
public
:
21
inline
static
constexpr
auto
RTTI
=
RTTI_TrainingMenu
;
22
constexpr
static
std::string_view
MENU_NAME
=
"Training Menu"
;
23
24
~TrainingMenu
()
override
;
// 00
25
26
// override (IMenu)
27
void
Accept
(
CallbackProcessor
* a_cbReg)
override
;
// 01
28
UI_MESSAGE_RESULTS
ProcessMessage
(
UIMessage
& a_message)
override
;
// 04
29
30
// override (BSTEventSink<MenuOpenCloseEvent>)
31
BSEventNotifyControl
ProcessEvent
(
const
MenuOpenCloseEvent
* a_event,
BSTEventSource<MenuOpenCloseEvent>
* a_eventSource)
override
;
// 01
32
33
// members
34
Actor
*
trainer
;
// 38 - smart ptr
35
ActorValue
skill
;
// 40
36
std::uint32_t
unk44
;
// 44
37
GFxValue
trainingMenuObj
;
// 48 - MovieClip
38
GFxValue
skillName
;
// 60 - TextField
39
GFxValue
skillMeter
;
// 78 - Components.Meter
40
GFxValue
trainerSkill
;
// 90 - TextField
41
GFxValue
timesTrained
;
// A8 - TextField
42
GFxValue
trainCost
;
// C0 - TextField
43
GFxValue
currentGold
;
// D8 - TextField
44
};
45
static_assert
(
sizeof
(
TrainingMenu
) == 0xF0);
46
}
ActorValues.h
BSTEvent.h
GFxValue.h
IMenu.h
RE::Actor
Definition
Actor.h:133
RE::BSTEventSink
Definition
BSTEvent.h:185
RE::BSTEventSource
Definition
BSTEvent.h:19
RE::FxDelegateHandler::CallbackProcessor
Definition
FxDelegateHandler.h:20
RE::GFxValue
Definition
GFxValue.h:92
RE::IMenu
Definition
IMenu.h:55
RE::MenuOpenCloseEvent
Definition
MenuOpenCloseEvent.h:8
RE::TrainingMenu
Definition
TrainingMenu.h:19
RE::TrainingMenu::RTTI
static constexpr auto RTTI
Definition
TrainingMenu.h:21
RE::TrainingMenu::~TrainingMenu
~TrainingMenu() override
RE::TrainingMenu::unk44
std::uint32_t unk44
Definition
TrainingMenu.h:36
RE::TrainingMenu::MENU_NAME
static constexpr std::string_view MENU_NAME
Definition
TrainingMenu.h:22
RE::TrainingMenu::Accept
void Accept(CallbackProcessor *a_cbReg) override
RE::TrainingMenu::skill
ActorValue skill
Definition
TrainingMenu.h:35
RE::TrainingMenu::timesTrained
GFxValue timesTrained
Definition
TrainingMenu.h:41
RE::TrainingMenu::trainer
Actor * trainer
Definition
TrainingMenu.h:34
RE::TrainingMenu::trainCost
GFxValue trainCost
Definition
TrainingMenu.h:42
RE::TrainingMenu::ProcessEvent
BSEventNotifyControl ProcessEvent(const MenuOpenCloseEvent *a_event, BSTEventSource< MenuOpenCloseEvent > *a_eventSource) override
RE::TrainingMenu::ProcessMessage
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
RE::TrainingMenu::skillMeter
GFxValue skillMeter
Definition
TrainingMenu.h:39
RE::TrainingMenu::skillName
GFxValue skillName
Definition
TrainingMenu.h:38
RE::TrainingMenu::trainerSkill
GFxValue trainerSkill
Definition
TrainingMenu.h:40
RE::TrainingMenu::trainingMenuObj
GFxValue trainingMenuObj
Definition
TrainingMenu.h:37
RE::TrainingMenu::currentGold
GFxValue currentGold
Definition
TrainingMenu.h:43
RE::UIMessage
Definition
UIMessage.h:28
RE
Definition
AbsorbEffect.h:6
RE::ActorValue
ActorValue
Definition
ActorValues.h:6
RE::UI_MESSAGE_RESULTS
UI_MESSAGE_RESULTS
Definition
IMenu.h:48
RE::RTTI_TrainingMenu
constexpr REL::ID RTTI_TrainingMenu(static_cast< std::uint64_t >(688920))
RE::BSEventNotifyControl
BSEventNotifyControl
Definition
BSTEvent.h:12
CommonLibSSE
include
RE
T
TrainingMenu.h
Generated by
1.9.8