CommonLibSSE NG
ExtraLightData.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 
6 namespace RE
7 {
9  {
11  ~ExtraLightDataStruct() = default;
12 
13  float fov; // 00
14  float fade; // 04
15  float endDistanceCap; // 08
16  float shadowDepthBias; // 0C
17  std::uint8_t unk10; // 10
18  std::uint8_t pad11; // 11
19  std::uint16_t pad12; // 12
20  };
21  static_assert(sizeof(ExtraLightDataStruct) == 0x14);
22 
23  class ExtraLightData : public BSExtraData
24  {
25  public:
26  inline static constexpr auto RTTI = RTTI_ExtraLightData;
27  inline static constexpr auto VTABLE = VTABLE_ExtraLightData;
29 
31  ~ExtraLightData() override = default; // 00
32 
33  // override (BSExtraData)
34  ExtraDataType GetType() const override; // 01 - { return kLightData; }
35  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02
36 
37  // members
39  std::uint32_t pad24; // 24
40  };
41  static_assert(sizeof(ExtraLightData) == 0x28);
42 }
Definition: BSExtraData.h:9
Definition: ExtraLightData.h:24
std::uint32_t pad24
Definition: ExtraLightData.h:39
~ExtraLightData() override=default
static constexpr auto VTABLE
Definition: ExtraLightData.h:27
ExtraDataType GetType() const override
ExtraLightDataStruct data
Definition: ExtraLightData.h:38
static constexpr auto RTTI
Definition: ExtraLightData.h:26
static auto EXTRADATATYPE
Definition: ExtraLightData.h:28
bool IsNotEqual(const BSExtraData *a_rhs) const override
Definition: AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_ExtraLightData
Definition: Offsets_VTABLE.h:160
constexpr REL::VariantID RTTI_ExtraLightData(684749, 392417, 0x1ed9358)
ExtraDataType
Definition: ExtraDataTypes.h:173
Definition: ExtraLightData.h:9
float fade
Definition: ExtraLightData.h:14
std::uint8_t unk10
Definition: ExtraLightData.h:17
std::uint16_t pad12
Definition: ExtraLightData.h:19
float endDistanceCap
Definition: ExtraLightData.h:15
float shadowDepthBias
Definition: ExtraLightData.h:16
float fov
Definition: ExtraLightData.h:13
std::uint8_t pad11
Definition: ExtraLightData.h:18