CommonLibSSE (Parapets fork)
BSFadeNode.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiNode.h"
4 
5 namespace RE
6 {
7  class BSLeafAnimNode;
8  class BSTreeNode;
9 
10  class BSFadeNode : public NiNode
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_BSFadeNode;
14  inline static constexpr auto Ni_RTTI = NiRTTI_BSFadeNode;
15 
16  ~BSFadeNode() override; // 00
17 
18  // override (NiNode)
19  const NiRTTI* GetRTTI() const override; // 02
20  BSFadeNode* AsFadeNode() override; // 05 - { return this; }
21  NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
22  void LoadBinary(NiStream& a_stream) override; // 18
23  void LinkObject(NiStream& a_stream) override; // 19
24  bool RegisterStreamables(NiStream& a_stream) override; // 1A
25  void SaveBinary(NiStream& a_stream) override; // 1B
26  bool IsEqual(NiObject* a_object) override; // 1C
27  void UpdateSelectedDownwardPass(NiUpdateData& a_data, std::uint32_t a_arg2) override; // 2D
28  void OnVisible(NiCullingProcess& a_process) override; // 34
29 
30  // add
31  virtual BSTreeNode* AsTreeNode(); // 3E - { return 0; }
32  virtual BSLeafAnimNode* AsLeafAnimNode(); // 3F - { return 0; }
33 
34  // members
35  float unk128; // 128
36  float unk12C; // 12C
37  float currentFade; // 130
38  std::uint32_t unk134; // 134
39  std::uint32_t unk138; // 138
40  std::uint32_t unk13C; // 13C
41  float unk140; // 140
42  std::uint32_t unk144; // 144
43  std::uint32_t unk148; // 148
44  float unk14C; // 14C
45  std::uint16_t unk150; // 150
46  std::uint8_t unk152; // 152
47  std::uint8_t unk153; // 153
48  std::uint8_t unk154; // 154
49  std::uint8_t unk155; // 155
50  std::uint16_t unk156; // 156
51  };
52 #ifndef SKYRIMVR
53  static_assert(sizeof(BSFadeNode) == 0x158);
54 #else
55  static_assert(sizeof(BSFadeNode) == 0x180);
56 #endif
57 }
Definition: BSFadeNode.h:11
~BSFadeNode() override
BSFadeNode * AsFadeNode() override
bool IsEqual(NiObject *a_object) override
std::uint32_t unk144
Definition: BSFadeNode.h:42
bool RegisterStreamables(NiStream &a_stream) override
NiObject * CreateClone(NiCloningProcess &a_cloning) override
const NiRTTI * GetRTTI() const override
void SaveBinary(NiStream &a_stream) override
std::uint8_t unk155
Definition: BSFadeNode.h:49
std::uint16_t unk156
Definition: BSFadeNode.h:50
std::uint16_t unk150
Definition: BSFadeNode.h:45
std::uint32_t unk13C
Definition: BSFadeNode.h:40
void OnVisible(NiCullingProcess &a_process) override
std::uint32_t unk138
Definition: BSFadeNode.h:39
std::uint32_t unk134
Definition: BSFadeNode.h:38
void LinkObject(NiStream &a_stream) override
std::uint8_t unk152
Definition: BSFadeNode.h:46
float unk14C
Definition: BSFadeNode.h:44
static constexpr auto RTTI
Definition: BSFadeNode.h:13
void UpdateSelectedDownwardPass(NiUpdateData &a_data, std::uint32_t a_arg2) override
float currentFade
Definition: BSFadeNode.h:37
std::uint8_t unk154
Definition: BSFadeNode.h:48
float unk12C
Definition: BSFadeNode.h:36
std::uint8_t unk153
Definition: BSFadeNode.h:47
std::uint32_t unk148
Definition: BSFadeNode.h:43
void LoadBinary(NiStream &a_stream) override
static constexpr auto Ni_RTTI
Definition: BSFadeNode.h:14
virtual BSTreeNode * AsTreeNode()
float unk128
Definition: BSFadeNode.h:35
float unk140
Definition: BSFadeNode.h:41
virtual BSLeafAnimNode * AsLeafAnimNode()
Definition: NiCullingProcess.h:34
Definition: NiNode.h:12
Definition: NiObject.h:37
Definition: NiRTTI.h:6
Definition: NiStream.h:6
Definition: NiAVObject.h:22
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSFadeNode
Definition: Offsets_RTTI.h:1708
constexpr REL::ID NiRTTI_BSFadeNode
Definition: Offsets_NiRTTI.h:43