CommonLibVR
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 VTABLE = VTABLE_BGSMovementType;
15  inline static constexpr auto FORMTYPE = FormType::MovementType;
16 
17  struct RecordFlags
18  {
19  enum RecordFlag : std::uint32_t
20  {
21  kDeleted = 1 << 5,
22  kIgnored = 1 << 12
23  };
24  };
25 
26  ~BGSMovementType() override; // 00
27 
28  // override (TESForm)
29  void InitializeData() override; // 04
30  bool Load(TESFile* a_mod) override; // 06
31  void InitItemImpl() override; // 13
32 
33  // members
35  private:
36  KEEP_FOR_RE()
37  };
38  static_assert(sizeof(BGSMovementType) == 0x60);
39 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BGSMovementType.h:11
static constexpr auto VTABLE
Definition: BGSMovementType.h:14
static constexpr auto FORMTYPE
Definition: BGSMovementType.h:15
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:34
Definition: TESFile.h:17
Definition: TESForm.h:40
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSMovementType(static_cast< std::uint64_t >(514005))
constexpr std::array< REL::ID, 1 > VTABLE_BGSMovementType
Definition: Offsets_VTABLE.h:8655
Definition: BGSMovementType.h:18
RecordFlag
Definition: BGSMovementType.h:20
@ kIgnored
Definition: BGSMovementType.h:22
@ kDeleted
Definition: BGSMovementType.h:21
Definition: Movement.h:42