CommonLibSSE NG
ExtraAction.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
enum class
OBJECT_ACTION
9
{
10
kNone
= 0,
11
kUseDefault
= 1 << 0,
12
kActivate
= 1 << 1,
13
kOpen
= 1 << 2,
14
kOpenByDefault
= 1 << 3
15
};
16
17
class
TESObjectREFR;
18
19
class
ExtraAction
:
public
BSExtraData
20
{
21
public
:
22
inline
static
constexpr
auto
RTTI
=
RTTI_ExtraAction
;
23
inline
static
auto
EXTRADATATYPE
=
ExtraDataType::kAction
;
24
25
~ExtraAction
()
override
;
// 00
26
27
// override (BSExtraData)
28
ExtraDataType
GetType
()
const override
;
// 01 - { return kAction; }
29
bool
IsNotEqual
(
const
BSExtraData
* a_rhs)
const override
;
// 02 - { return unk10 != a_rhs->unk10; }
30
31
// members
32
stl::enumeration<OBJECT_ACTION, std::int8_t>
action
;
// 10
33
std::uint8_t
pad11
;
// 11
34
std::uint16_t
pad12
;
// 12
35
std::uint32_t
pad14
;
// 14
36
TESObjectREFR
*
actionRef
;
// 18
37
};
38
static_assert(
sizeof
(
ExtraAction
) == 0x20);
39
}
BSExtraData.h
ExtraDataTypes.h
RE::BSExtraData
Definition:
BSExtraData.h:9
RE::ExtraAction
Definition:
ExtraAction.h:20
RE::ExtraAction::pad11
std::uint8_t pad11
Definition:
ExtraAction.h:33
RE::ExtraAction::actionRef
TESObjectREFR * actionRef
Definition:
ExtraAction.h:36
RE::ExtraAction::EXTRADATATYPE
static auto EXTRADATATYPE
Definition:
ExtraAction.h:23
RE::ExtraAction::GetType
ExtraDataType GetType() const override
RE::ExtraAction::~ExtraAction
~ExtraAction() override
RE::ExtraAction::pad12
std::uint16_t pad12
Definition:
ExtraAction.h:34
RE::ExtraAction::IsNotEqual
bool IsNotEqual(const BSExtraData *a_rhs) const override
RE::ExtraAction::action
stl::enumeration< OBJECT_ACTION, std::int8_t > action
Definition:
ExtraAction.h:32
RE::ExtraAction::pad14
std::uint32_t pad14
Definition:
ExtraAction.h:35
RE::ExtraAction::RTTI
static constexpr auto RTTI
Definition:
ExtraAction.h:22
RE::TESObjectREFR
Definition:
TESObjectREFR.h:113
SKSE::stl::enumeration< OBJECT_ACTION, std::int8_t >
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_ExtraAction
constexpr REL::VariantID RTTI_ExtraAction(684774, 392464, 0x1ed9ba8)
RE::OBJECT_ACTION
OBJECT_ACTION
Definition:
ExtraAction.h:9
RE::OBJECT_ACTION::kUseDefault
@ kUseDefault
RE::OBJECT_ACTION::kNone
@ kNone
RE::OBJECT_ACTION::kActivate
@ kActivate
RE::OBJECT_ACTION::kOpen
@ kOpen
RE::OBJECT_ACTION::kOpenByDefault
@ kOpenByDefault
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kAction
@ kAction
CommonLibSSE-NG
include
RE
E
ExtraAction.h
Generated by
1.9.1