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