CommonLibVR
ExtraAliasInstanceArray.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSAtomic.h"
4 #include "RE/B/BSExtraData.h"
5 #include "RE/B/BSTArray.h"
6 #include "RE/E/ExtraDataTypes.h"
7 #include "RE/F/FormTypes.h"
8 
9 namespace RE
10 {
11  class BGSBaseAlias;
12 
14  {
15  TESQuest* quest; // 00
16  const BGSBaseAlias* alias; // 08
18  };
19  static_assert(sizeof(BGSRefAliasInstanceData) == 0x18);
20 
22  {
23  public:
24  inline static constexpr auto RTTI = RTTI_ExtraAliasInstanceArray;
25  inline static constexpr auto VTABLE = VTABLE_ExtraAliasInstanceArray;
26  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kAliasInstanceArray;
27 
29  virtual ~ExtraAliasInstanceArray(); // 00
30 
31  // override (BSExtraData)
32  virtual ExtraDataType GetType() const override; // 01 - { return kAliasInstanceArray; }
33 
34  // members
36  mutable BSReadWriteLock lock; // 28
37  };
38  static_assert(sizeof(ExtraAliasInstanceArray) == 0x30);
39 }
Definition: BGSBaseAlias.h:12
Definition: BSExtraData.h:9
Definition: BSAtomic.h:112
Definition: BSTArray.h:378
Definition: ExtraAliasInstanceArray.h:22
static constexpr auto RTTI
Definition: ExtraAliasInstanceArray.h:24
virtual ExtraDataType GetType() const override
BSReadWriteLock lock
Definition: ExtraAliasInstanceArray.h:36
static constexpr auto EXTRADATATYPE
Definition: ExtraAliasInstanceArray.h:26
BSTArray< BGSRefAliasInstanceData * > aliases
Definition: ExtraAliasInstanceArray.h:35
static constexpr auto VTABLE
Definition: ExtraAliasInstanceArray.h:25
Definition: TESQuest.h:197
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraAliasInstanceArray(static_cast< std::uint64_t >(684688))
constexpr std::array< REL::ID, 1 > VTABLE_ExtraAliasInstanceArray
Definition: Offsets_VTABLE.h:11481
ExtraDataType
Definition: ExtraDataTypes.h:173
Definition: ExtraAliasInstanceArray.h:14
TESQuest * quest
Definition: ExtraAliasInstanceArray.h:15
const BGSBaseAlias * alias
Definition: ExtraAliasInstanceArray.h:16
const BSTArray< TESPackage * > * instancedPackages
Definition: ExtraAliasInstanceArray.h:17