CommonLibVR
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
constexpr
auto
VTABLE
=
VTABLE_ExtraAction
;
24
inline
static
constexpr
auto
EXTRADATATYPE
=
ExtraDataType::kAction
;
25
26
~ExtraAction
()
override
;
// 00
27
28
// override (BSExtraData)
29
ExtraDataType
GetType
()
const override
;
// 01 - { return kAction; }
30
bool
IsNotEqual
(
const
BSExtraData
* a_rhs)
const override
;
// 02 - { return unk10 != a_rhs->unk10; }
31
32
// members
33
stl::enumeration<OBJECT_ACTION, std::int8_t>
action
;
// 10
34
std::uint8_t
pad11
;
// 11
35
std::uint16_t
pad12
;
// 12
36
std::uint32_t
pad14
;
// 14
37
TESObjectREFR
*
actionRef
;
// 18
38
private
:
39
KEEP_FOR_RE
()
40
};
41
static_assert(
sizeof
(
ExtraAction
) == 0x20);
42
}
BSExtraData.h
ExtraDataTypes.h
KEEP_FOR_RE
#define KEEP_FOR_RE()
Definition:
PCH.h:713
RE::BSExtraData
Definition:
BSExtraData.h:9
RE::ExtraAction
Definition:
ExtraAction.h:20
RE::ExtraAction::pad11
std::uint8_t pad11
Definition:
ExtraAction.h:34
RE::ExtraAction::VTABLE
static constexpr auto VTABLE
Definition:
ExtraAction.h:23
RE::ExtraAction::actionRef
TESObjectREFR * actionRef
Definition:
ExtraAction.h:37
RE::ExtraAction::GetType
ExtraDataType GetType() const override
RE::ExtraAction::EXTRADATATYPE
static constexpr auto EXTRADATATYPE
Definition:
ExtraAction.h:24
RE::ExtraAction::~ExtraAction
~ExtraAction() override
RE::ExtraAction::pad12
std::uint16_t pad12
Definition:
ExtraAction.h:35
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:33
RE::ExtraAction::pad14
std::uint32_t pad14
Definition:
ExtraAction.h:36
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::ID RTTI_ExtraAction(static_cast< std::uint64_t >(684774))
RE::VTABLE_ExtraAction
constexpr std::array< REL::ID, 1 > VTABLE_ExtraAction
Definition:
Offsets_VTABLE.h:11476
RE::OBJECT_ACTION
OBJECT_ACTION
Definition:
ExtraAction.h:9
RE::OBJECT_ACTION::kUseDefault
@ kUseDefault
RE::OBJECT_ACTION::kActivate
@ kActivate
RE::OBJECT_ACTION::kOpen
@ kOpen
RE::OBJECT_ACTION::kOpenByDefault
@ kOpenByDefault
RE::kNone
@ kNone
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kAction
@ kAction
CommonLibVR
include
RE
E
ExtraAction.h
Generated by
1.9.1