CommonLibVR
HeldStateHandler.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_HeldStateHandler;
11  inline static constexpr auto VTABLE = VTABLE_HeldStateHandler;
12 
13  ~HeldStateHandler() override = default; // 00
14 
15  // add
16  virtual void UpdateHeldStateActive(const ButtonEvent* a_event); // 05
17  virtual void SetHeldStateActive(bool a_flag); // 06
18 
19  // members
20  bool heldStateActive{ false }; // 10
21  bool triggerReleaseEvent{ false }; // 11
22  std::uint16_t pad12{ 0 }; // 12
23  std::uint32_t pad14{ 0 }; // 14
24  private:
25  KEEP_FOR_RE()
26  };
27 #ifndef SKYRIMVR
28  static_assert(sizeof(HeldStateHandler) == 0x18);
29 #else
30  static_assert(sizeof(HeldStateHandler) == 0x30);
31 #endif
32 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: ButtonEvent.h:16
Definition: HeldStateHandler.h:8
std::uint16_t pad12
Definition: HeldStateHandler.h:22
bool heldStateActive
Definition: HeldStateHandler.h:20
static constexpr auto VTABLE
Definition: HeldStateHandler.h:11
bool triggerReleaseEvent
Definition: HeldStateHandler.h:21
static constexpr auto RTTI
Definition: HeldStateHandler.h:10
virtual void SetHeldStateActive(bool a_flag)
virtual void UpdateHeldStateActive(const ButtonEvent *a_event)
~HeldStateHandler() override=default
std::uint32_t pad14
Definition: HeldStateHandler.h:23
Definition: PlayerInputHandler.h:13
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_HeldStateHandler
Definition: Offsets_VTABLE.h:11749
constexpr REL::ID RTTI_HeldStateHandler(static_cast< std::uint64_t >(687044))