CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
ExtraHealth.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSExtraData.h"
5
6namespace RE
7{
8 class ExtraHealth : public BSExtraData
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_ExtraHealth;
12 inline static constexpr auto EXTRADATATYPE = ExtraDataType::kHealth;
13
15 explicit ExtraHealth(float a_health);
16 ~ExtraHealth() override = default; // 00
17
18 // override (BSExtraData)
19 ExtraDataType GetType() const override; // 01 - { return kHealth; }
20 bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return health != a_rhs->health; }
21
22 // members
23 float health; // 10
24 std::uint32_t pad14; // 14
25 };
26 static_assert(sizeof(ExtraHealth) == 0x18);
27}
Definition: BSExtraData.h:9
Definition: ExtraHealth.h:9
~ExtraHealth() override=default
std::uint32_t pad14
Definition: ExtraHealth.h:24
float health
Definition: ExtraHealth.h:23
ExtraHealth(float a_health)
ExtraDataType GetType() const override
bool IsNotEqual(const BSExtraData *a_rhs) const override
static constexpr auto RTTI
Definition: ExtraHealth.h:11
static constexpr auto EXTRADATATYPE
Definition: ExtraHealth.h:12
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraHealth
Definition: Offsets_RTTI.h:4687
ExtraDataType
Definition: ExtraDataTypes.h:173