CommonLibSSE NG
Loading...
Searching...
No Matches
bhkSerializable.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/bhkRefObject.h"
4
5namespace RE
6{
7 class ahkpWorld;
8 class hkpWorld;
9 class bhkWorld;
10
12 {
13 public:
14 inline static constexpr auto RTTI = RTTI_bhkSerializable;
15 inline static auto Ni_RTTI = NiRTTI_bhkSerializable;
16
17 ~bhkSerializable() override; // 00
18
19 // override (bhkRefObject)
20 const NiRTTI* GetRTTI() const override; // 02
21 void LoadBinary(NiStream& a_stream) override; // 18
22 void LinkObject(NiStream& a_stream) override; // 19
23 bool RegisterStreamables(NiStream& a_stream) override; // 1A - { return NiObject::RegisterStreamables(a_stream); }
24 void SaveBinary(NiStream& a_stream) override; // 1B
25 void SetReferencedObject(hkReferencedObject* a_object) override; // 25
26
27 // add
28 virtual hkpWorld* GetWorld1(); // 27 - { return 0; }
29 virtual ahkpWorld* GetWorld2(); // 28 - { return 0; }
30 virtual void MoveToWorld(bhkWorld* a_world); // 29
31 virtual void RemoveFromCurrentWorld(); // 2A
32 virtual void Unk_2B(void); // 2B
33 virtual void Unk_2C(void); // 2C - { return 1; }
34 virtual void Unk_2D(void); // 2D
35 virtual void Unk_2E(void) = 0; // 2E
36 virtual void Unk_2F(void) = 0; // 2F
37 virtual void Unk_30(void); // 30
38 virtual void Unk_31(void); // 31
39
40 // members
42 };
43 static_assert(sizeof(bhkSerializable) == 0x20);
44}
Definition NiRTTI.h:6
Definition NiStream.h:27
Definition ahkpWorld.h:8
Definition bhkRefObject.h:11
Definition bhkSerializable.h:12
void LinkObject(NiStream &a_stream) override
static constexpr auto RTTI
Definition bhkSerializable.h:14
void SaveBinary(NiStream &a_stream) override
virtual void Unk_2E(void)=0
bool RegisterStreamables(NiStream &a_stream) override
virtual hkpWorld * GetWorld1()
virtual void Unk_31(void)
virtual ahkpWorld * GetWorld2()
virtual void Unk_2F(void)=0
~bhkSerializable() override
bhkSerializable * serializable
Definition bhkSerializable.h:41
virtual void MoveToWorld(bhkWorld *a_world)
virtual void Unk_2D(void)
void SetReferencedObject(hkReferencedObject *a_object) override
virtual void RemoveFromCurrentWorld()
static auto Ni_RTTI
Definition bhkSerializable.h:15
virtual void Unk_30(void)
virtual void Unk_2C(void)
virtual void Unk_2B(void)
const NiRTTI * GetRTTI() const override
void LoadBinary(NiStream &a_stream) override
Definition bhkWorld.h:14
Definition hkReferencedObject.h:11
Definition hkpWorld.h:62
Definition AbsorbEffect.h:6
constexpr REL::VariantID NiRTTI_bhkSerializable(525109, 411584, 0x3188108)
constexpr REL::VariantID RTTI_bhkSerializable(685161, 392927, 0x1ee0d90)