CommonLibSSE (powerof3)
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 VTABLE = VTABLE_ExtraLight;
24  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kLight;
25 
26  ~ExtraLight() override; // 00
27 
28  // override (BSExtraData)
29  [[nodiscard]] ExtraDataType GetType() const override; // 01 - { return kLight; }
30 
31  // members
33  };
34  static_assert(sizeof(ExtraLight) == 0x18);
35 }
Definition: BSExtraData.h:9
Definition: ExtraLight.h:20
static constexpr auto VTABLE
Definition: ExtraLight.h:23
REFR_LIGHT * lightData
Definition: ExtraLight.h:32
static constexpr auto EXTRADATATYPE
Definition: ExtraLight.h:24
ExtraDataType GetType() const override
static constexpr auto RTTI
Definition: ExtraLight.h:22
~ExtraLight() override
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ExtraLight
Definition: Offsets_VTABLE.h:11556
constexpr REL::ID RTTI_ExtraLight(static_cast< std::uint64_t >(684712))
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