CommonLibVR
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
VTABLE
=
VTABLE_ExtraForcedTarget
;
17
inline
static
constexpr
auto
EXTRADATATYPE
=
ExtraDataType::kForcedTarget
;
18
19
ExtraForcedTarget
();
20
explicit
ExtraForcedTarget
(
ObjectRefHandle
a_target);
21
~ExtraForcedTarget
()
override
=
default
;
// 00
22
23
// override (BSExtraData)
24
ExtraDataType
GetType
()
const override
;
// 01 - { return kForcedTarget; }
25
bool
IsNotEqual
(
const
BSExtraData
* a_rhs)
const override
;
// 02 - { return target != a_rhs->target; }
26
27
NiPointer<TESObjectREFR>
GetTarget
();
28
29
// members
30
ObjectRefHandle
target
;
// 10
31
std::uint32_t
pad14
;
// 14
32
private
:
33
KEEP_FOR_RE
()
34
};
35
static_assert(
sizeof
(
ExtraForcedTarget
) == 0x18);
36
}
BSExtraData.h
BSPointerHandle.h
ExtraDataTypes.h
NiSmartPointer.h
KEEP_FOR_RE
#define KEEP_FOR_RE()
Definition:
PCH.h:713
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:17
RE::ExtraForcedTarget::VTABLE
static constexpr auto VTABLE
Definition:
ExtraForcedTarget.h:16
RE::ExtraForcedTarget::pad14
std::uint32_t pad14
Definition:
ExtraForcedTarget.h:31
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:30
RE::NiPointer
Definition:
NiSmartPointer.h:9
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_ExtraForcedTarget
constexpr REL::ID RTTI_ExtraForcedTarget(static_cast< std::uint64_t >(684696))
RE::VTABLE_ExtraForcedTarget
constexpr std::array< REL::ID, 1 > VTABLE_ExtraForcedTarget
Definition:
Offsets_VTABLE.h:11530
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kForcedTarget
@ kForcedTarget
CommonLibVR
include
RE
E
ExtraForcedTarget.h
Generated by
1.9.1