CommonLibSSE (Parapets fork)
BGSPerkRankArray.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
7  class BGSPerk;
8 
9  struct PerkRankData // PRKR
10  {
11  BGSPerk* perk; // 00
12  std::int8_t currentRank; // 08
13  std::uint8_t pad09; // 09
14  std::uint16_t pad0A; // 0A
15  std::uint32_t pad0C; // 0C
16  };
17  static_assert(sizeof(PerkRankData) == 0x10);
18 
20  {
21  public:
22  inline static constexpr auto RTTI = RTTI_BGSPerkRankArray;
23 
24  ~BGSPerkRankArray() override; // 00
25 
26  // override (BaseFormComponent)
27  void InitializeDataComponent() override; // 01 - { return; }
28  void ClearDataComponent() override; // 02
29  void CopyComponent(BaseFormComponent* rhs) override; // 03
30 
31  // members
32  PerkRankData* perks; // 08 - PRKR
33  std::uint32_t perkCount; // 10 - PRKZ
34  std::uint32_t pad14; // 14
35  };
36  static_assert(sizeof(BGSPerkRankArray) == 0x18);
37 }
Definition: BGSPerkRankArray.h:20
~BGSPerkRankArray() override
void ClearDataComponent() override
PerkRankData * perks
Definition: BGSPerkRankArray.h:32
static constexpr auto RTTI
Definition: BGSPerkRankArray.h:22
std::uint32_t pad14
Definition: BGSPerkRankArray.h:34
void InitializeDataComponent() override
std::uint32_t perkCount
Definition: BGSPerkRankArray.h:33
void CopyComponent(BaseFormComponent *rhs) override
Definition: BGSPerk.h:31
Definition: BaseFormComponent.h:8
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSPerkRankArray
Definition: Offsets_RTTI.h:1391
Definition: BGSPerkRankArray.h:10
std::uint16_t pad0A
Definition: BGSPerkRankArray.h:14
std::uint8_t pad09
Definition: BGSPerkRankArray.h:13
std::int8_t currentRank
Definition: BGSPerkRankArray.h:12
std::uint32_t pad0C
Definition: BGSPerkRankArray.h:15
BGSPerk * perk
Definition: BGSPerkRankArray.h:11