CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
Moon.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSString.h"
4#include "RE/S/SkyObject.h"
5
6namespace RE
7{
8 class BSTriShape;
9 class NiNode;
10
11 class Moon : public SkyObject
12 {
13 public:
14 inline static constexpr auto RTTI = RTTI_Moon;
15
16 enum class UpdateStatus
17 {
18 kNotRequired = 0,
21 };
22
23 struct Phases
24 {
25 enum Phase
26 {
27 kFull = 0,
35
36 kTotal
37 };
38 };
40
41 ~Moon() override; // 00
42
43 // override (SkyObject)
44 void Unk_02(void) override; // 02
45 void Update(Sky* a_sky, float a_arg2) override; // 03
46
47 // members
52 BSString stateTextures[Phase::kTotal]; // 30
53 float angleFadeStart; // B0
54 float angleFadeEnd; // B4
56 float speed; // BC
57 float zOffset; // C0
58 std::uint32_t size; // C4
60 float unkCC; // CC
61 float unkD0; // D0
62 std::uint32_t padD4; // D4
63 };
64 static_assert(sizeof(Moon) == 0xD8);
65}
Definition: Moon.h:12
BSString stateTextures[Phase::kTotal]
Definition: Moon.h:52
NiPointer< NiNode > moonNode
Definition: Moon.h:48
float unkCC
Definition: Moon.h:60
static constexpr auto RTTI
Definition: Moon.h:14
float angleFadeEnd
Definition: Moon.h:54
std::uint32_t padD4
Definition: Moon.h:62
NiPointer< BSTriShape > moonMesh
Definition: Moon.h:50
UpdateStatus
Definition: Moon.h:17
void Update(Sky *a_sky, float a_arg2) override
void Unk_02(void) override
std::uint32_t size
Definition: Moon.h:58
NiPointer< BSTriShape > shadowMesh
Definition: Moon.h:51
NiPointer< NiNode > shadowNode
Definition: Moon.h:49
stl::enumeration< UpdateStatus, std::uint32_t > updateMoonTexture
Definition: Moon.h:59
float angleFadeStart
Definition: Moon.h:53
~Moon() override
float zOffset
Definition: Moon.h:57
float speed
Definition: Moon.h:56
float unkD0
Definition: Moon.h:61
float angleShadowEarlyFade
Definition: Moon.h:55
Definition: NiSmartPointer.h:9
Definition: Sky.h:31
Definition: SkyObject.h:11
Definition: PCH.h:216
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_Moon
Definition: Offsets_RTTI.h:5186
Definition: Moon.h:24
Phase
Definition: Moon.h:26
@ kFull
Definition: Moon.h:27
@ kWaningGibbous
Definition: Moon.h:28
@ kWaxingCrescent
Definition: Moon.h:32
@ kTotal
Definition: Moon.h:36
@ kWaningCrescent
Definition: Moon.h:30
@ kWaningQuarter
Definition: Moon.h:29
@ kNewMoon
Definition: Moon.h:31
@ kWaxingQuarter
Definition: Moon.h:33
@ kWaxingGibbous
Definition: Moon.h:34