CommonLibSSE (Parapets fork)
BSVRInterface.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTEvent.h"
4 #include "vr/COpenVRContext.h"
5 #include "vr/OpenVRTypes.h"
6 
7 #ifdef SKYRIMVR
8 
9 namespace RE
10 {
11  struct VROverlayChange;
12  struct VRDeviceConnectionChange;
13  struct VRResetHMDHeight;
14 
15  class BSVRInterface : public BSTEventSource<VROverlayChange>, // 00
16  public BSTEventSource<VRDeviceConnectionChange>, // 58
17  public BSTEventSource<VRResetHMDHeight> // B0
18  {
19  public:
20  [[nodiscard]] vr::IVROverlay* VROverlay()
21  {
23  return get(moduleContext);
24  }
25 
26  // members
27  std::uint64_t unk108; // 108
28  std::uint64_t unk110; // 118
29  std::uint64_t unk118; // 118
30  std::uint64_t unk120; // 120
31  std::uint64_t unk128; // 128
32  std::uint64_t unk130; // 130
33  std::uint64_t unk138; // 138
34  std::uint64_t unk140; // 140
35  std::uint64_t unk148; // 148
36  std::uint64_t unk150; // 150
37  std::uint64_t unk158; // 158
38  std::uint64_t unk160; // 160
39  std::uint64_t unk168; // 168
40  std::uint64_t unk170; // 170
41  std::uint64_t unk178; // 178
42  std::uint64_t unk180; // 180
43  std::uint64_t unk188; // 188
44  vr::COpenVRContext moduleContext; // 190
45  vr::VROverlayHandle_t currentOverlay; // 1F8
46  std::uint64_t unk200; // 200
47  };
48  static_assert(sizeof(BSVRInterface) == 0x208);
49 }
50 #endif
Definition: Relocation.h:859
Definition: Relocation.h:985
Definition: COpenVRContext.h:20
Definition: IVROverlay.h:168
Definition: AbsorbEffect.h:6
std::uint64_t VROverlayHandle_t
Definition: OpenVRTypes.h:48