CommonLibSSE (powerof3)
DialogueMenu.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTArray.h"
4 #include "RE/B/BSTEvent.h"
5 #include "RE/I/IMenu.h"
6 
7 namespace RE
8 {
9  class MenuOpenCloseEvent;
10 
11  // menuDepth = 3
12  // flags = kUpdateUsesCursor | kDontHideCursorWhenTopmost
13  // context = kMenuMode
14  class DialogueMenu :
15  public IMenu, // 00
16  public BSTEventSink<MenuOpenCloseEvent> // 30
17  {
18  public:
19  inline static constexpr auto RTTI = RTTI_DialogueMenu;
20  constexpr static std::string_view MENU_NAME = "Dialogue Menu";
21 
22  struct Data
23  {
24  void* unk00; // 00
25  std::uint64_t unk08; // 08
26  };
27  static_assert(sizeof(Data) == 0x10);
28 
29  ~DialogueMenu() override; // 00
30 
31  // override (IMenu)
32  void Accept(CallbackProcessor* a_processor) override; // 01
33  UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
34 
35  // override (BSTEventSink<MenuOpenCloseEvent>)
37 
38  // members
40  };
41  static_assert(sizeof(DialogueMenu) == 0x50);
42 }
Definition: BSTArray.h:377
Definition: BSTEvent.h:146
Definition: DialogueMenu.h:17
BSTArray< Data > unk38
Definition: DialogueMenu.h:39
~DialogueMenu() override
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
constexpr static std::string_view MENU_NAME
Definition: DialogueMenu.h:20
static constexpr auto RTTI
Definition: DialogueMenu.h:19
BSEventNotifyControl ProcessEvent(const MenuOpenCloseEvent *a_event, BSTEventSource< MenuOpenCloseEvent > *a_eventSource) override
void Accept(CallbackProcessor *a_processor) override
Definition: FxDelegateHandler.h:19
Definition: IMenu.h:55
Definition: MenuOpenCloseEvent.h:8
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
UI_MESSAGE_RESULTS
Definition: IMenu.h:48
constexpr REL::ID RTTI_DialogueMenu
Definition: Offsets_RTTI.h:4593
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: DialogueMenu.h:23
std::uint64_t unk08
Definition: DialogueMenu.h:25
void * unk00
Definition: DialogueMenu.h:24