CommonLibSSE (powerof3)
KinectMenu.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTEvent.h"
4 #include "RE/G/GFxValue.h"
5 #include "RE/I/IMenu.h"
6 
7 namespace RE
8 {
9  class MenuOpenCloseEvent;
10 
11  // menuDepth = 6
12  // flags = kAllowSaving | kCustomRendering | kAssignCursorToRenderer
13  // context = kNone
14  class KinectMenu :
15  public IMenu, // 00
16  public BSTEventSink<MenuOpenCloseEvent> // 30
17  {
18  public:
19  inline static constexpr auto RTTI = RTTI_KinectMenu;
20  constexpr static std::string_view MENU_NAME = "Kinect Menu";
21 
22  ~KinectMenu() override; // 00
23 
24  // override (IMenu)
25  UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
26 
27  // override (BSTEventSink<MenuOpenCloseEvent>)
29 
30  // members
31  GFxValue root; // 38 - "Menu_mc"
32  };
33  static_assert(sizeof(KinectMenu) == 0x50);
34 }
Definition: BSTEvent.h:146
Definition: GFxValue.h:90
Definition: IMenu.h:55
Definition: KinectMenu.h:17
constexpr static std::string_view MENU_NAME
Definition: KinectMenu.h:20
GFxValue root
Definition: KinectMenu.h:31
BSEventNotifyControl ProcessEvent(const MenuOpenCloseEvent *a_event, BSTEventSource< MenuOpenCloseEvent > *a_eventSource) override
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
static constexpr auto RTTI
Definition: KinectMenu.h:19
~KinectMenu() override
Definition: MenuOpenCloseEvent.h:8
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
UI_MESSAGE_RESULTS
Definition: IMenu.h:48
constexpr REL::ID RTTI_KinectMenu
Definition: Offsets_RTTI.h:5099
BSEventNotifyControl
Definition: BSTEvent.h:12