CommonLibSSE (Parapets fork)
ExtraLight.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/E/ExtraDataTypes.h"
5 #include "RE/N/NiSmartPointer.h"
6 
7 namespace RE
8 {
9  class NiLight;
10 
11  struct REFR_LIGHT
12  {
14  float wantDimmer; // 08
15  std::uint32_t pad0C; // 0C
16  };
17  static_assert(sizeof(REFR_LIGHT) == 0x10);
18 
19  class ExtraLight : public BSExtraData
20  {
21  public:
22  inline static constexpr auto RTTI = RTTI_ExtraLight;
23  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kLight;
24 
25  ~ExtraLight() override; // 00
26 
27  // override (BSExtraData)
28  [[nodiscard]] ExtraDataType GetType() const override; // 01 - { return kLight; }
29 
30  // members
32  };
33  static_assert(sizeof(ExtraLight) == 0x18);
34 }
Definition: BSExtraData.h:9
Definition: ExtraLight.h:20
REFR_LIGHT * lightData
Definition: ExtraLight.h:31
static constexpr auto EXTRADATATYPE
Definition: ExtraLight.h:23
ExtraDataType GetType() const override
static constexpr auto RTTI
Definition: ExtraLight.h:22
~ExtraLight() override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraLight
Definition: Offsets_RTTI.h:4701
ExtraDataType
Definition: ExtraDataTypes.h:173
Definition: ExtraLight.h:12
NiPointer< NiLight > light
Definition: ExtraLight.h:13
float wantDimmer
Definition: ExtraLight.h:14
std::uint32_t pad0C
Definition: ExtraLight.h:15