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 FORMTYPE = FormType::LightingMaster;
15 
16  struct RecordFlags
17  {
18  enum RecordFlag : std::uint32_t
19  {
20  kDeleted = 1 << 5,
21  kIgnored = 1 << 12
22  };
23  };
24 
25  ~BGSLightingTemplate() override; // 00
26 
27  // override (TESForm)
28  void InitializeData() override; // 04
29  bool Load(TESFile* a_mod) override; // 06
30  void InitItemImpl() override; // 13
31 
32  // members
33  INTERIOR_DATA data; // 20 - DATA
35  };
36  static_assert(sizeof(BGSLightingTemplate) == 0xA0);
37 }
Definition: BGSDirectionalAmbientLightingColors.h:8
Definition: BGSLightingTemplate.h:11
static constexpr auto FORMTYPE
Definition: BGSLightingTemplate.h:14
BGSDirectionalAmbientLightingColors directionalAmbientLightingColors
Definition: BGSLightingTemplate.h:34
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:33
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSLightingTemplate
Definition: Offsets_RTTI.h:1318
Definition: BGSLightingTemplate.h:17
RecordFlag
Definition: BGSLightingTemplate.h:19
@ kIgnored
Definition: BGSLightingTemplate.h:21
@ kDeleted
Definition: BGSLightingTemplate.h:20
Definition: InteriorData.h:9