CommonLibSSE NG
NiFloatExtraData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiExtraData.h"
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_NiFloatExtraData;
11  inline static auto Ni_RTTI = NiRTTI_NiFloatExtraData;
12  inline static constexpr auto VTABLE = VTABLE_NiFloatExtraData;
13 
14  ~NiFloatExtraData() override; // 00
15 
16  // override (NiExtraData)
17  const NiRTTI* GetRTTI() const override; // 02
18  NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
19  void LoadBinary(NiStream& a_stream) override; // 18
20  void LinkObject(NiStream& a_stream) override; // 19 - { NiExtraData::LinkObject(a_stream); }
21  bool RegisterStreamables(NiStream& a_stream) override; // 1A - { return NiExtraData::RegisterStreamables(a_stream); }
22  void SaveBinary(NiStream& a_stream) override; // 1B
23  bool IsEqual(NiObject* a_object) override; // 1C
24 
25  static NiFloatExtraData* Create(const BSFixedString& a_name, float a_value);
26 
27  // members
28  float value; // 18
29  };
30  static_assert(sizeof(NiFloatExtraData) == 0x20);
31 }
Definition: NiCloningProcess.h:10
Definition: NiExtraData.h:9
Definition: NiFloatExtraData.h:8
bool RegisterStreamables(NiStream &a_stream) override
bool IsEqual(NiObject *a_object) override
float value
Definition: NiFloatExtraData.h:28
static constexpr auto RTTI
Definition: NiFloatExtraData.h:10
const NiRTTI * GetRTTI() const override
~NiFloatExtraData() override
void LinkObject(NiStream &a_stream) override
void SaveBinary(NiStream &a_stream) override
static NiFloatExtraData * Create(const BSFixedString &a_name, float a_value)
NiObject * CreateClone(NiCloningProcess &a_cloning) override
static constexpr auto VTABLE
Definition: NiFloatExtraData.h:12
void LoadBinary(NiStream &a_stream) override
static auto Ni_RTTI
Definition: NiFloatExtraData.h:11
Definition: NiObject.h:37
Definition: NiRTTI.h:6
Definition: NiStream.h:29
Definition: AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_NiFloatExtraData
Definition: Offsets_VTABLE.h:5565
constexpr REL::VariantID RTTI_NiFloatExtraData(690454, 398309, 0x1f623f8)
constexpr REL::VariantID NiRTTI_NiFloatExtraData(523995, 410575, 0x316c1a8)