CommonLibSSE (Parapets fork)
ExtraForcedTarget.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/B/BSExtraData.h
"
4
#include "
RE/B/BSPointerHandle.h
"
5
#include "
RE/E/ExtraDataTypes.h
"
6
#include "
RE/N/NiSmartPointer.h
"
7
8
namespace
RE
9
{
10
class
TESObjectREFR;
11
12
class
ExtraForcedTarget
:
public
BSExtraData
13
{
14
public
:
15
inline
static
constexpr
auto
RTTI
=
RTTI_ExtraForcedTarget
;
16
inline
static
constexpr
auto
EXTRADATATYPE
=
ExtraDataType::kForcedTarget
;
17
18
ExtraForcedTarget
();
19
explicit
ExtraForcedTarget
(
ObjectRefHandle
a_target);
20
~ExtraForcedTarget
()
override
=
default
;
// 00
21
22
// override (BSExtraData)
23
ExtraDataType
GetType
()
const override
;
// 01 - { return kForcedTarget; }
24
bool
IsNotEqual
(
const
BSExtraData
* a_rhs)
const override
;
// 02 - { return target != a_rhs->target; }
25
26
NiPointer<TESObjectREFR>
GetTarget
();
27
28
// members
29
ObjectRefHandle
target
;
// 10
30
std::uint32_t
pad14
;
// 14
31
};
32
static_assert(
sizeof
(
ExtraForcedTarget
) == 0x18);
33
}
BSExtraData.h
BSPointerHandle.h
ExtraDataTypes.h
NiSmartPointer.h
RE::BSExtraData
Definition:
BSExtraData.h:9
RE::BSPointerHandle< TESObjectREFR >
RE::ExtraForcedTarget
Definition:
ExtraForcedTarget.h:13
RE::ExtraForcedTarget::EXTRADATATYPE
static constexpr auto EXTRADATATYPE
Definition:
ExtraForcedTarget.h:16
RE::ExtraForcedTarget::pad14
std::uint32_t pad14
Definition:
ExtraForcedTarget.h:30
RE::ExtraForcedTarget::GetType
ExtraDataType GetType() const override
RE::ExtraForcedTarget::ExtraForcedTarget
ExtraForcedTarget()
RE::ExtraForcedTarget::IsNotEqual
bool IsNotEqual(const BSExtraData *a_rhs) const override
RE::ExtraForcedTarget::ExtraForcedTarget
ExtraForcedTarget(ObjectRefHandle a_target)
RE::ExtraForcedTarget::~ExtraForcedTarget
~ExtraForcedTarget() override=default
RE::ExtraForcedTarget::GetTarget
NiPointer< TESObjectREFR > GetTarget()
RE::ExtraForcedTarget::RTTI
static constexpr auto RTTI
Definition:
ExtraForcedTarget.h:15
RE::ExtraForcedTarget::target
ObjectRefHandle target
Definition:
ExtraForcedTarget.h:29
RE::NiPointer
Definition:
NiSmartPointer.h:9
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_ExtraForcedTarget
constexpr REL::ID RTTI_ExtraForcedTarget
Definition:
Offsets_RTTI.h:4675
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kForcedTarget
@ kForcedTarget
CommonLibSSE
include
RE
E
ExtraForcedTarget.h
Generated by
1.9.1