CommonLibSSE NG
BGSFootstepSet.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 {
10  {
11  enum ACTOR_MOVEMENT_TYPE : std::uint32_t
12  {
13  kWalk = 0,
14  kRun = 1,
15  kSneak = 2,
16  kBleedout = 3,
17  kSwim = 4,
18 
19  kTotal = 5
20  };
21  };
23 
24  class BGSFootstepSet : public TESForm
25  {
26  public:
27  inline static constexpr auto RTTI = RTTI_BGSFootstepSet;
28  inline static constexpr auto VTABLE = VTABLE_BGSFootstepSet;
29  inline static constexpr auto FORMTYPE = FormType::FootstepSet;
30 
31  struct RecordFlags
32  {
33  enum RecordFlag : std::uint32_t
34  {
35  kDeleted = 1 << 5,
36  kIgnored = 1 << 12
37  };
38  };
39 
40  ~BGSFootstepSet() override; // 00
41 
42  // override (TESForm)
43  void InitializeData() override; // 04
44  bool Load(TESFile* a_mod) override; // 06
45  void InitItemImpl() override; // 13
46 
47  // members
49  };
50  static_assert(sizeof(BGSFootstepSet) == 0x98);
51 }
Definition: BGSFootstepSet.h:25
void InitItemImpl() override
bool Load(TESFile *a_mod) override
static constexpr auto VTABLE
Definition: BGSFootstepSet.h:28
BSTArray< BGSFootstep * > entries[ACTOR_MOVEMENT_TYPES::kTotal]
Definition: BGSFootstepSet.h:48
static constexpr auto RTTI
Definition: BGSFootstepSet.h:27
static constexpr auto FORMTYPE
Definition: BGSFootstepSet.h:29
~BGSFootstepSet() override
void InitializeData() override
Definition: BSTArray.h:377
Definition: TESFile.h:17
Definition: TESForm.h:36
Definition: AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_BGSFootstepSet
Definition: Offsets_VTABLE.h:717
constexpr REL::VariantID RTTI_BGSFootstepSet(685235, 393007, 0x1ee2060)
Definition: BGSFootstepSet.h:10
ACTOR_MOVEMENT_TYPE
Definition: BGSFootstepSet.h:12
@ kSneak
Definition: BGSFootstepSet.h:15
@ kWalk
Definition: BGSFootstepSet.h:13
@ kTotal
Definition: BGSFootstepSet.h:19
@ kBleedout
Definition: BGSFootstepSet.h:16
@ kSwim
Definition: BGSFootstepSet.h:17
@ kRun
Definition: BGSFootstepSet.h:14
Definition: BGSFootstepSet.h:32
RecordFlag
Definition: BGSFootstepSet.h:34
@ kDeleted
Definition: BGSFootstepSet.h:35
@ kIgnored
Definition: BGSFootstepSet.h:36