CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
TweenMenu.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTArray.h"
4#include "RE/I/IMenu.h"
5
6namespace RE
7{
8 namespace BSResource
9 {
10 struct ID;
11 }
12
13 // menuDepth = 0
14 // flags = kPausesGame | kUpdateUsesCursor | kAllowSaving | kDontHideCursorWhenTopmost | kCustomRendering
15 // context = kMenuMode
16 class TweenMenu : public IMenu
17 {
18 public:
19 inline static constexpr auto RTTI = RTTI_TweenMenu;
20 constexpr static std::string_view MENU_NAME = "TweenMenu";
21
22 struct PerkData
23 {
24 public:
25 // members
27 const char* fileName; // 08
28 };
29 static_assert(sizeof(PerkData) == 0x10);
30
31 ~TweenMenu() 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 void PostDisplay() override; // 06
37
38 // members
40 float unk48; // 48
41 float unk4C; // 4C
42 };
43#ifndef SKYRIMVR
44 static_assert(sizeof(TweenMenu) == 0x50);
45#else
46 static_assert(sizeof(TweenMenu) == 0x60);
47#endif
48}
Definition: BSTArray.h:377
Definition: FxDelegateHandler.h:19
Definition: IMenu.h:55
Definition: TweenMenu.h:17
BSTArray< PerkData > perkData
Definition: TweenMenu.h:39
static constexpr auto RTTI
Definition: TweenMenu.h:19
~TweenMenu() override
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
float unk48
Definition: TweenMenu.h:40
void Accept(CallbackProcessor *a_processor) override
float unk4C
Definition: TweenMenu.h:41
static constexpr std::string_view MENU_NAME
Definition: TweenMenu.h:20
void PostDisplay() override
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
UI_MESSAGE_RESULTS
Definition: IMenu.h:48
constexpr REL::ID RTTI_TweenMenu
Definition: Offsets_RTTI.h:6117
Definition: ID.h:10
Definition: TweenMenu.h:23
const char * fileName
Definition: TweenMenu.h:27
BSResource::ID * fileHash
Definition: TweenMenu.h:26