CommonLibSSE (Parapets fork)
BGSOutfit.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTArray.h"
4 #include "RE/F/FormTypes.h"
5 #include "RE/T/TESForm.h"
6 
7 namespace RE
8 {
9  class BGSOutfit : public TESForm
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BGSOutfit;
13  inline static constexpr auto FORMTYPE = FormType::Outfit;
14 
15  struct RecordFlags
16  {
17  enum RecordFlag : std::uint32_t
18  {
19  kDeleted = 1 << 5,
20  kIgnored = 1 << 12
21  };
22  };
23 
24  ~BGSOutfit() override; // 00
25 
26  // override (TESForm)
27  void ClearData() override; // 05
28  bool Load(TESFile* a_mod) override; // 06
29  void InitItemImpl() override; // 13
30 
31  // members
33  };
34  static_assert(sizeof(BGSOutfit) == 0x38);
35 }
Definition: BGSOutfit.h:10
static constexpr auto RTTI
Definition: BGSOutfit.h:12
BSTArray< TESForm * > outfitItems
Definition: BGSOutfit.h:32
static constexpr auto FORMTYPE
Definition: BGSOutfit.h:13
void InitItemImpl() override
~BGSOutfit() override
bool Load(TESFile *a_mod) override
void ClearData() override
Definition: BSTArray.h:377
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSOutfit
Definition: Offsets_RTTI.h:1354
Definition: BGSOutfit.h:16
RecordFlag
Definition: BGSOutfit.h:18
@ kDeleted
Definition: BGSOutfit.h:19
@ kIgnored
Definition: BGSOutfit.h:20