CommonLibSSE (powerof3)
BGSAssociationType.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 BGSAssociationType : public TESForm
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BGSAssociationType;
13  inline static constexpr auto FORMTYPE = FormType::AssociationType;
14 
15  enum class FLAGS // DATA
16  {
17  kNone = 0,
18  kFamily = 1 << 0
19  };
20 
21  struct RecordFlags
22  {
23  enum RecordFlag : std::uint32_t
24  {
25  kDeleted = 1 << 5,
26  kIgnored = 1 << 12
27  };
28  };
29 
30  struct Members
31  {
32  enum
33  {
36 
37  kTotal
38  };
39  };
40 
41  struct Sexes
42  {
43  enum
44  {
47 
48  kTotal
49  };
50  };
51 
52  ~BGSAssociationType() override; // 00
53 
54  // override (TESForm)
55  void InitializeData() override; // 04
56  bool Load(TESFile* a_mod) override; // 06
57 
58  // members
61  std::uint32_t pad44; // 44
62  };
63  static_assert(sizeof(BGSAssociationType) == 0x48);
64 }
Definition: BGSAssociationType.h:10
~BGSAssociationType() override
static constexpr auto FORMTYPE
Definition: BGSAssociationType.h:13
stl::enumeration< FLAGS, std::uint32_t > flags
Definition: BGSAssociationType.h:60
std::uint32_t pad44
Definition: BGSAssociationType.h:61
void InitializeData() override
FLAGS
Definition: BGSAssociationType.h:16
BSFixedString associationLabels[Members::kTotal][Sexes::kTotal]
Definition: BGSAssociationType.h:59
bool Load(TESFile *a_mod) override
static constexpr auto RTTI
Definition: BGSAssociationType.h:12
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSAssociationType
Definition: Offsets_RTTI.h:1257
Definition: BGSAssociationType.h:31
@ kTotal
Definition: BGSAssociationType.h:37
@ kChild
Definition: BGSAssociationType.h:35
@ kParent
Definition: BGSAssociationType.h:34
Definition: BGSAssociationType.h:22
RecordFlag
Definition: BGSAssociationType.h:24
@ kDeleted
Definition: BGSAssociationType.h:25
@ kIgnored
Definition: BGSAssociationType.h:26
Definition: BGSAssociationType.h:42
@ kMale
Definition: BGSAssociationType.h:45
@ kTotal
Definition: BGSAssociationType.h:48
@ kFemale
Definition: BGSAssociationType.h:46