CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
ThumbstickEvent.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/I/IDEvent.h"
4
5namespace RE
6{
7 class ThumbstickEvent : public IDEvent
8 {
9 public:
10 inline static constexpr auto RTTI = RTTI_ThumbstickEvent;
11 inline static constexpr auto VTABLE = VTABLE_ThumbstickEvent;
12
14 {
15 enum InputType : std::uint32_t
16 {
18 kRightThumbstick = 0x0C
19 };
20 };
22
23 [[nodiscard]] bool IsLeft() const;
24 [[nodiscard]] bool IsRight() const;
25
26 // members
27 float xValue; // 28
28 float yValue; // 2C
29 };
30 static_assert(sizeof(ThumbstickEvent) == 0x30);
31}
Definition IDEvent.h:9
Definition ThumbstickEvent.h:8
float yValue
Definition ThumbstickEvent.h:28
static constexpr auto RTTI
Definition ThumbstickEvent.h:10
bool IsLeft() const
static constexpr auto VTABLE
Definition ThumbstickEvent.h:11
bool IsRight() const
float xValue
Definition ThumbstickEvent.h:27
Definition AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ThumbstickEvent
Definition Offsets_VTABLE.h:12932
constexpr REL::ID RTTI_ThumbstickEvent(static_cast< std::uint64_t >(688897))
Definition ThumbstickEvent.h:14
InputType
Definition ThumbstickEvent.h:16
@ kRightThumbstick
Definition ThumbstickEvent.h:18
@ kLeftThumbstick
Definition ThumbstickEvent.h:17