CommonLibSSE NG
bhkCollisionFilter.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 #include "RE/B/BSTSingleton.h"
6 
7 namespace RE
8 {
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_bhkCollisionFilter;
13 
14  [[nodiscard]] static bhkCollisionFilter* GetSingleton()
15  {
16  REL::Relocation<bhkCollisionFilter**> singleton{ RELOCATION_ID(514415, 400562) };
17  return *singleton;
18  }
19 
20  ~bhkCollisionFilter() override; // 00
21 
22  std::uint32_t GetNewSystemGroup()
23  {
25  if (nextSystemGroup == 65535) {
26  nextSystemGroup = 10;
27  }
28  return nextSystemGroup;
29  }
30 
31  // members
32  std::uint32_t unk48; // 048
33  std::uint32_t nextSystemGroup; // 04C
34  std::uint32_t bipedBitfields[32]; // 050
35  std::uint32_t layerCollisionGroups[64]; // 0D0
36  std::uint64_t layerBitfields[64]; // 1D0
37  std::uint64_t triggerField; // 3D0
38  std::uint64_t sensorField; // 3D8
40  std::uint8_t unk5E0[256]; // 5E0
42  };
43  static_assert(sizeof(bhkCollisionFilter) == 0x7E0);
44 }
#define RELOCATION_ID(a_se, a_ae)
Definition: PCH.h:724
Definition: Relocation.h:204
Definition: bhkCollisionFilter.h:10
std::uint8_t unk5E0[256]
Definition: bhkCollisionFilter.h:40
std::uint32_t nextSystemGroup
Definition: bhkCollisionFilter.h:33
std::uint64_t sensorField
Definition: bhkCollisionFilter.h:38
std::uint32_t GetNewSystemGroup()
Definition: bhkCollisionFilter.h:22
static bhkCollisionFilter * GetSingleton()
Definition: bhkCollisionFilter.h:14
std::uint32_t layerCollisionGroups[64]
Definition: bhkCollisionFilter.h:35
BSFixedString collisionLayerNames[64]
Definition: bhkCollisionFilter.h:39
std::uint32_t bipedBitfields[32]
Definition: bhkCollisionFilter.h:34
static constexpr auto RTTI
Definition: bhkCollisionFilter.h:12
BSFixedString collisionBoneNames[32]
Definition: bhkCollisionFilter.h:41
std::uint64_t layerBitfields[64]
Definition: bhkCollisionFilter.h:36
std::uint64_t triggerField
Definition: bhkCollisionFilter.h:37
~bhkCollisionFilter() override
std::uint32_t unk48
Definition: bhkCollisionFilter.h:32
Definition: hkpCollisionFilter.h:20
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_bhkCollisionFilter(690776, 398631, 0x1f66eb8)