CommonLibVR
NiTriBasedGeometry.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiGeometry.h"
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_NiTriBasedGeom;
11  inline static auto Ni_RTTI = NiRTTI_NiTriBasedGeom;
12  inline static constexpr auto VTABLE = VTABLE_NiTriBasedGeom;
13 
14  ~NiTriBasedGeometry() override; // 00
15 
16  // override (NiGeometry)
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  void Unk_36(void); // 36
24  void Unk_37(void); // 37
25 
26  // override (NiObject)
27  NiTriBasedGeom* AsNiTriBasedGeom() override; // 0E
28  };
29 #ifndef SKYRIMVR
30  static_assert(sizeof(NiTriBasedGeometry) == 0x138);
31 #else
32  static_assert(sizeof(NiTriBasedGeometry) == 0x160);
33 #endif
34 }
Definition: NiGeometry.h:11
Definition: NiObject.h:37
Definition: NiRTTI.h:6
Definition: NiStream.h:29
Definition: NiTriBasedGeometry.h:8
~NiTriBasedGeometry() override
static constexpr auto VTABLE
Definition: NiTriBasedGeometry.h:12
NiTriBasedGeom * AsNiTriBasedGeom() override
bool RegisterStreamables(NiStream &a_stream) override
void LinkObject(NiStream &a_stream) override
bool IsEqual(NiObject *a_object) override
static constexpr auto RTTI
Definition: NiTriBasedGeometry.h:10
const NiRTTI * GetRTTI() const override
void LoadBinary(NiStream &a_stream) override
void SaveBinary(NiStream &a_stream) override
static auto Ni_RTTI
Definition: NiTriBasedGeometry.h:11
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_NiTriBasedGeom(static_cast< std::uint64_t >(690469))
constexpr std::array< REL::ID, 1 > VTABLE_NiTriBasedGeom
Definition: Offsets_VTABLE.h:12477
constexpr REL::ID NiRTTI_NiTriBasedGeom(static_cast< std::uint64_t >(524027))