CommonLibSSE NG
Loading...
Searching...
No Matches
ExtraHotkey.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSExtraData.h"
5
6namespace RE
7{
8 class ExtraHotkey : public BSExtraData
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_ExtraHotkey;
12 inline static constexpr auto VTABLE = VTABLE_ExtraHotkey;
14
15 enum class Hotkey
16 {
17 kUnbound = static_cast<std::underlying_type_t<Hotkey>>(-1),
18 kSlot1 = 0,
19 kSlot2 = 1,
20 kSlot3 = 2,
21 kSlot4 = 3,
22 kSlot5 = 4,
23 kSlot6 = 5,
24 kSlot7 = 6,
25 kSlot8 = 7
26 };
27
29 explicit ExtraHotkey(Hotkey a_hotkey);
30 ~ExtraHotkey() override = default; // 00
31
32 // override (BSExtraData)
33 ExtraDataType GetType() const override; // 01 - { return kHotkey }
34 bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { hotkey != a_rhs->hotkey; }
35
36 // members
38 std::uint8_t unk11; // 11
39 std::uint16_t unk12; // 12
40 std::uint32_t unk14; // 14
41 };
42 static_assert(sizeof(ExtraHotkey) == 0x18);
43}
Definition BSExtraData.h:9
Definition ExtraHotkey.h:9
std::uint32_t unk14
Definition ExtraHotkey.h:40
static constexpr auto VTABLE
Definition ExtraHotkey.h:12
Hotkey
Definition ExtraHotkey.h:16
static constexpr auto RTTI
Definition ExtraHotkey.h:11
ExtraDataType GetType() const override
std::uint16_t unk12
Definition ExtraHotkey.h:39
std::uint8_t unk11
Definition ExtraHotkey.h:38
ExtraHotkey(Hotkey a_hotkey)
stl::enumeration< Hotkey, std::uint8_t > hotkey
Definition ExtraHotkey.h:37
bool IsNotEqual(const BSExtraData *a_rhs) const override
static auto EXTRADATATYPE
Definition ExtraHotkey.h:13
~ExtraHotkey() override=default
Definition PCH.h:223
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_ExtraHotkey(684717, 392384, 0x1ed8da8)
constexpr std::array< REL::VariantID, 1 > VTABLE_ExtraHotkey
Definition Offsets_VTABLE.h:89
ExtraDataType
Definition ExtraDataTypes.h:173