CommonLibSSE (powerof3)
NiParticles.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSGeometry.h"
4 
5 namespace RE
6 {
7  class NiParticlesData;
8 
9  class NiParticles : public BSGeometry
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_NiParticles;
13  inline static constexpr auto Ni_RTTI = NiRTTI_NiParticles;
14  inline static constexpr auto VTABLE = VTABLE_NiParticles;
15 
16  ~NiParticles() override; // 00
17 
18  // override (BSGeometry)
19  const NiRTTI* GetRTTI() const override; // 02
20  NiParticles* AsParticlesGeom() override; // 10
21  NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
22  void LoadBinary(NiStream& a_stream) override; // 18
23  void LinkObject(NiStream& a_stream) override; // 19 - { BSGeometry::LinkObject(a_stream); }
24  bool RegisterStreamables(NiStream& a_stream) override; // 1A - { return BSGeometry::RegisterStreamables(a_stream); }
25  void SaveBinary(NiStream& a_stream) override; // 1B
26  bool IsEqual(NiObject* a_object) override; // 1C - { return BSGeometry::IsEqual(); }
27 
28  // members
30  std::uint64_t unk160; // 160
31  };
32  static_assert(sizeof(NiParticles) == 0x168);
33 }
Definition: BSGeometry.h:15
Definition: NiCloningProcess.h:10
Definition: NiObject.h:37
Definition: NiParticles.h:10
static constexpr auto VTABLE
Definition: NiParticles.h:14
~NiParticles() override
std::uint64_t unk160
Definition: NiParticles.h:30
bool IsEqual(NiObject *a_object) override
void SaveBinary(NiStream &a_stream) override
static constexpr auto RTTI
Definition: NiParticles.h:12
const NiRTTI * GetRTTI() const override
NiPointer< NiParticlesData > particleData
Definition: NiParticles.h:29
NiParticles * AsParticlesGeom() override
void LinkObject(NiStream &a_stream) override
bool RegisterStreamables(NiStream &a_stream) override
NiObject * CreateClone(NiCloningProcess &a_cloning) override
void LoadBinary(NiStream &a_stream) override
static constexpr auto Ni_RTTI
Definition: NiParticles.h:13
Definition: NiSmartPointer.h:9
Definition: NiRTTI.h:6
Definition: NiStream.h:29
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_NiParticles(static_cast< std::uint64_t >(690440))
constexpr REL::ID NiRTTI_NiParticles(static_cast< std::uint64_t >(523963))
constexpr std::array< REL::ID, 1 > VTABLE_NiParticles
Definition: Offsets_VTABLE.h:12300