CommonLibVR
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  private:
36  KEEP_FOR_RE()
37  };
38  static_assert(sizeof(BGSFootstep) == 0x30);
39 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
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:40
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSFootstep(static_cast< std::uint64_t >(685232))
constexpr std::array< REL::ID, 1 > VTABLE_BGSFootstep
Definition: Offsets_VTABLE.h:8621
Definition: BGSFootstep.h:17
RecordFlag
Definition: BGSFootstep.h:19
@ kIgnored
Definition: BGSFootstep.h:21
@ kDeleted
Definition: BGSFootstep.h:20