CommonLibVR
Loading...
Searching...
No Matches
ActivateHandler.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace RE
6{
8 {
9 public:
10 inline static constexpr auto RTTI = RTTI_ActivateHandler;
11 inline static constexpr auto VTABLE = VTABLE_ActivateHandler;
12
13 ~ActivateHandler() override; // 00
14
15 // override (PlayerInputHandler)
16 bool CanProcess(InputEvent* a_event) override; // 01
17 void ProcessButton(ButtonEvent* a_event, PlayerControlsData* a_data) override; // 04
18
19 constexpr inline void SetHeldButtonActionSuccess(bool a_success) noexcept { heldButtonActionSuccess = a_success; }
20
21 // members
22 std::uint8_t unk18; // 18
23 std::uint8_t unk19; // 19
25 bool disabled; // 1B
26 std::uint32_t unk1C; // 1C
27 private:
29 };
30#ifndef SKYRIMVR
31 static_assert(sizeof(ActivateHandler) == 0x20);
32#else
33 static_assert(sizeof(ActivateHandler) == 0x38);
34#endif
35}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition ButtonEvent.h:16
Definition HeldStateHandler.h:8
Definition InputEvent.h:25
Definition PlayerControlsData.h:8
Definition AbsorbEffect.h:6
constexpr REL::ID RTTI_ActivateHandler(static_cast< std::uint64_t >(687057))
constexpr std::array< REL::ID, 1 > VTABLE_ActivateHandler
Definition Offsets_VTABLE.h:7359
Definition ActivateHandler.h:8
void ProcessButton(ButtonEvent *a_event, PlayerControlsData *a_data) override
std::uint32_t unk1C
Definition ActivateHandler.h:26
static constexpr auto VTABLE
Definition ActivateHandler.h:11
std::uint8_t unk18
Definition ActivateHandler.h:22
bool heldButtonActionSuccess
Definition ActivateHandler.h:24
bool disabled
Definition ActivateHandler.h:25
std::uint8_t unk19
Definition ActivateHandler.h:23
static constexpr auto RTTI
Definition ActivateHandler.h:10
constexpr void SetHeldButtonActionSuccess(bool a_success) noexcept
Definition ActivateHandler.h:19
bool CanProcess(InputEvent *a_event) override
~ActivateHandler() override