CommonLibSSE (powerof3)
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 FORMTYPE = FormType::FootstepSet;
29 
30  struct RecordFlags
31  {
32  enum RecordFlag : std::uint32_t
33  {
34  kDeleted = 1 << 5,
35  kIgnored = 1 << 12
36  };
37  };
38 
39  ~BGSFootstepSet() override; // 00
40 
41  // override (TESForm)
42  void InitializeData() override; // 04
43  bool Load(TESFile* a_mod) override; // 06
44  void InitItemImpl() override; // 13
45 
46  // members
48  };
49  static_assert(sizeof(BGSFootstepSet) == 0x98);
50 }
Definition: BGSFootstepSet.h:25
void InitItemImpl() override
bool Load(TESFile *a_mod) override
BSTArray< BGSFootstep * > entries[ACTOR_MOVEMENT_TYPES::kTotal]
Definition: BGSFootstepSet.h:47
static constexpr auto RTTI
Definition: BGSFootstepSet.h:27
static constexpr auto FORMTYPE
Definition: BGSFootstepSet.h:28
~BGSFootstepSet() override
void InitializeData() override
Definition: BSTArray.h:377
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSFootstepSet
Definition: Offsets_RTTI.h:1299
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:31
RecordFlag
Definition: BGSFootstepSet.h:33
@ kDeleted
Definition: BGSFootstepSet.h:34
@ kIgnored
Definition: BGSFootstepSet.h:35