CommonLibSSE (Parapets fork)
BGSMovementType.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/M/Movement.h"
6 #include "RE/T/TESForm.h"
7 
8 namespace RE
9 {
10  class BGSMovementType : public TESForm
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_BGSMovementType;
14  inline static constexpr auto FORMTYPE = FormType::MovementType;
15 
16  struct RecordFlags
17  {
18  enum RecordFlag : std::uint32_t
19  {
20  kDeleted = 1 << 5,
21  kIgnored = 1 << 12
22  };
23  };
24 
25  ~BGSMovementType() 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
34  };
35  static_assert(sizeof(BGSMovementType) == 0x60);
36 }
Definition: BGSMovementType.h:11
static constexpr auto FORMTYPE
Definition: BGSMovementType.h:14
void InitItemImpl() override
bool Load(TESFile *a_mod) override
~BGSMovementType() override
static constexpr auto RTTI
Definition: BGSMovementType.h:13
void InitializeData() override
Movement::TypeData movementTypeData
Definition: BGSMovementType.h:33
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSMovementType
Definition: Offsets_RTTI.h:1333
Definition: BGSMovementType.h:17
RecordFlag
Definition: BGSMovementType.h:19
@ kIgnored
Definition: BGSMovementType.h:21
@ kDeleted
Definition: BGSMovementType.h:20
Definition: Movement.h:42