CommonLibSSE (Parapets fork)
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 FORMTYPE = FormType::Apparatus;
18 
19  struct RecordFlags
20  {
21  enum RecordFlag : std::uint32_t
22  {
23  kDeleted = 1 << 5,
24  kIgnored = 1 << 12
25  };
26  };
27 
28  ~BGSApparatus() override; // 00
29 
30  // override (TESObjectMISC)
31  bool Load(TESFile* a_mod) override; // 06
32  };
33  static_assert(sizeof(BGSApparatus) == 0x120);
34 }
Definition: BGSApparatus.h:14
static constexpr auto FORMTYPE
Definition: BGSApparatus.h:17
static constexpr auto RTTI
Definition: BGSApparatus.h:16
~BGSApparatus() override
bool Load(TESFile *a_mod) override
Definition: TESDescription.h:12
Definition: TESFile.h:14
Definition: TESObjectMISC.h:28
Definition: TESQualityForm.h:8
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSApparatus
Definition: Offsets_RTTI.h:1254
Definition: BGSApparatus.h:20
RecordFlag
Definition: BGSApparatus.h:22
@ kIgnored
Definition: BGSApparatus.h:24
@ kDeleted
Definition: BGSApparatus.h:23