CommonLibSSE (powerof3)
Clouds.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiColor.h"
4 #include "RE/N/NiSmartPointer.h"
5 #include "RE/S/SkyObject.h"
6 
7 namespace RE
8 {
9  class BSGeometry;
10  class NiTexture;
11 
12  class Clouds : public SkyObject
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_Clouds;
16 
17  enum
18  {
19  kTotalLayers = 32
20  };
21 
22  ~Clouds() override; // 00
23 
24  // override (SkyObject)
25  void Unk_02(void) override; // 02
26  void Update(Sky* a_sky, float a_arg2) override; // 03
27 
28  // members
30  std::uint64_t unk110[kTotalLayers]; // 110
33  float alphas[kTotalLayers]; // 490
34  std::uint16_t numLayers; // 510
35  bool forceUpdate; // 512
36  std::uint8_t pad513; // 513
37  std::uint32_t pad514; // 514
38  std::uint64_t pad520; // 520
39  };
40  static_assert(sizeof(Clouds) == 0x520);
41 }
Definition: Clouds.h:13
void Unk_02(void) override
std::uint16_t numLayers
Definition: Clouds.h:34
float alphas[kTotalLayers]
Definition: Clouds.h:33
~Clouds() override
static constexpr auto RTTI
Definition: Clouds.h:15
std::uint32_t pad514
Definition: Clouds.h:37
NiPointer< BSGeometry > clouds[kTotalLayers]
Definition: Clouds.h:29
std::uint8_t pad513
Definition: Clouds.h:36
bool forceUpdate
Definition: Clouds.h:35
@ kTotalLayers
Definition: Clouds.h:19
NiColor colors[kTotalLayers]
Definition: Clouds.h:32
void Update(Sky *a_sky, float a_arg2) override
std::uint64_t pad520
Definition: Clouds.h:38
NiPointer< NiTexture > transTexture[kTotalLayers]
Definition: Clouds.h:31
std::uint64_t unk110[kTotalLayers]
Definition: Clouds.h:30
Definition: NiColor.h:9
Definition: NiSmartPointer.h:9
Definition: SkyObject.h:11
Definition: Sky.h:31
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_Clouds
Definition: Offsets_RTTI.h:3721