CommonLibVR
BSShadowLight.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSLight.h"
4 #include "RE/N/NiPlane.h"
5 
6 namespace RE
7 {
8  class BSShadowLight : public BSLight
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_BSShadowLight;
12  inline static constexpr auto VTABLE = VTABLE_BSShadowLight;
13 
14  struct Data
15  {
16  std::uint8_t unk0[64]; // 00
17  std::uint64_t unk40; // 40
18  std::uint64_t unk48; // 48
19  std::uint64_t unk50; // 50
20  std::uint32_t unk58; // 58
21  NiPlane planes[6]; // 5C
22  std::uint32_t unkBC; // BC
23  std::uint32_t unkC0; // C0
24  std::uint32_t unkC4; // C4
25  std::uint32_t unkCC; // CC
26  std::uint64_t unkD0; // D4
27  std::uint32_t unkDC; // DC
28  std::uint64_t unkE0; // E0
29  std::uint16_t unkE8; // E8
30  };
31  static_assert(sizeof(Data) == 0xF0);
32 
33  ~BSShadowLight() override; // 00
34 
35  // add
36  virtual void Unk_04(); // 04
37  virtual void Unk_05(); // 05
38  virtual void Unk_06(); // 06
39  virtual void Unk_07(); // 07
40  virtual void Unk_08(); // 08
41  virtual void Unk_09() = 0; // 09
42  virtual void Unk_0A() = 0; // 0A
43  virtual void Unk_0B(); // 0B
44  virtual void Unk_0C(); // 0C
45  virtual void Unk_0D(); // 0D
46  virtual void Unk_0E(); // 0E
47  virtual void Unk_0F(); // 0F
48  virtual void Unk_10() = 0; // 10
49 
50  // members
51  std::uint32_t unk140; // 140
52  std::uint32_t unk144; // 144
54  Data unk160[4]; // 161
55  std::uint32_t maskIndex; // 520
56  std::uint32_t unk524; // 524
58  float shadowBiasScale; // 540
59  std::uint32_t sceneGraphIndex; // 544
60  std::uint32_t unk548; // 548
61  std::uint32_t unk54C; // 54C
62  std::uint32_t unk550; // 550
63  std::uint32_t unk554; // 554
64  std::uint8_t unk558; // 558
65  std::uint8_t pad559; // 559
66  std::uint8_t pad55A; // 55A
67  std::uint32_t pad55B; // 55B
68  private:
69  KEEP_FOR_RE()
70  };
71  static_assert(sizeof(BSShadowLight) == 0x560);
72 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSLight.h:18
Definition: BSShadowLight.h:9
virtual void Unk_06()
std::uint32_t unk554
Definition: BSShadowLight.h:63
~BSShadowLight() override
std::uint32_t pad55B
Definition: BSShadowLight.h:67
std::uint32_t unk140
Definition: BSShadowLight.h:51
std::uint32_t unk54C
Definition: BSShadowLight.h:61
std::uint8_t unk558
Definition: BSShadowLight.h:64
std::uint32_t maskIndex
Definition: BSShadowLight.h:55
virtual void Unk_0A()=0
virtual void Unk_10()=0
virtual void Unk_08()
virtual void Unk_09()=0
std::uint32_t unk548
Definition: BSShadowLight.h:60
virtual void Unk_04()
std::uint32_t unk524
Definition: BSShadowLight.h:56
std::uint32_t unk550
Definition: BSShadowLight.h:62
float shadowBiasScale
Definition: BSShadowLight.h:58
std::uint32_t unk144
Definition: BSShadowLight.h:52
static constexpr auto RTTI
Definition: BSShadowLight.h:11
std::uint32_t sceneGraphIndex
Definition: BSShadowLight.h:59
virtual void Unk_0C()
virtual void Unk_0F()
std::uint8_t pad559
Definition: BSShadowLight.h:65
BSTArray< void * > unk528
Definition: BSShadowLight.h:57
virtual void Unk_07()
static constexpr auto VTABLE
Definition: BSShadowLight.h:12
virtual void Unk_0D()
std::uint8_t pad55A
Definition: BSShadowLight.h:66
BSTArray< void * > unk148
Definition: BSShadowLight.h:53
Data unk160[4]
Definition: BSShadowLight.h:54
virtual void Unk_0B()
virtual void Unk_05()
virtual void Unk_0E()
Definition: NiPlane.h:8
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSShadowLight(static_cast< std::uint64_t >(692064))
constexpr std::array< REL::ID, 1 > VTABLE_BSShadowLight
Definition: Offsets_VTABLE.h:9842
Definition: BSShadowLight.h:15
std::uint64_t unkD0
Definition: BSShadowLight.h:26
std::uint32_t unk58
Definition: BSShadowLight.h:20
std::uint32_t unkCC
Definition: BSShadowLight.h:25
std::uint32_t unkBC
Definition: BSShadowLight.h:22
std::uint64_t unk40
Definition: BSShadowLight.h:17
std::uint32_t unkDC
Definition: BSShadowLight.h:27
std::uint32_t unkC4
Definition: BSShadowLight.h:24
std::uint8_t unk0[64]
Definition: BSShadowLight.h:16
std::uint64_t unkE0
Definition: BSShadowLight.h:28
std::uint32_t unkC0
Definition: BSShadowLight.h:23
std::uint16_t unkE8
Definition: BSShadowLight.h:29
NiPlane planes[6]
Definition: BSShadowLight.h:21
std::uint64_t unk48
Definition: BSShadowLight.h:18
std::uint64_t unk50
Definition: BSShadowLight.h:19