CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
hkpSingleShapeContainer.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace RE
6{
7 class hkpShape;
8
10 {
11 public:
12 inline static constexpr auto RTTI = RTTI_hkpSingleShapeContainer;
13
14 ~hkpSingleShapeContainer() override; // 00
15
16 // override (hkpShapeContainer)
17 std::int32_t GetNumChildShapes() const override; // 01 - { return 1; }
18 hkpShapeKey GetFirstKey() const override; // 02 - { return 0; }
19 hkpShapeKey GetNextKey(hkpShapeKey oldKey) const override; // 03 - { return -1; }
20 const hkpShape* GetChildShape(hkpShapeKey a_key, hkpShapeBuffer& a_buffer) const override; // 05 - { return childShape; }
21
22 // members
23 const hkpShape* childShape; // 08
24 };
25 static_assert(sizeof(hkpSingleShapeContainer) == 0x10);
26}
Definition: hkpShapeContainer.h:6
Definition: hkpShape.h:31
Definition: hkpSingleShapeContainer.h:10
const hkpShape * GetChildShape(hkpShapeKey a_key, hkpShapeBuffer &a_buffer) const override
hkpShapeKey GetFirstKey() const override
hkpShapeKey GetNextKey(hkpShapeKey oldKey) const override
const hkpShape * childShape
Definition: hkpSingleShapeContainer.h:23
std::int32_t GetNumChildShapes() const override
static constexpr auto RTTI
Definition: hkpSingleShapeContainer.h:12
Definition: AbsorbEffect.h:6
std::uint32_t hkpShapeKey
Definition: hkpShape.h:27
constexpr REL::ID RTTI_hkpSingleShapeContainer
Definition: Offsets_RTTI.h:7735
Definition: hkpShapeBuffer.h:6