CommonLibVR
BSDynamicTriShape.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTriShape.h"
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_BSDynamicTriShape;
11  inline static constexpr auto Ni_RTTI = NiRTTI_BSDynamicTriShape;
12  inline static constexpr auto VTABLE = VTABLE_BSDynamicTriShape;
13 
14  ~BSDynamicTriShape() override; // 00
15 
16  // override (BSTriShape)
17  const NiRTTI* GetRTTI() const override; // 02
19  NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
20  void LoadBinary(NiStream& a_stream) override; // 18
21  void LinkObject(NiStream& a_stream) override; // 19 - { BSTriShape::LinkObject(a_stream); }
22  bool RegisterStreamables(NiStream& a_stream) override; // 1A - { return BSTriShape::RegisterStreamables(a_stream); }
23  void SaveBinary(NiStream& a_stream) override; // 1B
24  bool IsEqual(NiObject* a_object) override; // 1C
25 
26  // members
27  void* dynamicData; // 160
28  mutable BSSpinLock lock; // 168
29  std::uint32_t dataSize; // 170
30  std::uint32_t frameCount; // 174
31  std::uint32_t unk178; // 178
32  std::uint32_t unk17C; // 17C
33  private:
34  KEEP_FOR_RE()
35  };
36 #ifndef SKYRIMVR
37  static_assert(sizeof(BSDynamicTriShape) == 0x180);
38 #else
39  static_assert(sizeof(BSDynamicTriShape) == 0x1C0);
40 #endif
41 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSDynamicTriShape.h:8
const NiRTTI * GetRTTI() const override
std::uint32_t unk178
Definition: BSDynamicTriShape.h:31
bool IsEqual(NiObject *a_object) override
void * dynamicData
Definition: BSDynamicTriShape.h:27
~BSDynamicTriShape() override
void SaveBinary(NiStream &a_stream) override
std::uint32_t unk17C
Definition: BSDynamicTriShape.h:32
static constexpr auto RTTI
Definition: BSDynamicTriShape.h:10
static constexpr auto VTABLE
Definition: BSDynamicTriShape.h:12
BSDynamicTriShape * AsDynamicTriShape() override
NiObject * CreateClone(NiCloningProcess &a_cloning) override
void LinkObject(NiStream &a_stream) override
std::uint32_t frameCount
Definition: BSDynamicTriShape.h:30
bool RegisterStreamables(NiStream &a_stream) override
void LoadBinary(NiStream &a_stream) override
static constexpr auto Ni_RTTI
Definition: BSDynamicTriShape.h:11
BSSpinLock lock
Definition: BSDynamicTriShape.h:28
std::uint32_t dataSize
Definition: BSDynamicTriShape.h:29
Definition: BSAtomic.h:92
Definition: BSTriShape.h:8
Definition: NiCloningProcess.h:10
Definition: NiObject.h:37
Definition: NiRTTI.h:6
Definition: NiStream.h:29
Definition: AbsorbEffect.h:6
constexpr REL::ID NiRTTI_BSDynamicTriShape(static_cast< std::uint64_t >(523953))
constexpr REL::ID RTTI_BSDynamicTriShape(static_cast< std::uint64_t >(685045))
constexpr std::array< REL::ID, 1 > VTABLE_BSDynamicTriShape
Definition: Offsets_VTABLE.h:9000