CommonLibVR
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 VTABLE = VTABLE_ExtraRank;
13  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kRank;
14 
16  explicit ExtraRank(std::int32_t a_rank);
17  ~ExtraRank() override = default; // 00
18 
19  // override (BSExtraData)
20  ExtraDataType GetType() const override; // 01 - { return kRank; }
21  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return rank != a_rhs->rank; }
22 
23  // members
24  std::int32_t rank; // 10
25  std::uint32_t pad14; // 14
26  private:
27  KEEP_FOR_RE()
28  };
29  static_assert(sizeof(ExtraRank) == 0x18);
30 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSExtraData.h:9
Definition: ExtraRank.h:9
~ExtraRank() override=default
std::int32_t rank
Definition: ExtraRank.h:24
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:25
static constexpr auto VTABLE
Definition: ExtraRank.h:12
static constexpr auto RTTI
Definition: ExtraRank.h:11
static constexpr auto EXTRADATATYPE
Definition: ExtraRank.h:13
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ExtraRank
Definition: Offsets_VTABLE.h:11599
constexpr REL::ID RTTI_ExtraRank(static_cast< std::uint64_t >(684648))
ExtraDataType
Definition: ExtraDataTypes.h:173