CommonLibSSE NG
Loading...
Searching...
No Matches
BSInstanceTriShape.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTArray.h"
4#include "RE/B/BSTriShape.h"
5
6namespace RE
7{
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_BSInstanceTriShape;
12 inline static auto Ni_RTTI = NiRTTI_BSInstanceTriShape;
13
14 ~BSInstanceTriShape() override; // 00
15
16 // override (BSTriShape)
17 const NiRTTI* GetRTTI() const override; // 02
18
19 // add
20 SKYRIM_REL_VR_VIRTUAL void BeginAddingInstances(std::uint32_t a_numFloatsPerInstance); // 38
21 SKYRIM_REL_VR_VIRTUAL void AddInstances(std::uint32_t a_numInstances, std::uint16_t& a_instanceData); // 39
24 SKYRIM_REL_VR_VIRTUAL std::uint32_t AddGroup(std::uint32_t a_numInstances, std::uint16_t& a_instanceData, std::uint32_t a_arg3, float a_arg4); // 3C
25 SKYRIM_REL_VR_VIRTUAL void RemoveGroup(std::uint32_t a_numInstance); // 3D
26 };
27#ifndef ENABLE_SKYRIM_VR
28 static_assert(sizeof(BSInstanceTriShape) == 0x160);
29#elif !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
30 static_assert(sizeof(BSInstanceTriShape) == 0x1A8);
31#endif
32}
#define SKYRIM_REL_VR_VIRTUAL
Definition Relocation.h:152
Definition BSInstanceTriShape.h:9
SKYRIM_REL_VR_VIRTUAL void DoneAddingInstances(BSTArray< std::uint32_t > &a_instances)
static auto Ni_RTTI
Definition BSInstanceTriShape.h:12
SKYRIM_REL_VR_VIRTUAL void RemoveGroup(std::uint32_t a_numInstance)
~BSInstanceTriShape() override
static constexpr auto RTTI
Definition BSInstanceTriShape.h:11
SKYRIM_REL_VR_VIRTUAL bool GetIsAddingInstances()
SKYRIM_REL_VR_VIRTUAL void AddInstances(std::uint32_t a_numInstances, std::uint16_t &a_instanceData)
SKYRIM_REL_VR_VIRTUAL std::uint32_t AddGroup(std::uint32_t a_numInstances, std::uint16_t &a_instanceData, std::uint32_t a_arg3, float a_arg4)
const NiRTTI * GetRTTI() const override
SKYRIM_REL_VR_VIRTUAL void BeginAddingInstances(std::uint32_t a_numFloatsPerInstance)
Definition BSTArray.h:377
Definition BSTriShape.h:8
Definition NiRTTI.h:6
Definition AbsorbEffect.h:6
constexpr REL::VariantID NiRTTI_BSInstanceTriShape(524722, 411342, 0x317e770)
constexpr REL::VariantID RTTI_BSInstanceTriShape(690704, 398559, 0x1f65e28)