CommonLibVR
CreditsMenu.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/I/IMenu.h"
5 
6 namespace RE
7 {
8  // menuDepth = 10
9  // flags = kPausesGame
10  // context = kMenuMode
11  class CreditsMenu :
12  public IMenu, // 00
13  public GFxFunctionHandler // 30
14  {
15  public:
16  inline static constexpr auto RTTI = RTTI_CreditsMenu;
17  constexpr static std::string_view MENU_NAME = "Credits Menu";
18 
19  ~CreditsMenu() override; // 00
20 
21  // override (IMenu)
22  UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
23 
24  // override (GFxFunctionHandler)
25  void Call(Params& a_params) override; // 01
26  private:
27  KEEP_FOR_RE()
28  };
29 #ifndef SKYRIMVR
30  static_assert(sizeof(CreditsMenu) == 0x40);
31 #else
32  static_assert(sizeof(CreditsMenu) == 0x50);
33 #endif
34 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: CreditsMenu.h:14
constexpr static std::string_view MENU_NAME
Definition: CreditsMenu.h:17
~CreditsMenu() override
static constexpr auto RTTI
Definition: CreditsMenu.h:16
void Call(Params &a_params) override
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
Definition: GFxFunctionHandler.h:12
Definition: IMenu.h:64
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_CreditsMenu(static_cast< std::uint64_t >(688827))
UI_MESSAGE_RESULTS
Definition: IMenu.h:49
Definition: GFxFunctionHandler.h:18