CommonLibVR
ExtraLinkedRef.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/B/BSTArray.h"
5 #include "RE/E/ExtraDataTypes.h"
6 
7 namespace RE
8 {
9  class BGSKeyword;
10  class TESObjectREFR;
11 
12  class ExtraLinkedRef : public BSExtraData
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_ExtraLinkedRef;
16  inline static constexpr auto VTABLE = VTABLE_ExtraLinkedRef;
17  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kLinkedRef;
18 
19  struct LinkedRef
20  {
23  };
24  static_assert(sizeof(LinkedRef) == 0x10);
25 
26  virtual ~ExtraLinkedRef(); // 00
27 
28  // override (BSExtraData)
29  virtual ExtraDataType GetType() const override; // 01 - { return kLinkedRef; }
30  virtual bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02
31 
32  // members
34  private:
35  KEEP_FOR_RE()
36  };
37  static_assert(sizeof(ExtraLinkedRef) == 0x30);
38 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BGSKeyword.h:10
Definition: BSExtraData.h:9
Definition: BSTArray.h:378
Definition: ExtraLinkedRef.h:13
static constexpr auto VTABLE
Definition: ExtraLinkedRef.h:16
static constexpr auto EXTRADATATYPE
Definition: ExtraLinkedRef.h:17
BSTSmallArray< LinkedRef > linkedRefs
Definition: ExtraLinkedRef.h:33
static constexpr auto RTTI
Definition: ExtraLinkedRef.h:15
virtual ExtraDataType GetType() const override
virtual ~ExtraLinkedRef()
virtual bool IsNotEqual(const BSExtraData *a_rhs) const override
Definition: TESObjectREFR.h:113
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ExtraLinkedRef
Definition: Offsets_VTABLE.h:11558
constexpr REL::ID RTTI_ExtraLinkedRef(static_cast< std::uint64_t >(513887))
ExtraDataType
Definition: ExtraDataTypes.h:173
Definition: ExtraLinkedRef.h:20
BGSKeyword * keyword
Definition: ExtraLinkedRef.h:21
TESObjectREFR * refr
Definition: ExtraLinkedRef.h:22