CommonLibVR
NiTriShape.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_NiTriShape;
11  inline static auto Ni_RTTI = NiRTTI_NiTriShape;
12  inline static constexpr auto VTABLE = VTABLE_NiTriShape;
13 
14  ~NiTriShape() override; // 00
15 
16  // override (NiTriBasedGeometry)
17  const NiRTTI* GetRTTI() const override; // 02
18  void LoadBinary(NiStream& a_stream) override; // 18
19  void LinkObject(NiStream& a_stream) override; // 19
20  bool RegisterStreamables(NiStream& a_stream) override; // 1A
21  void SaveBinary(NiStream& a_stream) override; // 1B
22  bool IsEqual(NiObject* a_object) override; // 1C
23 
24  // override (NiObject)
25  NiTriShape* AsNiTriShape() override; // 0F
26  NiObject* CreateClone([[maybe_unused]] NiCloningProcess& a_cloning) override; // 17
27 
28  // add
29  virtual std::uint16_t Unk_3B(bool unk1); // 3B
30  };
31 #ifndef SKYRIMVR
32  static_assert(sizeof(NiTriShape) == 0x138);
33 #else
34  static_assert(sizeof(NiTriShape) == 0x160);
35 #endif
36 }
Definition: NiCloningProcess.h:10
Definition: NiObject.h:37
Definition: NiRTTI.h:6
Definition: NiStream.h:29
Definition: NiTriBasedGeometry.h:8
Definition: NiTriShape.h:8
NiObject * CreateClone([[maybe_unused]] NiCloningProcess &a_cloning) override
bool RegisterStreamables(NiStream &a_stream) override
static constexpr auto RTTI
Definition: NiTriShape.h:10
bool IsEqual(NiObject *a_object) override
const NiRTTI * GetRTTI() const override
~NiTriShape() override
static auto Ni_RTTI
Definition: NiTriShape.h:11
void SaveBinary(NiStream &a_stream) override
void LinkObject(NiStream &a_stream) override
NiTriShape * AsNiTriShape() override
void LoadBinary(NiStream &a_stream) override
virtual std::uint16_t Unk_3B(bool unk1)
static constexpr auto VTABLE
Definition: NiTriShape.h:12
Definition: AbsorbEffect.h:6
constexpr REL::ID NiRTTI_NiTriShape(static_cast< std::uint64_t >(524010))
constexpr std::array< REL::ID, 1 > VTABLE_NiTriShape
Definition: Offsets_VTABLE.h:12479
constexpr REL::ID RTTI_NiTriShape(static_cast< std::uint64_t >(690468))