CommonLibSSE (powerof3)
BGSLightingTemplate.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/F/FormTypes.h"
5 #include "RE/I/InteriorData.h"
6 #include "RE/T/TESForm.h"
7 
8 namespace RE
9 {
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_BGSLightingTemplate;
14  inline static constexpr auto VTABLE = VTABLE_BGSLightingTemplate;
15  inline static constexpr auto FORMTYPE = FormType::LightingMaster;
16 
17  struct RecordFlags
18  {
19  enum RecordFlag : std::uint32_t
20  {
21  kDeleted = 1 << 5,
22  kIgnored = 1 << 12
23  };
24  };
25 
26  ~BGSLightingTemplate() 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
34  INTERIOR_DATA data; // 20 - DATA
36  };
37  static_assert(sizeof(BGSLightingTemplate) == 0xA0);
38 }
Definition: BGSDirectionalAmbientLightingColors.h:8
Definition: BGSLightingTemplate.h:11
static constexpr auto VTABLE
Definition: BGSLightingTemplate.h:14
static constexpr auto FORMTYPE
Definition: BGSLightingTemplate.h:15
BGSDirectionalAmbientLightingColors directionalAmbientLightingColors
Definition: BGSLightingTemplate.h:35
static constexpr auto RTTI
Definition: BGSLightingTemplate.h:13
void InitializeData() override
bool Load(TESFile *a_mod) override
void InitItemImpl() override
~BGSLightingTemplate() override
INTERIOR_DATA data
Definition: BGSLightingTemplate.h:34
Definition: TESFile.h:17
Definition: TESForm.h:36
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSLightingTemplate(static_cast< std::uint64_t >(513981))
constexpr std::array< REL::ID, 1 > VTABLE_BGSLightingTemplate
Definition: Offsets_VTABLE.h:8641
Definition: BGSLightingTemplate.h:18
RecordFlag
Definition: BGSLightingTemplate.h:20
@ kIgnored
Definition: BGSLightingTemplate.h:22
@ kDeleted
Definition: BGSLightingTemplate.h:21
Definition: InteriorData.h:9