CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
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
EXTRADATATYPE
=
ExtraDataType::kOwnership
;
15
16
ExtraOwnership
();
17
explicit
ExtraOwnership
(
TESForm
* a_owner);
18
virtual
~ExtraOwnership
() =
default
;
// 00
19
20
// override (BSExtraData)
21
virtual
ExtraDataType
GetType
()
const override
;
// 01 - { return kOwnership; }
22
virtual
bool
IsNotEqual
(
const
BSExtraData
* a_rhs)
const override
;
// 02 - { return owner != a_rhs->owner; }
23
24
// members
25
TESForm
*
owner
;
// 10
26
};
27
static_assert
(
sizeof
(
ExtraOwnership
) == 0x18);
28
}
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::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:25
RE::ExtraOwnership::EXTRADATATYPE
static constexpr auto EXTRADATATYPE
Definition:
ExtraOwnership.h:14
RE::ExtraOwnership::ExtraOwnership
ExtraOwnership()
RE::TESForm
Definition:
TESForm.h:34
RE
Definition:
AbsorbEffect.h:6
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kOwnership
@ kOwnership
RE::RTTI_ExtraOwnership
constexpr REL::ID RTTI_ExtraOwnership
Definition:
Offsets_RTTI.h:4726
CommonLibSSE
include
RE
E
ExtraOwnership.h
Generated by
1.9.6