CommonLibVR
BSValueNode.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSNiNode.h"
4 
5 namespace RE
6 {
7  class BSMasterParticleSystem;
8 
9  class BSValueNode : public BSNiNode
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BSValueNode;
13  inline static constexpr auto Ni_RTTI = NiRTTI_BSValueNode;
14  inline static constexpr auto VTABLE = VTABLE_BSValueNode;
15 
16  ~BSValueNode() override; // 00
17 
18  // override (BSNiNode)
19  const NiRTTI* GetRTTI() const override; // 02
20  NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
21  void LoadBinary(NiStream& a_stream) override; // 18
22  void LinkObject(NiStream& a_stream) override; // 19
23  bool RegisterStreamables(NiStream& a_stream) override; // 1A
24  void SaveBinary(NiStream& a_stream) override; // 1B
25  bool IsEqual(NiObject* a_object) override; // 1C
26  void UpdateWorldData(NiUpdateData* a_data) override; // 30
27 
28  // add
29  virtual bool ParseNameForValue(); // 35
30 
31  // members
32  std::uint8_t flags; // 128
33  std::uint32_t value; // 12C
35  private:
36  KEEP_FOR_RE()
37  };
38 #ifndef SKYRIMVR
39  static_assert(sizeof(BSValueNode) == 0x138);
40 #else
41  static_assert(sizeof(BSValueNode) == 0x160);
42 #endif
43 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSNiNode.h:8
Definition: BSValueNode.h:10
void UpdateWorldData(NiUpdateData *a_data) override
void LoadBinary(NiStream &a_stream) override
void SaveBinary(NiStream &a_stream) override
NiObject * CreateClone(NiCloningProcess &a_cloning) override
virtual bool ParseNameForValue()
bool IsEqual(NiObject *a_object) override
void LinkObject(NiStream &a_stream) override
static constexpr auto Ni_RTTI
Definition: BSValueNode.h:13
const NiRTTI * GetRTTI() const override
std::uint8_t flags
Definition: BSValueNode.h:32
~BSValueNode() override
bool RegisterStreamables(NiStream &a_stream) override
std::uint32_t value
Definition: BSValueNode.h:33
static constexpr auto RTTI
Definition: BSValueNode.h:12
NiPointer< BSMasterParticleSystem > associatedObject
Definition: BSValueNode.h:34
static constexpr auto VTABLE
Definition: BSValueNode.h:14
Definition: NiCloningProcess.h:10
Definition: NiObject.h:37
Definition: NiSmartPointer.h:9
Definition: NiRTTI.h:6
Definition: NiStream.h:29
Definition: NiAVObject.h:28
Definition: AbsorbEffect.h:6
constexpr REL::ID NiRTTI_BSValueNode(static_cast< std::uint64_t >(524560))
constexpr REL::ID RTTI_BSValueNode(static_cast< std::uint64_t >(690677))
constexpr std::array< REL::ID, 1 > VTABLE_BSValueNode
Definition: Offsets_VTABLE.h:10563