CommonLibVR
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 private:
34 };
35#ifndef SKYRIMVR
36 static_assert(sizeof(KinectMenu) == 0x50);
37#else
38 static_assert(sizeof(KinectMenu) == 0x60);
39#endif
40}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition BSTEvent.h:143
Definition BSTEvent.h:19
Definition GFxValue.h:92
Definition IMenu.h:64
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
constexpr REL::ID RTTI_KinectMenu(static_cast< std::uint64_t >(686465))
UI_MESSAGE_RESULTS
Definition IMenu.h:49
BSEventNotifyControl
Definition BSTEvent.h:12