CommonLibSSE (powerof3)
ExtraCharge.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 ExtraCharge : public BSExtraData
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_ExtraCharge;
12  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kCharge;
13 
15  ~ExtraCharge() override = default; // 00
16 
17  // override (BSExtraData)
18  ExtraDataType GetType() const override; // 01 - { return kCharge; }
19  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return charge != a_rhs->charge; }
20 
21  // members
22  float charge; // 10
23  std::uint32_t pad14; // 14
24  };
25  static_assert(sizeof(ExtraCharge) == 0x18);
26 }
Definition: BSExtraData.h:9
Definition: ExtraCharge.h:9
float charge
Definition: ExtraCharge.h:22
static constexpr auto EXTRADATATYPE
Definition: ExtraCharge.h:12
bool IsNotEqual(const BSExtraData *a_rhs) const override
std::uint32_t pad14
Definition: ExtraCharge.h:23
ExtraDataType GetType() const override
~ExtraCharge() override=default
static constexpr auto RTTI
Definition: ExtraCharge.h:11
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraCharge
Definition: Offsets_RTTI.h:4649
ExtraDataType
Definition: ExtraDataTypes.h:173