CommonLibSSE NG
BGSApparatus.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/F/FormTypes.h"
4 #include "RE/T/TESDescription.h"
5 #include "RE/T/TESObjectMISC.h"
6 #include "RE/T/TESQualityForm.h"
7 
8 namespace RE
9 {
10  class BGSApparatus :
11  public TESObjectMISC, // 000
12  public TESQualityForm, // 100
13  public TESDescription // 110
14  {
15  public:
16  inline static constexpr auto RTTI = RTTI_BGSApparatus;
17  inline static constexpr auto VTABLE = VTABLE_BGSApparatus;
18  inline static constexpr auto FORMTYPE = FormType::Apparatus;
19 
20  struct RecordFlags
21  {
22  enum RecordFlag : std::uint32_t
23  {
24  kDeleted = 1 << 5,
25  kIgnored = 1 << 12
26  };
27  };
28 
29  ~BGSApparatus() override; // 00
30 
31  // override (TESObjectMISC)
32  bool Load(TESFile* a_mod) override; // 06
33  };
34  static_assert(sizeof(BGSApparatus) == 0x120);
35 }
Definition: BGSApparatus.h:14
static constexpr auto FORMTYPE
Definition: BGSApparatus.h:18
static constexpr auto RTTI
Definition: BGSApparatus.h:16
static constexpr auto VTABLE
Definition: BGSApparatus.h:17
~BGSApparatus() override
bool Load(TESFile *a_mod) override
Definition: TESDescription.h:12
Definition: TESFile.h:17
Definition: TESObjectMISC.h:28
Definition: TESQualityForm.h:8
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BGSApparatus(684998, 392741, 0x1edd968)
constexpr std::array< REL::VariantID, 12 > VTABLE_BGSApparatus
Definition: Offsets_VTABLE.h:441
Definition: BGSApparatus.h:21
RecordFlag
Definition: BGSApparatus.h:23
@ kIgnored
Definition: BGSApparatus.h:25
@ kDeleted
Definition: BGSApparatus.h:24