CommonLibSSE NG
Loading...
Searching...
No Matches
bhkCollisionObject.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace RE
6{
8 {
9 public:
10 inline static constexpr auto RTTI = RTTI_bhkCollisionObject;
11 inline static auto Ni_RTTI = NiRTTI_bhkCollisionObject;
12
13 ~bhkCollisionObject() override; // 00
14
15 // override (bhkNiCollisionObject)
16 const NiRTTI* GetRTTI() const override; // 02
17 NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
18 void LoadBinary(NiStream& a_stream) override; // 18 - { bhkNiCollisionObject::LoadBinary(a_stream); }
19 void LinkObject(NiStream& a_stream) override; // 19 - { bhkNiCollisionObject::LinkObject(a_stream); }
20 bool RegisterStreamables(NiStream& a_stream) override; // 1A - { return bhkNiCollisionObject::RegisterStreamables(a_stream); }
21 void SaveBinary(NiStream& a_stream) override; // 1B - { bhkNiCollisionObject::SaveBinary(a_stream); }
22 void Unk_26(void) override; // 26
23 void Unk_2A(void) override; // 2A
24 void Unk_2B(void) override; // 2B
25 void Unk_2C(void) override; // 2C
26 void Unk_2D(void) override; // 2D
27 void Unk_2E(void) override; // 2E
28 void Unk_2F(void) override; // 2F
29
30 [[nodiscard]] bhkRigidBody* GetRigidBody() const
31 {
32 using func_t = decltype(&bhkCollisionObject::GetRigidBody);
33 REL::Relocation<func_t> func{ RELOCATION_ID(12784, 20014) };
34 return func(this);
35 }
36 };
37 static_assert(sizeof(bhkCollisionObject) == 0x28);
38}
#define RELOCATION_ID(a_se, a_ae)
Definition PCH.h:794
Definition NiCloningProcess.h:10
Definition NiObject.h:37
Definition NiRTTI.h:6
Definition NiStream.h:27
Definition bhkCollisionObject.h:8
void Unk_2D(void) override
void LoadBinary(NiStream &a_stream) override
~bhkCollisionObject() override
const NiRTTI * GetRTTI() const override
void LinkObject(NiStream &a_stream) override
void Unk_2A(void) override
void SaveBinary(NiStream &a_stream) override
static constexpr auto RTTI
Definition bhkCollisionObject.h:10
void Unk_2F(void) override
NiObject * CreateClone(NiCloningProcess &a_cloning) override
void Unk_2B(void) override
bhkRigidBody * GetRigidBody() const
Definition bhkCollisionObject.h:30
void Unk_2E(void) override
static auto Ni_RTTI
Definition bhkCollisionObject.h:11
bool RegisterStreamables(NiStream &a_stream) override
void Unk_2C(void) override
void Unk_26(void) override
Definition bhkNiCollisionObject.h:11
Definition bhkRigidBody.h:14
Definition Relocation.h:1638
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_bhkCollisionObject(685178, 392944, 0x1ee10c8)
constexpr REL::VariantID NiRTTI_bhkCollisionObject(525071, 411547, 0x3187f70)