CommonLibVR
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 
6 namespace 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  private:
43  KEEP_FOR_RE()
44  };
45 #ifndef SKYRIMVR
46  static_assert(sizeof(TweenMenu) == 0x50);
47 #else
48  static_assert(sizeof(TweenMenu) == 0x60);
49 #endif
50 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSTArray.h:378
Definition: FxDelegateHandler.h:20
Definition: IMenu.h:64
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
constexpr static std::string_view MENU_NAME
Definition: TweenMenu.h:20
void PostDisplay() override
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TweenMenu(static_cast< std::uint64_t >(688922))
UI_MESSAGE_RESULTS
Definition: IMenu.h:49
Definition: ID.h:10
Definition: TweenMenu.h:23
const char * fileName
Definition: TweenMenu.h:27
BSResource::ID * fileHash
Definition: TweenMenu.h:26