CommonLibSSE NG
TESWordOfPower.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 #include "RE/T/TESFullName.h"
7 
8 namespace RE
9 {
11  public TESForm, // 00
12  public TESFullName // 20
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_TESWordOfPower;
16  inline static constexpr auto VTABLE = VTABLE_TESWordOfPower;
17  inline static constexpr auto FORMTYPE = FormType::WordOfPower;
18 
19  struct RecordFlags
20  {
21  enum RecordFlag : std::uint32_t
22  {
23  kDeleted = 1 << 5,
24  kIgnored = 1 << 12
25  };
26  };
27 
28  ~TESWordOfPower() override; // 00
29 
30  // override (TESForm)
31  bool Load(TESFile* a_mod) override; // 06
32 
33  // members
34  BSFixedString translation; // 30 - TNAM
35  };
36  static_assert(sizeof(TESWordOfPower) == 0x38);
37 }
Definition: TESFile.h:17
Definition: TESForm.h:36
Definition: TESFullName.h:9
Definition: TESWordOfPower.h:13
BSFixedString translation
Definition: TESWordOfPower.h:34
static constexpr auto VTABLE
Definition: TESWordOfPower.h:16
static constexpr auto RTTI
Definition: TESWordOfPower.h:15
bool Load(TESFile *a_mod) override
static constexpr auto FORMTYPE
Definition: TESWordOfPower.h:17
~TESWordOfPower() override
Definition: AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 2 > VTABLE_TESWordOfPower
Definition: Offsets_VTABLE.h:836
constexpr REL::VariantID RTTI_TESWordOfPower(685348, 393127, 0x1ee4230)
Definition: TESWordOfPower.h:20
RecordFlag
Definition: TESWordOfPower.h:22
@ kIgnored
Definition: TESWordOfPower.h:24
@ kDeleted
Definition: TESWordOfPower.h:23