CommonLibVR
ExtraFollower.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/B/BSTArray.h
"
6
#include "
RE/E/ExtraDataTypes.h
"
7
8
namespace
RE
9
{
10
class
ExtraFollower
:
public
BSExtraData
11
{
12
public
:
13
inline
static
constexpr
auto
RTTI
=
RTTI_ExtraFollower
;
14
inline
static
constexpr
auto
VTABLE
=
VTABLE_ExtraFollower
;
15
inline
static
constexpr
auto
EXTRADATATYPE
=
ExtraDataType::kFollower
;
16
17
struct
FollowerInfo
18
{
19
ActorHandle
actor
;
// 0
20
float
intendedFollowDistance
;
// 4
21
};
22
static_assert(
sizeof
(
FollowerInfo
) == 0x8);
23
24
~ExtraFollower
()
override
;
// 00
25
26
// override (BSExtraData)
27
[[nodiscard]]
ExtraDataType
GetType
()
const override
;
// 01 - { return kFollower; }
28
29
// members
30
BSTArray<FollowerInfo>
actorFollowers
;
// 10
31
private
:
32
KEEP_FOR_RE
()
33
};
34
static_assert(
sizeof
(
ExtraFollower
) == 0x28);
35
}
BSExtraData.h
BSPointerHandle.h
BSTArray.h
ExtraDataTypes.h
KEEP_FOR_RE
#define KEEP_FOR_RE()
Definition:
PCH.h:713
RE::BSExtraData
Definition:
BSExtraData.h:9
RE::BSPointerHandle< Actor >
RE::BSTArray
Definition:
BSTArray.h:378
RE::ExtraFollower
Definition:
ExtraFollower.h:11
RE::ExtraFollower::RTTI
static constexpr auto RTTI
Definition:
ExtraFollower.h:13
RE::ExtraFollower::GetType
ExtraDataType GetType() const override
RE::ExtraFollower::~ExtraFollower
~ExtraFollower() override
RE::ExtraFollower::EXTRADATATYPE
static constexpr auto EXTRADATATYPE
Definition:
ExtraFollower.h:15
RE::ExtraFollower::VTABLE
static constexpr auto VTABLE
Definition:
ExtraFollower.h:14
RE::ExtraFollower::actorFollowers
BSTArray< FollowerInfo > actorFollowers
Definition:
ExtraFollower.h:30
RE
Definition:
AbsorbEffect.h:6
RE::VTABLE_ExtraFollower
constexpr std::array< REL::ID, 1 > VTABLE_ExtraFollower
Definition:
Offsets_VTABLE.h:11527
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kFollower
@ kFollower
RE::RTTI_ExtraFollower
constexpr REL::ID RTTI_ExtraFollower(static_cast< std::uint64_t >(684659))
RE::ExtraFollower::FollowerInfo
Definition:
ExtraFollower.h:18
RE::ExtraFollower::FollowerInfo::actor
ActorHandle actor
Definition:
ExtraFollower.h:19
RE::ExtraFollower::FollowerInfo::intendedFollowDistance
float intendedFollowDistance
Definition:
ExtraFollower.h:20
CommonLibVR
include
RE
E
ExtraFollower.h
Generated by
1.9.1