CommonLibSSE NG
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 VTABLE = VTABLE_ExtraCount;
13  inline static auto EXTRADATATYPE = ExtraDataType::kCount;
14 
16  explicit ExtraCount(std::int16_t a_count);
17  ~ExtraCount() override = default; // 00
18 
19  // override (BSExtraData)
20  ExtraDataType GetType() const override; // 01 - { return kCount; }
21  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return return count != a_rhs->count; }
22 
23  // members
24  std::int16_t count; // 10
25  std::uint16_t pad12; // 12
26  std::int32_t pad14; // 14
27  };
28  static_assert(sizeof(ExtraCount) == 0x18);
29 }
Definition: BSExtraData.h:9
Definition: ExtraCount.h:9
~ExtraCount() override=default
std::int32_t pad14
Definition: ExtraCount.h:26
static constexpr auto VTABLE
Definition: ExtraCount.h:12
ExtraDataType GetType() const override
std::uint16_t pad12
Definition: ExtraCount.h:25
std::int16_t count
Definition: ExtraCount.h:24
static auto EXTRADATATYPE
Definition: ExtraCount.h:13
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::VariantID RTTI_ExtraCount(684649, 392312, 0x1ed8158)
constexpr std::array< REL::VariantID, 1 > VTABLE_ExtraCount
Definition: Offsets_VTABLE.h:79
ExtraDataType
Definition: ExtraDataTypes.h:173