CommonLibSSE NG
hkpShapeContainer.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
6  {
7  public:
8  inline static constexpr auto RTTI = RTTI_hkpShapeContainer;
9  inline static constexpr auto VTABLE = VTABLE_hkpShapeContainer;
10 
11  enum class ReferencePolicy
12  {
13  kIgnore,
15  };
16 
17  virtual ~hkpShapeContainer(); // 00
18 
19  // add
20  [[nodiscard]] virtual std::int32_t GetNumChildShapes() const; // 01
21  [[nodiscard]] virtual hkpShapeKey GetFirstKey() const = 0; // 02
22  [[nodiscard]] virtual hkpShapeKey GetNextKey(hkpShapeKey a_oldKey) const = 0; // 03
23  virtual std::uint32_t GetCollisionFilterInfo(hkpShapeKey a_key) const; // 04 - { return 0; }
24  virtual const hkpShape* GetChildShape(hkpShapeKey a_key, hkpShapeBuffer& a_buffer) const = 0; // 05
25  [[nodiscard]] virtual bool IsWeldingEnabled() const; // 06 - { return true; }
26  };
27  static_assert(sizeof(hkpShapeContainer) == 0x8);
28 }
Definition: hkpShapeContainer.h:6
virtual ~hkpShapeContainer()
virtual hkpShapeKey GetFirstKey() const =0
virtual bool IsWeldingEnabled() const
virtual std::int32_t GetNumChildShapes() const
virtual std::uint32_t GetCollisionFilterInfo(hkpShapeKey a_key) const
virtual const hkpShape * GetChildShape(hkpShapeKey a_key, hkpShapeBuffer &a_buffer) const =0
static constexpr auto VTABLE
Definition: hkpShapeContainer.h:9
static constexpr auto RTTI
Definition: hkpShapeContainer.h:8
ReferencePolicy
Definition: hkpShapeContainer.h:12
virtual hkpShapeKey GetNextKey(hkpShapeKey a_oldKey) const =0
Definition: hkpShape.h:32
Definition: AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpShapeContainer
Definition: Offsets_VTABLE.h:4950
constexpr REL::VariantID RTTI_hkpShapeContainer(689802, 397657, 0x1f58af0)
std::uint32_t hkpShapeKey
Definition: hkpContactPointEvent.h:12
Definition: hkpShapeBuffer.h:6