CommonLibSSE (Parapets fork)
DeviceConnectEvent.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/I/InputEvent.h"
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_DeviceConnectEvent;
11 
12  ~DeviceConnectEvent() override; // 00
13 
14  void Init(INPUT_DEVICE a_device, bool a_connected)
15  {
16  device = a_device;
17  connected = a_connected;
18  }
19 
20  // members
21  bool connected; // 18
22  std::uint8_t pad19; // 19
23  std::uint16_t pad1A; // 1A
24  std::uint32_t pad1C; // 1C
25  };
26  static_assert(sizeof(DeviceConnectEvent) == 0x20);
27 }
Definition: DeviceConnectEvent.h:8
std::uint16_t pad1A
Definition: DeviceConnectEvent.h:23
std::uint32_t pad1C
Definition: DeviceConnectEvent.h:24
void Init(INPUT_DEVICE a_device, bool a_connected)
Definition: DeviceConnectEvent.h:14
bool connected
Definition: DeviceConnectEvent.h:21
~DeviceConnectEvent() override
static constexpr auto RTTI
Definition: DeviceConnectEvent.h:10
std::uint8_t pad19
Definition: DeviceConnectEvent.h:22
Definition: InputEvent.h:26
stl::enumeration< INPUT_DEVICE, std::uint32_t > device
Definition: InputEvent.h:45
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_DeviceConnectEvent
Definition: Offsets_RTTI.h:4592
INPUT_DEVICE
Definition: InputDevices.h:8