CommonLibSSE NG
hkpSingleShapeContainer.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
7  class hkpShape;
8 
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_hkpSingleShapeContainer;
13  inline static constexpr auto VTABLE = VTABLE_hkpSingleShapeContainer;
14 
15  ~hkpSingleShapeContainer() override; // 00
16 
17  // override (hkpShapeContainer)
18  std::int32_t GetNumChildShapes() const override; // 01 - { return 1; }
19  hkpShapeKey GetFirstKey() const override; // 02 - { return 0; }
20  hkpShapeKey GetNextKey(hkpShapeKey oldKey) const override; // 03 - { return -1; }
21  const hkpShape* GetChildShape(hkpShapeKey a_key, hkpShapeBuffer& a_buffer) const override; // 05 - { return childShape; }
22 
23  // members
24  const hkpShape* childShape; // 08
25  };
26  static_assert(sizeof(hkpSingleShapeContainer) == 0x10);
27 }
Definition: hkpShapeContainer.h:6
Definition: hkpShape.h:32
Definition: hkpSingleShapeContainer.h:10
static constexpr auto VTABLE
Definition: hkpSingleShapeContainer.h:13
hkpShapeKey GetFirstKey() const override
hkpShapeKey GetNextKey(hkpShapeKey oldKey) const override
const hkpShape * GetChildShape(hkpShapeKey a_key, hkpShapeBuffer &a_buffer) const override
const hkpShape * childShape
Definition: hkpSingleShapeContainer.h:24
std::int32_t GetNumChildShapes() const override
static constexpr auto RTTI
Definition: hkpSingleShapeContainer.h:12
Definition: AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpSingleShapeContainer
Definition: Offsets_VTABLE.h:4951
constexpr REL::VariantID RTTI_hkpSingleShapeContainer(689803, 397658, 0x1f58b18)
std::uint32_t hkpShapeKey
Definition: hkpContactPointEvent.h:12
Definition: hkpShapeBuffer.h:6