CommonLibSSE (powerof3)
ExtraCount.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 ExtraCount : public BSExtraData
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_ExtraCount;
12  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kCount;
13 
15  explicit ExtraCount(std::int16_t a_count);
16  ~ExtraCount() override = default; // 00
17 
18  // override (BSExtraData)
19  ExtraDataType GetType() const override; // 01 - { return kCount; }
20  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return return count != a_rhs->count; }
21 
22  // members
23  std::int16_t count; // 10
24  std::uint16_t pad12; // 12
25  std::int32_t pad14; // 14
26  };
27  static_assert(sizeof(ExtraCount) == 0x18);
28 }
Definition: BSExtraData.h:9
Definition: ExtraCount.h:9
~ExtraCount() override=default
std::int32_t pad14
Definition: ExtraCount.h:25
static constexpr auto EXTRADATATYPE
Definition: ExtraCount.h:12
ExtraDataType GetType() const override
std::uint16_t pad12
Definition: ExtraCount.h:24
std::int16_t count
Definition: ExtraCount.h:23
static constexpr auto RTTI
Definition: ExtraCount.h:11
bool IsNotEqual(const BSExtraData *a_rhs) const override
ExtraCount(std::int16_t a_count)
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraCount
Definition: Offsets_RTTI.h:4653
ExtraDataType
Definition: ExtraDataTypes.h:173