CommonLibSSE (powerof3)
BGSImpactDataSet.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BGSPreloadable.h"
4 #include "RE/B/BSTHashMap.h"
5 #include "RE/F/FormTypes.h"
6 #include "RE/T/TESForm.h"
7 
8 namespace RE
9 {
11  public TESForm, // 00
12  public BGSPreloadable // 20
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_BGSImpactDataSet;
16  inline static constexpr auto FORMTYPE = FormType::ImpactDataSet;
17 
18  struct RecordFlags
19  {
20  enum RecordFlag : std::uint32_t
21  {
22  kDeleted = 1 << 5,
23  kIgnored = 1 << 12
24  };
25  };
26 
27  ~BGSImpactDataSet() override; // 00
28 
29  // override (TESForm)
30  void ClearData() override; // 05
31  bool Load(TESFile* a_mod) override; // 06
32  void InitItemImpl() override; // 13
33 
34  // members
36  };
37  static_assert(sizeof(BGSImpactDataSet) == 0x58);
38 }
Definition: BGSImpactDataSet.h:13
~BGSImpactDataSet() override
BSTHashMap< const BGSMaterialType *, BGSImpactData * > impactMap
Definition: BGSImpactDataSet.h:35
static constexpr auto RTTI
Definition: BGSImpactDataSet.h:15
void InitItemImpl() override
void ClearData() override
static constexpr auto FORMTYPE
Definition: BGSImpactDataSet.h:16
bool Load(TESFile *a_mod) override
Definition: BGSPreloadable.h:8
Definition: BSTHashMap.h:21
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSImpactDataSet
Definition: Offsets_RTTI.h:1311
Definition: BGSImpactDataSet.h:19
RecordFlag
Definition: BGSImpactDataSet.h:21
@ kDeleted
Definition: BGSImpactDataSet.h:22
@ kIgnored
Definition: BGSImpactDataSet.h:23