CommonLibSSE (powerof3)
ExtraHotkey.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/B/BSExtraData.h
"
4
#include "
RE/E/ExtraDataTypes.h
"
5
6
namespace
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
;
13
inline
static
constexpr
auto
EXTRADATATYPE
=
ExtraDataType::kHotkey
;
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
28
ExtraHotkey
();
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
37
REX::EnumSet<Hotkey, std::uint8_t>
hotkey
;
// 10
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
}
BSExtraData.h
ExtraDataTypes.h
REX::EnumSet< Hotkey, std::uint8_t >
RE::BSExtraData
Definition:
BSExtraData.h:9
RE::ExtraHotkey
Definition:
ExtraHotkey.h:9
RE::ExtraHotkey::unk14
std::uint32_t unk14
Definition:
ExtraHotkey.h:40
RE::ExtraHotkey::VTABLE
static constexpr auto VTABLE
Definition:
ExtraHotkey.h:12
RE::ExtraHotkey::Hotkey
Hotkey
Definition:
ExtraHotkey.h:16
RE::ExtraHotkey::RTTI
static constexpr auto RTTI
Definition:
ExtraHotkey.h:11
RE::ExtraHotkey::GetType
ExtraDataType GetType() const override
RE::ExtraHotkey::unk12
std::uint16_t unk12
Definition:
ExtraHotkey.h:39
RE::ExtraHotkey::ExtraHotkey
ExtraHotkey()
RE::ExtraHotkey::EXTRADATATYPE
static constexpr auto EXTRADATATYPE
Definition:
ExtraHotkey.h:13
RE::ExtraHotkey::hotkey
REX::EnumSet< Hotkey, std::uint8_t > hotkey
Definition:
ExtraHotkey.h:37
RE::ExtraHotkey::unk11
std::uint8_t unk11
Definition:
ExtraHotkey.h:38
RE::ExtraHotkey::ExtraHotkey
ExtraHotkey(Hotkey a_hotkey)
RE::ExtraHotkey::IsNotEqual
bool IsNotEqual(const BSExtraData *a_rhs) const override
RE::ExtraHotkey::~ExtraHotkey
~ExtraHotkey() override=default
RE
Definition:
AbsorbEffect.h:6
RE::VTABLE_ExtraHotkey
constexpr std::array< REL::ID, 1 > VTABLE_ExtraHotkey
Definition:
Offsets_VTABLE.h:11545
RE::RTTI_ExtraHotkey
constexpr REL::ID RTTI_ExtraHotkey(static_cast< std::uint64_t >(684717))
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kHotkey
@ kHotkey
CommonLibSSE
include
RE
E
ExtraHotkey.h
Generated by
1.9.1