CommonLibSSE (powerof3)
ExtraOwnership.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
TESForm;
9
10
class
ExtraOwnership
:
public
BSExtraData
11
{
12
public
:
13
inline
static
constexpr
auto
RTTI
=
RTTI_ExtraOwnership
;
14
inline
static
constexpr
auto
VTABLE
=
VTABLE_ExtraOwnership
;
15
inline
static
constexpr
auto
EXTRADATATYPE
=
ExtraDataType::kOwnership
;
16
17
ExtraOwnership
();
18
explicit
ExtraOwnership
(
TESForm
* a_owner);
19
virtual
~ExtraOwnership
() =
default
;
// 00
20
21
// override (BSExtraData)
22
virtual
ExtraDataType
GetType
()
const override
;
// 01 - { return kOwnership; }
23
virtual
bool
IsNotEqual
(
const
BSExtraData
* a_rhs)
const override
;
// 02 - { return owner != a_rhs->owner; }
24
25
// members
26
TESForm
*
owner
;
// 10
27
};
28
static_assert(
sizeof
(
ExtraOwnership
) == 0x18);
29
}
BSExtraData.h
ExtraDataTypes.h
RE::BSExtraData
Definition:
BSExtraData.h:9
RE::ExtraOwnership
Definition:
ExtraOwnership.h:11
RE::ExtraOwnership::ExtraOwnership
ExtraOwnership(TESForm *a_owner)
RE::ExtraOwnership::VTABLE
static constexpr auto VTABLE
Definition:
ExtraOwnership.h:14
RE::ExtraOwnership::IsNotEqual
virtual bool IsNotEqual(const BSExtraData *a_rhs) const override
RE::ExtraOwnership::RTTI
static constexpr auto RTTI
Definition:
ExtraOwnership.h:13
RE::ExtraOwnership::~ExtraOwnership
virtual ~ExtraOwnership()=default
RE::ExtraOwnership::GetType
virtual ExtraDataType GetType() const override
RE::ExtraOwnership::owner
TESForm * owner
Definition:
ExtraOwnership.h:26
RE::ExtraOwnership::EXTRADATATYPE
static constexpr auto EXTRADATATYPE
Definition:
ExtraOwnership.h:15
RE::ExtraOwnership::ExtraOwnership
ExtraOwnership()
RE::TESForm
Definition:
TESForm.h:36
RE
Definition:
AbsorbEffect.h:6
RE::VTABLE_ExtraOwnership
constexpr std::array< REL::ID, 1 > VTABLE_ExtraOwnership
Definition:
Offsets_VTABLE.h:11581
RE::RTTI_ExtraOwnership
constexpr REL::ID RTTI_ExtraOwnership(static_cast< std::uint64_t >(684646))
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kOwnership
@ kOwnership
CommonLibSSE
include
RE
E
ExtraOwnership.h
Generated by
1.9.1