CommonLibSSE NG
NiShadeProperty.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiProperty.h"
4 
5 namespace RE
6 {
7  class NiShadeProperty : public NiProperty
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_NiShadeProperty;
11  inline static auto Ni_RTTI = NiRTTI_NiShadeProperty;
12 
13  ~NiShadeProperty() override; // 00
14 
15  // override (NiProperty)
16  const NiRTTI* GetRTTI() const override; // 02
17  NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
18  void LoadBinary(NiStream& a_stream) override; // 18 - { NiProperty::LoadBinary(a_stream); }
19  void LinkObject(NiStream& a_stream) override; // 19 - { NiProperty::LinkObject(a_stream); }
20  bool RegisterStreamables(NiStream& a_stream) override; // 1A - { return NiProperty::RegisterStreamables(a_stream); }
21  void SaveBinary(NiStream& a_stream) override; // 1B - { NiProperty::SaveBinary(a_stream); }
22  bool IsEqual(NiObject* a_object) override; // 1C - { return NiProperty::IsEqual(a_object); }
23  [[nodiscard]] Type GetType() const override; // 25 - { return Type::kShade; }
24 
25  // add
26  virtual bool SetupGeometry(BSGeometry* a_geometry); // 27 - { return 1; }
27  virtual bool FinishSetupGeometry(BSGeometry* a_geometry); // 28 - { return 1; }
28  virtual void Unk_29(void); // 29 - { return; }
29  };
30  static_assert(sizeof(NiShadeProperty) == 0x30);
31 }
Definition: BSGeometry.h:15
Definition: NiCloningProcess.h:10
Definition: NiObject.h:37
Definition: NiProperty.h:8
Type
Definition: NiProperty.h:14
Definition: NiRTTI.h:6
Definition: NiShadeProperty.h:8
static auto Ni_RTTI
Definition: NiShadeProperty.h:11
NiObject * CreateClone(NiCloningProcess &a_cloning) override
void LinkObject(NiStream &a_stream) override
virtual bool SetupGeometry(BSGeometry *a_geometry)
static constexpr auto RTTI
Definition: NiShadeProperty.h:10
virtual bool FinishSetupGeometry(BSGeometry *a_geometry)
const NiRTTI * GetRTTI() const override
void SaveBinary(NiStream &a_stream) override
bool RegisterStreamables(NiStream &a_stream) override
void LoadBinary(NiStream &a_stream) override
bool IsEqual(NiObject *a_object) override
virtual void Unk_29(void)
~NiShadeProperty() override
Type GetType() const override
Definition: NiStream.h:29
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_NiShadeProperty(690445, 398300, 0x1f62280)
constexpr REL::VariantID NiRTTI_NiShadeProperty(523987, 410567, 0x316c130)