CommonLibSSE (powerof3)
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 constexpr auto Ni_RTTI = NiRTTI_NiShadeProperty;
12  inline static constexpr auto VTABLE = VTABLE_NiShadeProperty;
13 
14  ~NiShadeProperty() override; // 00
15 
16  // override (NiProperty)
17  const NiRTTI* GetRTTI() const override; // 02
18  NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
19  void LoadBinary(NiStream& a_stream) override; // 18 - { NiProperty::LoadBinary(a_stream); }
20  void LinkObject(NiStream& a_stream) override; // 19 - { NiProperty::LinkObject(a_stream); }
21  bool RegisterStreamables(NiStream& a_stream) override; // 1A - { return NiProperty::RegisterStreamables(a_stream); }
22  void SaveBinary(NiStream& a_stream) override; // 1B - { NiProperty::SaveBinary(a_stream); }
23  bool IsEqual(NiObject* a_object) override; // 1C - { return NiProperty::IsEqual(a_object); }
24  [[nodiscard]] Type GetType() const override; // 25 - { return Type::kShade; }
25 
26  // add
27  virtual bool SetupGeometry(BSGeometry* a_geometry); // 27 - { return 1; }
28  virtual bool FinishSetupGeometry(BSGeometry* a_geometry); // 28 - { return 1; }
29  virtual void Unk_29(void); // 29 - { return; }
30  };
31  static_assert(sizeof(NiShadeProperty) == 0x30);
32 }
Definition: BSGeometry.h:15
Definition: NiCloningProcess.h:10
Definition: NiObject.h:37
Definition: NiProperty.h:8
Type
Definition: NiProperty.h:15
Definition: NiRTTI.h:6
Definition: NiShadeProperty.h:8
static constexpr auto Ni_RTTI
Definition: NiShadeProperty.h:11
static constexpr auto VTABLE
Definition: NiShadeProperty.h:12
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::ID NiRTTI_NiShadeProperty(static_cast< std::uint64_t >(523987))
constexpr std::array< REL::ID, 1 > VTABLE_NiShadeProperty
Definition: Offsets_VTABLE.h:12317
constexpr REL::ID RTTI_NiShadeProperty(static_cast< std::uint64_t >(690445))