CommonLibVR
Loading...
Searching...
No Matches
LevelUpMenu.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/I/IMenu.h"
5
6namespace RE
7{
8 // menuDepth = 3
9 // flags = kPausesGame | kModal | kDisablePauseMenu
10 // kUsesCursor is gamepad is disabled
11 // context = kMenuMode
12 class LevelUpMenu : public IMenu
13 {
14 public:
15 inline static constexpr auto RTTI = RTTI_LevelUpMenu;
16 constexpr static std::string_view MENU_NAME = "LevelUp Menu";
17
19 {
20 public:
21#ifndef SKYRIMVR
22 inline static constexpr auto RTTI = RTTI___ConfirmLevelUpAttributeCallback;
23#endif
24 inline static constexpr auto VTABLE = VTABLE___ConfirmLevelUpAttributeCallback;
25
27
28 // override (IMessageBoxCallback)
29 void Run(Message a_msg) override; // 01
30
31 // members
34 private:
36 };
37 static_assert(sizeof(ConfirmLevelUpAttributeCallback) == 0x20);
38
39 ~LevelUpMenu() override; // 00
40
41 // override (IMenu)
42 void Accept(CallbackProcessor* a_cbReg) override; // 01
43
44 // members
45 bool playerLeveled; // 30
46 std::uint8_t pad31; // 31
47 std::uint16_t pad32; // 32
48 std::uint32_t pad34; // 34
49 private:
51 };
52#ifndef SKYRIMVR
53 static_assert(sizeof(LevelUpMenu) == 0x38);
54#else
55 static_assert(sizeof(LevelUpMenu) == 0x48);
56#endif
57}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition FxDelegateHandler.h:20
Definition IMenu.h:64
Definition IMessageBoxCallback.h:8
Message
Definition IMessageBoxCallback.h:14
RE::ActorValue actorValue
Definition LevelUpMenu.h:33
LevelUpMenu * menu
Definition LevelUpMenu.h:32
static constexpr auto RTTI
Definition LevelUpMenu.h:22
static constexpr auto VTABLE
Definition LevelUpMenu.h:24
Definition LevelUpMenu.h:13
static constexpr auto RTTI
Definition LevelUpMenu.h:15
std::uint16_t pad32
Definition LevelUpMenu.h:47
static constexpr std::string_view MENU_NAME
Definition LevelUpMenu.h:16
void Accept(CallbackProcessor *a_cbReg) override
~LevelUpMenu() override
std::uint8_t pad31
Definition LevelUpMenu.h:46
bool playerLeveled
Definition LevelUpMenu.h:45
std::uint32_t pad34
Definition LevelUpMenu.h:48
Definition AbsorbEffect.h:6
constexpr REL::ID RTTI_LevelUpMenu(static_cast< std::uint64_t >(688860))
ActorValue
Definition ActorValues.h:6
constexpr std::array< REL::ID, 1 > VTABLE___ConfirmLevelUpAttributeCallback
Definition Offsets_VTABLE.h:13050
constexpr REL::ID RTTI___ConfirmLevelUpAttributeCallback(static_cast< std::uint64_t >(688861))