CommonLibVR
Loading...
Searching...
No Matches
DeviceConnectEvent.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/I/InputEvent.h"
4
5namespace RE
6{
8 {
9 public:
10 inline static constexpr auto RTTI = RTTI_DeviceConnectEvent;
11 inline static constexpr auto VTABLE = VTABLE_DeviceConnectEvent;
12
13 ~DeviceConnectEvent() override; // 00
14
15 void Init(INPUT_DEVICE a_device, bool a_connected)
16 {
17 device = a_device;
18 connected = a_connected;
19 }
20
21 // members
22 bool connected; // 18
23 std::uint8_t pad19; // 19
24 std::uint16_t pad1A; // 1A
25 std::uint32_t pad1C; // 1C
26 private:
28 };
29 static_assert(sizeof(DeviceConnectEvent) == 0x20);
30}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition DeviceConnectEvent.h:8
static constexpr auto VTABLE
Definition DeviceConnectEvent.h:11
std::uint16_t pad1A
Definition DeviceConnectEvent.h:24
std::uint32_t pad1C
Definition DeviceConnectEvent.h:25
void Init(INPUT_DEVICE a_device, bool a_connected)
Definition DeviceConnectEvent.h:15
bool connected
Definition DeviceConnectEvent.h:22
~DeviceConnectEvent() override
static constexpr auto RTTI
Definition DeviceConnectEvent.h:10
std::uint8_t pad19
Definition DeviceConnectEvent.h:23
Definition InputEvent.h:25
REX::EnumSet< INPUT_DEVICE, std::uint32_t > device
Definition InputEvent.h:54
Definition AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_DeviceConnectEvent
Definition Offsets_VTABLE.h:11448
constexpr REL::ID RTTI_DeviceConnectEvent(static_cast< std::uint64_t >(690302))
INPUT_DEVICE
Definition InputDevices.h:8