CommonLibSSE (Parapets fork)
TutorialMenu.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/G/GFxValue.h"
5 #include "RE/I/IMenu.h"
6 
7 namespace RE
8 {
9  // menuDepth = 10
10  // flags = kPausesGame | kModal | kUpdateUsesCursor
11  // context = kMenuMode
12  class TutorialMenu : public IMenu
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_TutorialMenu;
16  constexpr static std::string_view MENU_NAME = "Tutorial Menu";
17 
18  ~TutorialMenu() override; // 00
19 
20  // override (IMenu)
21  void Accept(CallbackProcessor* a_processor) override; // 01
22  UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
23 
25 
26  static void OpenTutorialMenu(DEFAULT_OBJECT a_id);
27  static void OpenTutorialMenu(BGSMessage* a_message);
28  static void OpenTutorialMenu(DEFAULT_OBJECT a_id, BGSMessage* a_message);
29 
30  // members
31  GFxValue root; // 30 - "Menu_mc"
32  };
33 #ifndef SKYRIMVR
34  static_assert(sizeof(TutorialMenu) == 0x48);
35 #else
36  static_assert(sizeof(TutorialMenu) == 0x58);
37 #endif
38 }
Definition: BGSMessage.h:17
Definition: BSTArray.h:377
Definition: FxDelegateHandler.h:19
Definition: GFxValue.h:92
Definition: IMenu.h:56
Definition: TutorialMenu.h:13
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
~TutorialMenu() override
GFxValue root
Definition: TutorialMenu.h:31
static void OpenTutorialMenu(DEFAULT_OBJECT a_id)
void Accept(CallbackProcessor *a_processor) override
static constexpr auto RTTI
Definition: TutorialMenu.h:15
static void OpenTutorialMenu(DEFAULT_OBJECT a_id, BGSMessage *a_message)
static void OpenTutorialMenu(BGSMessage *a_message)
constexpr static std::string_view MENU_NAME
Definition: TutorialMenu.h:16
static BSTArray< DEFAULT_OBJECT > & QTutorialsShown()
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
UI_MESSAGE_RESULTS
Definition: IMenu.h:49
constexpr REL::ID RTTI_TutorialMenu
Definition: Offsets_RTTI.h:6116
DEFAULT_OBJECT
Definition: BGSDefaultObjectManager.h:12