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 VTABLE = VTABLE_BGSImpactDataSet;
17  inline static constexpr auto FORMTYPE = FormType::ImpactDataSet;
18 
19  struct RecordFlags
20  {
21  enum RecordFlag : std::uint32_t
22  {
23  kDeleted = 1 << 5,
24  kIgnored = 1 << 12
25  };
26  };
27 
28  ~BGSImpactDataSet() override; // 00
29 
30  // override (TESForm)
31  void ClearData() override; // 05
32  bool Load(TESFile* a_mod) override; // 06
33  void InitItemImpl() override; // 13
34 
35  // members
37  };
38  static_assert(sizeof(BGSImpactDataSet) == 0x58);
39 }
Definition: BGSImpactDataSet.h:13
static constexpr auto VTABLE
Definition: BGSImpactDataSet.h:16
~BGSImpactDataSet() override
BSTHashMap< const BGSMaterialType *, BGSImpactData * > impactMap
Definition: BGSImpactDataSet.h:36
static constexpr auto RTTI
Definition: BGSImpactDataSet.h:15
void InitItemImpl() override
void ClearData() override
static constexpr auto FORMTYPE
Definition: BGSImpactDataSet.h:17
bool Load(TESFile *a_mod) override
Definition: BGSPreloadable.h:8
Definition: BSTHashMap.h:21
Definition: TESFile.h:17
Definition: TESForm.h:36
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSImpactDataSet(static_cast< std::uint64_t >(513864))
constexpr std::array< REL::ID, 2 > VTABLE_BGSImpactDataSet
Definition: Offsets_VTABLE.h:8634
Definition: BGSImpactDataSet.h:20
RecordFlag
Definition: BGSImpactDataSet.h:22
@ kDeleted
Definition: BGSImpactDataSet.h:23
@ kIgnored
Definition: BGSImpactDataSet.h:24