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  inline static constexpr auto VTABLE = VTABLE_DialogueMenu;
21  constexpr static std::string_view MENU_NAME = "Dialogue Menu";
22 
23  struct Data
24  {
25  void* unk00; // 00
26  std::uint64_t unk08; // 08
27  };
28  static_assert(sizeof(Data) == 0x10);
29 
30  ~DialogueMenu() override; // 00
31 
32  // override (IMenu)
33  void Accept(CallbackProcessor* a_processor) override; // 01
34  UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
35 
36  // override (BSTEventSink<MenuOpenCloseEvent>)
38 
39  // members
41  };
42  static_assert(sizeof(DialogueMenu) == 0x50);
43 }
Definition: BSTArray.h:378
Definition: BSTEvent.h:143
Definition: DialogueMenu.h:17
BSTArray< Data > unk38
Definition: DialogueMenu.h:40
~DialogueMenu() override
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
constexpr static std::string_view MENU_NAME
Definition: DialogueMenu.h:21
static constexpr auto VTABLE
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:20
Definition: IMenu.h:55
Definition: MenuOpenCloseEvent.h:8
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_DialogueMenu(static_cast< std::uint64_t >(688829))
UI_MESSAGE_RESULTS
Definition: IMenu.h:48
constexpr std::array< REL::ID, 2 > VTABLE_DialogueMenu
Definition: Offsets_VTABLE.h:11449
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: DialogueMenu.h:24
std::uint64_t unk08
Definition: DialogueMenu.h:26
void * unk00
Definition: DialogueMenu.h:25