CommonLibSSE (powerof3)
ExtraHealth.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
ExtraHealth
:
public
BSExtraData
9
{
10
public
:
11
inline
static
constexpr
auto
RTTI
=
RTTI_ExtraHealth
;
12
inline
static
constexpr
auto
VTABLE
=
VTABLE_ExtraHealth
;
13
inline
static
constexpr
auto
EXTRADATATYPE
=
ExtraDataType::kHealth
;
14
15
ExtraHealth
();
16
explicit
ExtraHealth
(
float
a_health);
17
~ExtraHealth
()
override
=
default
;
// 00
18
19
// override (BSExtraData)
20
ExtraDataType
GetType
()
const override
;
// 01 - { return kHealth; }
21
bool
IsNotEqual
(
const
BSExtraData
* a_rhs)
const override
;
// 02 - { return health != a_rhs->health; }
22
23
// members
24
float
health
;
// 10
25
std::uint32_t
pad14
;
// 14
26
};
27
static_assert(
sizeof
(
ExtraHealth
) == 0x18);
28
}
BSExtraData.h
ExtraDataTypes.h
RE::BSExtraData
Definition:
BSExtraData.h:9
RE::ExtraHealth
Definition:
ExtraHealth.h:9
RE::ExtraHealth::ExtraHealth
ExtraHealth()
RE::ExtraHealth::~ExtraHealth
~ExtraHealth() override=default
RE::ExtraHealth::pad14
std::uint32_t pad14
Definition:
ExtraHealth.h:25
RE::ExtraHealth::health
float health
Definition:
ExtraHealth.h:24
RE::ExtraHealth::VTABLE
static constexpr auto VTABLE
Definition:
ExtraHealth.h:12
RE::ExtraHealth::ExtraHealth
ExtraHealth(float a_health)
RE::ExtraHealth::GetType
ExtraDataType GetType() const override
RE::ExtraHealth::IsNotEqual
bool IsNotEqual(const BSExtraData *a_rhs) const override
RE::ExtraHealth::RTTI
static constexpr auto RTTI
Definition:
ExtraHealth.h:11
RE::ExtraHealth::EXTRADATATYPE
static constexpr auto EXTRADATATYPE
Definition:
ExtraHealth.h:13
RE
Definition:
AbsorbEffect.h:6
RE::VTABLE_ExtraHealth
constexpr std::array< REL::ID, 1 > VTABLE_ExtraHealth
Definition:
Offsets_VTABLE.h:11542
RE::RTTI_ExtraHealth
constexpr REL::ID RTTI_ExtraHealth(static_cast< std::uint64_t >(684654))
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kHealth
@ kHealth
CommonLibSSE
include
RE
E
ExtraHealth.h
Generated by
1.9.1