CommonLibSSE (Parapets fork)
BSWin32KeyboardDevice.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_BSWin32KeyboardDevice;
11 
12  ~BSWin32KeyboardDevice() override; // 00
13 
14  // override (BSKeyboardDevice)
15  void Initialize() override; // 01
16  void Poll(float a_timeDelta) override; // 02
17  void Shutdown() override; // 03
18  void ClearInputState() override; // 08 - { std::memset(&curState, 0, 0x200); }
19  void Unk_09(void) override; // 09 - { return; }
20  void Unk_0A(void) override; // 0A - { return; }
21 
22  [[nodiscard]] bool IsPressed(std::uint32_t a_keyCode) const;
23 
24  // members
25  std::uint64_t unk070; // 070
26  std::uint64_t unk078; // 078
27  std::uint64_t unk080; // 080
28  std::uint64_t unk088; // 088
29  std::uint64_t unk090; // 090
30  std::uint64_t unk098; // 098
31  std::uint64_t unk0A0; // 0A0
32  std::uint64_t unk0A8; // 0A8
33  std::uint64_t unk0B0; // 0B0
34  std::uint64_t unk0B8; // 0B8
35  std::uint64_t unk0C0; // 0C0
36  std::uint64_t unk0C8; // 0C8
37  std::uint64_t unk0D0; // 0D0
38  std::uint64_t unk0D8; // 0D8
39  std::uint64_t unk0E0; // 0E0
40  std::uint64_t unk0E8; // 0E8
41  std::uint64_t unk0F0; // 0F0
42  std::uint64_t unk0F8; // 0F8
43  std::uint64_t unk100; // 100
44  std::uint64_t unk108; // 108
45  std::uint64_t unk110; // 110
46  std::uint64_t unk118; // 118
47  std::uint64_t unk120; // 120
48  std::uint64_t unk128; // 128
49  std::uint64_t unk130; // 130
50  std::uint64_t unk138; // 138
51  std::uint64_t unk140; // 140
52  std::uint64_t unk148; // 148
53  std::uint64_t unk150; // 150
54  std::uint64_t unk158; // 158
55  std::uint64_t unk160; // 160
56  std::uint8_t curState[0x100]; // 168
57  std::uint8_t prevState[0x100]; // 268
58  std::uint64_t unk368; // 368
59  };
60  static_assert(offsetof(BSWin32KeyboardDevice, curState) == 0x168);
61  static_assert(offsetof(BSWin32KeyboardDevice, prevState) == 0x268);
62  static_assert(sizeof(BSWin32KeyboardDevice) == 0x370);
63 }
Definition: BSKeyboardDevice.h:8
Definition: BSWin32KeyboardDevice.h:8
std::uint64_t unk160
Definition: BSWin32KeyboardDevice.h:55
void Unk_0A(void) override
std::uint64_t unk110
Definition: BSWin32KeyboardDevice.h:45
std::uint64_t unk130
Definition: BSWin32KeyboardDevice.h:49
void Shutdown() override
std::uint64_t unk120
Definition: BSWin32KeyboardDevice.h:47
std::uint64_t unk0F0
Definition: BSWin32KeyboardDevice.h:41
std::uint64_t unk128
Definition: BSWin32KeyboardDevice.h:48
std::uint64_t unk108
Definition: BSWin32KeyboardDevice.h:44
bool IsPressed(std::uint32_t a_keyCode) const
std::uint64_t unk148
Definition: BSWin32KeyboardDevice.h:52
std::uint64_t unk158
Definition: BSWin32KeyboardDevice.h:54
std::uint64_t unk0D0
Definition: BSWin32KeyboardDevice.h:37
std::uint64_t unk088
Definition: BSWin32KeyboardDevice.h:28
std::uint64_t unk150
Definition: BSWin32KeyboardDevice.h:53
void Initialize() override
std::uint64_t unk0A8
Definition: BSWin32KeyboardDevice.h:32
std::uint64_t unk138
Definition: BSWin32KeyboardDevice.h:50
std::uint64_t unk0C8
Definition: BSWin32KeyboardDevice.h:36
void Unk_09(void) override
~BSWin32KeyboardDevice() override
void Poll(float a_timeDelta) override
std::uint64_t unk078
Definition: BSWin32KeyboardDevice.h:26
std::uint64_t unk118
Definition: BSWin32KeyboardDevice.h:46
std::uint64_t unk0A0
Definition: BSWin32KeyboardDevice.h:31
std::uint64_t unk0B8
Definition: BSWin32KeyboardDevice.h:34
std::uint8_t prevState[0x100]
Definition: BSWin32KeyboardDevice.h:57
std::uint64_t unk0E8
Definition: BSWin32KeyboardDevice.h:40
static constexpr auto RTTI
Definition: BSWin32KeyboardDevice.h:10
std::uint64_t unk368
Definition: BSWin32KeyboardDevice.h:58
std::uint64_t unk0C0
Definition: BSWin32KeyboardDevice.h:35
std::uint64_t unk140
Definition: BSWin32KeyboardDevice.h:51
std::uint64_t unk100
Definition: BSWin32KeyboardDevice.h:43
std::uint64_t unk0D8
Definition: BSWin32KeyboardDevice.h:38
std::uint64_t unk070
Definition: BSWin32KeyboardDevice.h:25
std::uint8_t curState[0x100]
Definition: BSWin32KeyboardDevice.h:56
std::uint64_t unk0E0
Definition: BSWin32KeyboardDevice.h:39
std::uint64_t unk098
Definition: BSWin32KeyboardDevice.h:30
std::uint64_t unk090
Definition: BSWin32KeyboardDevice.h:29
std::uint64_t unk0F8
Definition: BSWin32KeyboardDevice.h:42
void ClearInputState() override
std::uint64_t unk0B0
Definition: BSWin32KeyboardDevice.h:33
std::uint64_t unk080
Definition: BSWin32KeyboardDevice.h:27
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSWin32KeyboardDevice
Definition: Offsets_RTTI.h:3645