CommonLibVR
CharEvent.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/I/InputEvent.h"
4 
5 namespace RE
6 {
7  class CharEvent : public InputEvent
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_CharEvent;
11  inline static constexpr auto VTABLE = VTABLE_CharEvent;
12 
13  ~CharEvent() override; // 00
14 
15  void Init(std::uint32_t a_keyCode)
16  {
17  keyCode = a_keyCode;
18  }
19 
20  std::uint32_t keyCode; // 18
21  std::uint32_t pad1C; // 1C
22  private:
23  KEEP_FOR_RE()
24  };
25  static_assert(sizeof(CharEvent) == 0x20);
26 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: CharEvent.h:8
std::uint32_t keyCode
Definition: CharEvent.h:20
std::uint32_t pad1C
Definition: CharEvent.h:21
static constexpr auto RTTI
Definition: CharEvent.h:10
~CharEvent() override
void Init(std::uint32_t a_keyCode)
Definition: CharEvent.h:15
static constexpr auto VTABLE
Definition: CharEvent.h:11
Definition: InputEvent.h:25
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_CharEvent(static_cast< std::uint64_t >(690301))
constexpr std::array< REL::ID, 1 > VTABLE_CharEvent
Definition: Offsets_VTABLE.h:10635