CommonLibVR
Loading...
Searching...
No Matches
IDEvent.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/I/InputEvent.h"
5
6namespace RE
7{
8 class IDEvent : public InputEvent
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_IDEvent;
12 inline static constexpr auto VTABLE = VTABLE_IDEvent;
13
14 ~IDEvent() override; // 00
15
16 // override
17 bool HasIDCode() const override; // 01 - { return true; }
18 [[nodiscard]] const BSFixedString& QUserEvent() const override; // 02 - { return userEvent; }
19
20 [[nodiscard]] constexpr std::uint32_t GetIDCode() const noexcept { return idCode; }
21
22 // members
24 std::uint32_t idCode; // 20
25 std::uint32_t pad24; // 24
26 private:
28 };
29 static_assert(sizeof(IDEvent) == 0x28);
30}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition IDEvent.h:9
std::uint32_t pad24
Definition IDEvent.h:25
std::uint32_t idCode
Definition IDEvent.h:24
~IDEvent() override
static constexpr auto RTTI
Definition IDEvent.h:11
constexpr std::uint32_t GetIDCode() const noexcept
Definition IDEvent.h:20
BSFixedString userEvent
Definition IDEvent.h:23
static constexpr auto VTABLE
Definition IDEvent.h:12
const BSFixedString & QUserEvent() const override
bool HasIDCode() const override
Definition InputEvent.h:25
Definition AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_IDEvent
Definition Offsets_VTABLE.h:11793
constexpr REL::ID RTTI_IDEvent(static_cast< std::uint64_t >(687043))