CommonLibVR
ExtraGuardedRefData.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 {
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_ExtraGuardedRefData;
13  inline static constexpr auto VTABLE = VTABLE_ExtraGuardedRefData;
14  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kGuardedRefData;
15 
16  struct GuardInfo
17  {
18  FormID guard; // 0
19  std::uint32_t unk4; // 4
20  std::uint32_t unk8; // 8
21  };
22  static_assert(sizeof(GuardInfo) == 0xC);
23 
24  virtual ~ExtraGuardedRefData(); // 00
25 
26  // override (BSExtraData)
27  virtual ExtraDataType GetType() const override; // 01 - { return kGuardedRefData; }
28  virtual bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02
29 
30  // members
32  private:
33  KEEP_FOR_RE()
34  };
35  static_assert(sizeof(ExtraGuardedRefData) == 0x28);
36 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSExtraData.h:9
Definition: BSTArray.h:378
Definition: ExtraGuardedRefData.h:10
virtual ~ExtraGuardedRefData()
virtual bool IsNotEqual(const BSExtraData *a_rhs) const override
static constexpr auto VTABLE
Definition: ExtraGuardedRefData.h:13
static constexpr auto EXTRADATATYPE
Definition: ExtraGuardedRefData.h:14
virtual ExtraDataType GetType() const override
BSTArray< GuardInfo > guards
Definition: ExtraGuardedRefData.h:31
static constexpr auto RTTI
Definition: ExtraGuardedRefData.h:12
Definition: AbsorbEffect.h:6
std::uint32_t FormID
Definition: BSCoreTypes.h:5
constexpr std::array< REL::ID, 1 > VTABLE_ExtraGuardedRefData
Definition: Offsets_VTABLE.h:11537
ExtraDataType
Definition: ExtraDataTypes.h:173
constexpr REL::ID RTTI_ExtraGuardedRefData(static_cast< std::uint64_t >(684745))
Definition: ExtraGuardedRefData.h:17
std::uint32_t unk4
Definition: ExtraGuardedRefData.h:19
std::uint32_t unk8
Definition: ExtraGuardedRefData.h:20
FormID guard
Definition: ExtraGuardedRefData.h:18