CommonLibSSE NG
BGSFootstep.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 #include "RE/F/FormTypes.h"
5 #include "RE/T/TESForm.h"
6 
7 namespace RE
8 {
9  class BGSFootstep : public TESForm
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BGSFootstep;
13  inline static constexpr auto VTABLE = VTABLE_BGSFootstep;
14  inline static constexpr auto FORMTYPE = FormType::Footstep;
15 
16  struct RecordFlags
17  {
18  enum RecordFlag : std::uint32_t
19  {
20  kDeleted = 1 << 5,
21  kIgnored = 1 << 12
22  };
23  };
24 
25  ~BGSFootstep() override; // 00
26 
27  // override (TESForm)
28  void InitializeData() override; // 04
29  bool Load(TESFile* a_mod) override; // 06
30  void InitItemImpl() override; // 13
31 
32  // members
33  BSFixedString tag; // 20 - ANAM
34  BGSImpactDataSet* impactSet; // 28 - DATA
35  };
36  static_assert(sizeof(BGSFootstep) == 0x30);
37 }
Definition: BGSFootstep.h:10
BGSImpactDataSet * impactSet
Definition: BGSFootstep.h:34
~BGSFootstep() override
static constexpr auto RTTI
Definition: BGSFootstep.h:12
void InitItemImpl() override
static constexpr auto FORMTYPE
Definition: BGSFootstep.h:14
static constexpr auto VTABLE
Definition: BGSFootstep.h:13
void InitializeData() override
BSFixedString tag
Definition: BGSFootstep.h:33
bool Load(TESFile *a_mod) override
Definition: BGSImpactDataSet.h:13
Definition: TESFile.h:17
Definition: TESForm.h:36
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BGSFootstep(685232, 393004, 0x1ee1fa8)
constexpr std::array< REL::VariantID, 1 > VTABLE_BGSFootstep
Definition: Offsets_VTABLE.h:714
Definition: BGSFootstep.h:17
RecordFlag
Definition: BGSFootstep.h:19
@ kIgnored
Definition: BGSFootstep.h:21
@ kDeleted
Definition: BGSFootstep.h:20