CommonLibSSE (powerof3)
TESEyes.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/F/FormTypes.h"
4 #include "RE/T/TESForm.h"
5 #include "RE/T/TESFullName.h"
6 #include "RE/T/TESTexture.h"
7 
8 namespace RE
9 {
10  class TESEyes :
11  public TESForm, // 00
12  public TESFullName, // 20
13  public TESTexture // 30
14  {
15  public:
16  inline static constexpr auto RTTI = RTTI_TESEyes;
17  inline static constexpr auto FORMTYPE = FormType::Eyes;
18 
19  enum class Flag
20  {
21  kNone = 0,
22  kPlayable = 1 << 0,
23  kNotMale = 1 << 1,
24  kNotFemale = 1 << 2
25  };
26 
27  struct RecordFlags
28  {
29  enum RecordFlag : std::uint32_t
30  {
31  kNonPlayable = 1 << 2,
32  kDeleted = 1 << 5,
33  kIgnored = 1 << 12
34  };
35  };
36 
37  ~TESEyes() override; // 00
38 
39  // override (TESForm)
40  void InitializeData() override; // 04 - { flags = 0; }
41  bool Load(TESFile* a_mod) override; // 06 - { return true; }
42 
43  // members
45  std::uint8_t pad41; // 41
46  std::uint16_t pad42; // 42
47  std::uint32_t pad44; // 44
48  };
49  static_assert(sizeof(TESEyes) == 0x48);
50 }
Definition: TESEyes.h:14
void InitializeData() override
std::uint32_t pad44
Definition: TESEyes.h:47
std::uint16_t pad42
Definition: TESEyes.h:46
static constexpr auto RTTI
Definition: TESEyes.h:16
stl::enumeration< Flag, std::uint8_t > flags
Definition: TESEyes.h:44
~TESEyes() override
static constexpr auto FORMTYPE
Definition: TESEyes.h:17
bool Load(TESFile *a_mod) override
std::uint8_t pad41
Definition: TESEyes.h:45
Flag
Definition: TESEyes.h:20
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: TESFullName.h:9
Definition: TESTexture.h:10
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESEyes
Definition: Offsets_RTTI.h:5991
Definition: TESEyes.h:28
RecordFlag
Definition: TESEyes.h:30
@ kIgnored
Definition: TESEyes.h:33
@ kDeleted
Definition: TESEyes.h:32
@ kNonPlayable
Definition: TESEyes.h:31