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
EXTRADATATYPE
=
ExtraDataType::kHotkey
;
13
14
enum class
Hotkey
15
{
16
kUnbound =
static_cast<
std::underlying_type_t<Hotkey>
>
(-1),
17
kSlot1 = 0,
18
kSlot2 = 1,
19
kSlot3 = 2,
20
kSlot4 = 3,
21
kSlot5 = 4,
22
kSlot6 = 5,
23
kSlot7 = 6,
24
kSlot8 = 7
25
};
26
27
ExtraHotkey
();
28
explicit
ExtraHotkey
(
Hotkey
a_hotkey);
29
~ExtraHotkey
()
override
=
default
;
// 00
30
31
// override (BSExtraData)
32
ExtraDataType
GetType
()
const override
;
// 01 - { return kHotkey }
33
bool
IsNotEqual
(
const
BSExtraData
* a_rhs)
const override
;
// 02 - { hotkey != a_rhs->hotkey; }
34
35
// members
36
stl::enumeration<Hotkey, std::uint8_t>
hotkey
;
// 10
37
std::uint8_t
unk11
;
// 11
38
std::uint16_t
unk12
;
// 12
39
std::uint32_t
unk14
;
// 14
40
};
41
static_assert(
sizeof
(
ExtraHotkey
) == 0x18);
42
}
BSExtraData.h
ExtraDataTypes.h
RE::BSExtraData
Definition:
BSExtraData.h:9
RE::ExtraHotkey
Definition:
ExtraHotkey.h:9
RE::ExtraHotkey::unk14
std::uint32_t unk14
Definition:
ExtraHotkey.h:39
RE::ExtraHotkey::Hotkey
Hotkey
Definition:
ExtraHotkey.h:15
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:38
RE::ExtraHotkey::ExtraHotkey
ExtraHotkey()
RE::ExtraHotkey::EXTRADATATYPE
static constexpr auto EXTRADATATYPE
Definition:
ExtraHotkey.h:12
RE::ExtraHotkey::unk11
std::uint8_t unk11
Definition:
ExtraHotkey.h:37
RE::ExtraHotkey::ExtraHotkey
ExtraHotkey(Hotkey a_hotkey)
RE::ExtraHotkey::hotkey
stl::enumeration< Hotkey, std::uint8_t > hotkey
Definition:
ExtraHotkey.h:36
RE::ExtraHotkey::IsNotEqual
bool IsNotEqual(const BSExtraData *a_rhs) const override
RE::ExtraHotkey::~ExtraHotkey
~ExtraHotkey() override=default
SKSE::stl::enumeration< Hotkey, std::uint8_t >
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_ExtraHotkey
constexpr REL::ID RTTI_ExtraHotkey
Definition:
Offsets_RTTI.h:4690
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kHotkey
@ kHotkey
CommonLibSSE
include
RE
E
ExtraHotkey.h
Generated by
1.9.1