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
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>)
28
BSEventNotifyControl
ProcessEvent
(
const
MenuOpenCloseEvent
* a_event,
BSTEventSource<MenuOpenCloseEvent>
* a_eventSource)
override
;
// 01
29
30
// members
31
GFxValue
root
;
// 38 - "Menu_mc"
32
private
:
33
KEEP_FOR_RE
()
34
};
35
#ifndef SKYRIMVR
36
static_assert
(
sizeof
(
KinectMenu
) == 0x50);
37
#else
38
static_assert
(
sizeof
(
KinectMenu
) == 0x60);
39
#endif
40
}
BSTEvent.h
GFxValue.h
IMenu.h
KEEP_FOR_RE
#define KEEP_FOR_RE()
Definition
PCH.h:517
RE::BSTEventSink
Definition
BSTEvent.h:143
RE::BSTEventSource
Definition
BSTEvent.h:19
RE::GFxValue
Definition
GFxValue.h:92
RE::IMenu
Definition
IMenu.h:64
RE::KinectMenu
Definition
KinectMenu.h:17
RE::KinectMenu::MENU_NAME
static constexpr std::string_view MENU_NAME
Definition
KinectMenu.h:20
RE::KinectMenu::root
GFxValue root
Definition
KinectMenu.h:31
RE::KinectMenu::ProcessEvent
BSEventNotifyControl ProcessEvent(const MenuOpenCloseEvent *a_event, BSTEventSource< MenuOpenCloseEvent > *a_eventSource) override
RE::KinectMenu::ProcessMessage
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
RE::KinectMenu::RTTI
static constexpr auto RTTI
Definition
KinectMenu.h:19
RE::KinectMenu::~KinectMenu
~KinectMenu() override
RE::MenuOpenCloseEvent
Definition
MenuOpenCloseEvent.h:8
RE::UIMessage
Definition
UIMessage.h:28
RE
Definition
AbsorbEffect.h:6
RE::RTTI_KinectMenu
constexpr REL::ID RTTI_KinectMenu(static_cast< std::uint64_t >(686465))
RE::UI_MESSAGE_RESULTS
UI_MESSAGE_RESULTS
Definition
IMenu.h:49
RE::BSEventNotifyControl
BSEventNotifyControl
Definition
BSTEvent.h:12
CommonLibVR
include
RE
K
KinectMenu.h
Generated by
1.9.8