CommonLibSSE NG
Loading...
Searching...
No Matches
hkpConstraintInstance.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace RE
6{
7 class hkpConstraintData;
8 class hkpConstraintOwner;
9 struct hkpModifierConstraintAtom;
10
12 {
13 public:
14 inline static constexpr auto RTTI = RTTI_hkpConstraintInstance;
15 inline static constexpr auto VTABLE = VTABLE_hkpConstraintInstance;
16
17 ~hkpConstraintInstance() override; // 00
18
20 {
21 return reinterpret_cast<hkpRigidBody*>(entities[0]);
22 }
23
25 {
26 return reinterpret_cast<hkpRigidBody*>(entities[1]);
27 }
28
29 // members
32 hkpModifierConstraintAtom* constraintModifiers; // 20
34 };
35 static_assert(sizeof(hkpConstraintInstance) == 0x38);
36}
Definition hkReferencedObject.h:11
Definition hkpConstraintData.h:11
Definition hkpConstraintInstance.h:12
hkpRigidBody * GetRigidBodyB() const
Definition hkpConstraintInstance.h:24
hkpEntity * entities[2]
Definition hkpConstraintInstance.h:33
~hkpConstraintInstance() override
static constexpr auto RTTI
Definition hkpConstraintInstance.h:14
hkpConstraintData * data
Definition hkpConstraintInstance.h:31
static constexpr auto VTABLE
Definition hkpConstraintInstance.h:15
hkpConstraintOwner * owner
Definition hkpConstraintInstance.h:30
hkpModifierConstraintAtom * constraintModifiers
Definition hkpConstraintInstance.h:32
hkpRigidBody * GetRigidBodyA() const
Definition hkpConstraintInstance.h:19
Definition hkpConstraintOwner.h:11
Definition hkpEntity.h:24
Definition hkpRigidBody.h:8
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpConstraintInstance
Definition Offsets_VTABLE.h:5013
constexpr REL::VariantID RTTI_hkpConstraintInstance(689860, 397715, 0x1f59590)