CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
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
7namespace 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#ifndef SKYRIMVR
34 static_assert(sizeof(KinectMenu) == 0x50);
35#else
36 static_assert(sizeof(KinectMenu) == 0x60);
37#endif
38}
Definition: BSTEvent.h:146
Definition: BSTEvent.h:28
Definition: GFxValue.h:90
Definition: IMenu.h:55
Definition: KinectMenu.h:17
static constexpr 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