CommonLibSSE NG
Loading...
Searching...
No Matches
hkpSimulationIsland.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/H/hkArray.h"
4#include "RE/H/hkBaseTypes.h"
8
9namespace RE
10{
11 class hkpAction;
12 class hkpEntity;
13 class hkpWorld;
14
16 {
17 public:
18 inline static constexpr auto RTTI = RTTI_hkpSimulationIsland;
19 inline static constexpr auto VTABLE = VTABLE_hkpSimulationIsland;
20
21 ~hkpSimulationIsland() override; // 00
22
23 // override (hkpConstraintOwner)
24 const hkClass* GetClassType() const override; // 01 - { return &hkpSimulationIslandClass; }
25 void CalcContentStatistics(hkStatisticsCollector* a_collector, const hkClass* a_class) const override; // 02
28 void AddCallbackRequest(hkpConstraintInstance* a_constraint, std::int32_t a_request) override; // 05
29
30 // members
32 std::int32_t numConstraints; // 28
35 std::uint8_t splitCheckFrameCounter; // 30
36
37 bool splitCheckRequested: 2; // 31 - 0
38 bool isSparse: 2; // 31 - 2
39 bool actionListCleanupNeeded: 2; // 31 - 4
40 bool allowIslandLocking: 2; // 31 - 6
41 bool isInActiveIslandsArray: 2; // 32 - 0
42 bool activeMark: 2; // 32 - 2
43 bool tryToIncreaseIslandSizeMark: 2; // 32 - 4
44 bool inIntegrateJob: 2; // 32 - 6
45
46 std::uint8_t pad33; // 33
52 std::uint32_t pad5C; // 5C
56 };
57 static_assert(sizeof(hkpSimulationIsland) == 0xB8);
58}
Definition hkArray.h:189
Definition hkArray.h:196
Definition hkMultiThreadCheck.h:6
Definition hkpConstraintInstance.h:12
Definition hkpConstraintOwner.h:11
Definition hkpSimulationIsland.h:16
std::uint32_t pad5C
Definition hkpSimulationIsland.h:52
std::int32_t numConstraints
Definition hkpSimulationIsland.h:32
hkMultiThreadCheck multiThreadCheck
Definition hkpSimulationIsland.h:47
bool isInActiveIslandsArray
Definition hkpSimulationIsland.h:41
float timeSinceLastLowFrequencyCheck
Definition hkpSimulationIsland.h:49
hkpAgentNnTrack midphaseAgentTrack
Definition hkpSimulationIsland.h:54
~hkpSimulationIsland() override
hkTime timeOfDeactivation
Definition hkpSimulationIsland.h:51
bool activeMark
Definition hkpSimulationIsland.h:42
static constexpr auto VTABLE
Definition hkpSimulationIsland.h:19
hkpWorld * world
Definition hkpSimulationIsland.h:31
bool actionListCleanupNeeded
Definition hkpSimulationIsland.h:39
std::uint8_t splitCheckFrameCounter
Definition hkpSimulationIsland.h:35
bool inIntegrateJob
Definition hkpSimulationIsland.h:44
static constexpr auto RTTI
Definition hkpSimulationIsland.h:18
hkObjectIndex storageIndex
Definition hkpSimulationIsland.h:33
void CalcContentStatistics(hkStatisticsCollector *a_collector, const hkClass *a_class) const override
void AddConstraintToCriticalLockedIsland(hkpConstraintInstance *a_constraint) override
const hkClass * GetClassType() const override
bool allowIslandLocking
Definition hkpSimulationIsland.h:40
void RemoveConstraintFromCriticalLockedIsland(hkpConstraintInstance *a_constraint) override
void AddCallbackRequest(hkpConstraintInstance *a_constraint, std::int32_t a_request) override
hkArray< hkpAction * > actions
Definition hkpSimulationIsland.h:50
float timeSinceLastHighFrequencyCheck
Definition hkpSimulationIsland.h:48
bool tryToIncreaseIslandSizeMark
Definition hkpSimulationIsland.h:43
bool splitCheckRequested
Definition hkpSimulationIsland.h:37
hkInplaceArray< hkpEntity *, 1 > entities
Definition hkpSimulationIsland.h:53
hkpAgentNnTrack narrowphaseAgentTrack
Definition hkpSimulationIsland.h:55
bool isSparse
Definition hkpSimulationIsland.h:38
std::uint8_t pad33
Definition hkpSimulationIsland.h:46
hkObjectIndex dirtyListIndex
Definition hkpSimulationIsland.h:34
Definition hkpWorld.h:62
Definition AbsorbEffect.h:6
std::uint16_t hkObjectIndex
Definition hkBaseTypes.h:5
constexpr REL::VariantID RTTI_hkpSimulationIsland(689917, 397772, 0x1f5a0b0)
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpSimulationIsland
Definition Offsets_VTABLE.h:5069
float hkTime
Definition hkBaseTypes.h:6
Definition hkpAgentNnTrack.h:17