CommonLibSSE (powerof3)
ExtraMissingLinkedRefIDs.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 BGSKeyword;
9  class TESObjectREFR;
10 
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_ExtraMissingLinkedRefIDs;
15  inline static constexpr auto VTABLE = VTABLE_ExtraMissingLinkedRefIDs;
16  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kMissingLinkedRefIDs;
17 
18  struct Entry
19  {
20  public:
21  // members
24  std::uint32_t pad0C; // 0C
25  };
26  static_assert(sizeof(Entry) == 0x10);
27 
28  // a variation of a small array
29  struct Array
30  {
31  public:
32  using value_type = Entry;
33  using size_type = std::uint32_t;
35  using iterator = Entry*;
36 
37  union Data
38  {
41  };
42  static_assert(sizeof(Data) == 0x10);
43 
45  iterator begin() noexcept;
46  iterator end() noexcept;
47  size_type size() const noexcept;
48 
49  // members
50  Data _data; // 00
51  std::uint32_t _size; // 10
52  std::uint32_t _pad14; // 14
53  };
54  static_assert(sizeof(Array) == 0x18);
55 
56  virtual ~ExtraMissingLinkedRefIDs(); // 00
57 
58  // override (BSExtraData)
59  virtual ExtraDataType GetType() const override; // 01 - { return kMissingLinkedRefIDs; }
60 
62 
63  // members
64  Array entries; // 10
65  };
66  static_assert(sizeof(ExtraMissingLinkedRefIDs) == 0x28);
67 }
Definition: BGSKeyword.h:10
Definition: BSExtraData.h:9
Definition: ExtraMissingLinkedRefIDs.h:12
static constexpr auto EXTRADATATYPE
Definition: ExtraMissingLinkedRefIDs.h:16
virtual ExtraDataType GetType() const override
TESObjectREFR * GetLinkedRef(BGSKeyword *a_keyword)
static constexpr auto RTTI
Definition: ExtraMissingLinkedRefIDs.h:14
static constexpr auto VTABLE
Definition: ExtraMissingLinkedRefIDs.h:15
Array entries
Definition: ExtraMissingLinkedRefIDs.h:64
Definition: TESObjectREFR.h:114
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ExtraMissingLinkedRefIDs
Definition: Offsets_VTABLE.h:11568
constexpr REL::ID RTTI_ExtraMissingLinkedRefIDs(static_cast< std::uint64_t >(684762))
std::uint32_t FormID
Definition: BSCoreTypes.h:5
ExtraDataType
Definition: ExtraDataTypes.h:173
Definition: EffectArchetypes.h:65
Definition: ExtraMissingLinkedRefIDs.h:30
std::uint32_t size_type
Definition: ExtraMissingLinkedRefIDs.h:33
size_type size() const noexcept
std::uint32_t _size
Definition: ExtraMissingLinkedRefIDs.h:51
reference operator[](size_type a_pos)
std::uint32_t _pad14
Definition: ExtraMissingLinkedRefIDs.h:52
Data _data
Definition: ExtraMissingLinkedRefIDs.h:50
Definition: ExtraMissingLinkedRefIDs.h:19
FormID linkedRefID
Definition: ExtraMissingLinkedRefIDs.h:23
std::uint32_t pad0C
Definition: ExtraMissingLinkedRefIDs.h:24
BGSKeyword * keyword
Definition: ExtraMissingLinkedRefIDs.h:22
Definition: ExtraMissingLinkedRefIDs.h:38
Entry * entryPtr
Definition: ExtraMissingLinkedRefIDs.h:39
Entry entry[1]
Definition: ExtraMissingLinkedRefIDs.h:40