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  inline static constexpr auto VTABLE = VTABLE_Clouds;
17 
18  enum
19  {
20  kTotalLayers = 32
21  };
22 
23  ~Clouds() override; // 00
24 
25  // override (SkyObject)
26  void Init(NiNode* a_root) override; // 02
27  void Update(Sky* a_sky, float a_arg2) override; // 03
28 
29  // members
31  std::uint64_t unk110[kTotalLayers]; // 110
34  float alphas[kTotalLayers]; // 490
35  std::uint16_t numLayers; // 510
36  bool forceUpdate; // 512
37  std::uint8_t pad513; // 513
38  std::uint32_t pad514; // 514
39  std::uint64_t pad520; // 520
40  };
41  static_assert(sizeof(Clouds) == 0x520);
42 }
Definition: Clouds.h:13
std::uint16_t numLayers
Definition: Clouds.h:35
float alphas[kTotalLayers]
Definition: Clouds.h:34
~Clouds() override
static constexpr auto RTTI
Definition: Clouds.h:15
std::uint32_t pad514
Definition: Clouds.h:38
NiPointer< BSGeometry > clouds[kTotalLayers]
Definition: Clouds.h:30
std::uint8_t pad513
Definition: Clouds.h:37
bool forceUpdate
Definition: Clouds.h:36
@ kTotalLayers
Definition: Clouds.h:20
NiColor colors[kTotalLayers]
Definition: Clouds.h:33
void Update(Sky *a_sky, float a_arg2) override
void Init(NiNode *a_root) override
std::uint64_t pad520
Definition: Clouds.h:39
NiPointer< NiTexture > transTexture[kTotalLayers]
Definition: Clouds.h:32
static constexpr auto VTABLE
Definition: Clouds.h:16
std::uint64_t unk110[kTotalLayers]
Definition: Clouds.h:31
Definition: NiColor.h:11
Definition: NiNode.h:12
Definition: NiSmartPointer.h:9
Definition: SkyObject.h:11
Definition: Sky.h:32
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_Clouds(static_cast< std::uint64_t >(685528))
constexpr std::array< REL::ID, 1 > VTABLE_Clouds
Definition: Offsets_VTABLE.h:10646