CommonLibSSE (Parapets fork)
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 
10  enum class ReferencePolicy
11  {
12  kIgnore,
14  };
15 
16  virtual ~hkpShapeContainer(); // 00
17 
18  // add
19  [[nodiscard]] virtual std::int32_t GetNumChildShapes() const; // 01
20  [[nodiscard]] virtual hkpShapeKey GetFirstKey() const = 0; // 02
21  [[nodiscard]] virtual hkpShapeKey GetNextKey(hkpShapeKey a_oldKey) const = 0; // 03
22  [[nodiscard]] virtual std::uint32_t GetCollisionFilterInfo(hkpShapeKey a_key) const; // 04 - { return 0; }
23  virtual const hkpShape* GetChildShape(hkpShapeKey a_key, hkpShapeBuffer& a_buffer) const = 0; // 05
24  [[nodiscard]] virtual bool IsWeldingEnabled() const; // 06 - { return true; }
25  };
26  static_assert(sizeof(hkpShapeContainer) == 0x8);
27 }
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 RTTI
Definition: hkpShapeContainer.h:8
ReferencePolicy
Definition: hkpShapeContainer.h:11
virtual hkpShapeKey GetNextKey(hkpShapeKey a_oldKey) const =0
Definition: hkpShape.h:31
Definition: AbsorbEffect.h:6
std::uint32_t hkpShapeKey
Definition: hkpShape.h:27
constexpr REL::ID RTTI_hkpShapeContainer
Definition: Offsets_RTTI.h:7723
Definition: hkpShapeBuffer.h:6