CommonLibVR
Loading...
Searching...
No Matches
NiParticles.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSGeometry.h"
4
5namespace 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 private:
33 };
34#ifndef SKYRIMVR
35 static_assert(sizeof(NiParticles) == 0x168);
36#else
37 static_assert(sizeof(NiParticles) == 0x1A8);
38#endif
39}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition BSGeometry.h:17
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
NiParticles * AsParticlesGeom() override
void SaveBinary(NiStream &a_stream) override
static constexpr auto RTTI
Definition NiParticles.h:12
NiPointer< NiParticlesData > particleData
Definition NiParticles.h:29
NiObject * CreateClone(NiCloningProcess &a_cloning) override
void LinkObject(NiStream &a_stream) override
bool RegisterStreamables(NiStream &a_stream) override
const NiRTTI * GetRTTI() const 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