CommonLibSSE (Parapets fork)
hkpCharacterContext.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/H/hkStepInfo.h"
5 #include "RE/H/hkVector4.h"
8 
9 namespace RE
10 {
11  class hkpCharacterStateManager;
12 
14  {
15  float inputLR; // 00
16  float inputUD; // 04
17  bool wantJump; // 08
18  std::uint8_t pad09; // 09
19  std::uint16_t pad0A; // 0A
20  std::uint32_t pad0C; // 0C
21  hkVector4 up; // 10
23  bool atLadder; // 30
29  std::uint64_t userData; // C0
30  std::uint64_t padC8; // C8
31  };
32  static_assert(sizeof(hkpCharacterInput) == 0xD0);
33 
35  {
37  };
38  static_assert(sizeof(hkpCharacterOutput) == 0x10);
39 
41  {
42  public:
43  inline static constexpr auto RTTI = RTTI_hkpCharacterContext;
44 
45  enum class CharacterType
46  {
47  kProxy = 0,
48  kRigidBody = 1
49  };
50 
51  ~hkpCharacterContext() override; // 00
52 
54  std::uint32_t pad14; // 14
58  bool filterEnable; // 28
59  std::uint8_t pad29; // 29
60  std::uint16_t pad2A; // 2A
61  float maxLinearAcceleration; // 2C
62  float maxLinearVelocity; // 30
63  float gain; // 34
64  };
65  static_assert(sizeof(hkpCharacterContext) == 0x38);
66 }
Definition: hkReferencedObject.h:11
Definition: hkStepInfo.h:8
Definition: hkVector4.h:8
Definition: hkpCharacterContext.h:41
float gain
Definition: hkpCharacterContext.h:63
float maxLinearAcceleration
Definition: hkpCharacterContext.h:61
hkpCharacterStateType currentState
Definition: hkpCharacterContext.h:56
stl::enumeration< CharacterType, std::uint32_t > characterType
Definition: hkpCharacterContext.h:53
~hkpCharacterContext() override
CharacterType
Definition: hkpCharacterContext.h:46
bool filterEnable
Definition: hkpCharacterContext.h:58
hkpCharacterStateType previousState
Definition: hkpCharacterContext.h:57
const hkpCharacterStateManager * stateManager
Definition: hkpCharacterContext.h:55
float maxLinearVelocity
Definition: hkpCharacterContext.h:62
std::uint16_t pad2A
Definition: hkpCharacterContext.h:60
std::uint32_t pad14
Definition: hkpCharacterContext.h:54
static constexpr auto RTTI
Definition: hkpCharacterContext.h:43
std::uint8_t pad29
Definition: hkpCharacterContext.h:59
Definition: hkpCharacterStateManager.h:9
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_hkpCharacterContext
Definition: Offsets_RTTI.h:7546
Definition: hkpCharacterContext.h:14
hkpSurfaceInfo surfaceInfo
Definition: hkpCharacterContext.h:24
hkVector4 position
Definition: hkpCharacterContext.h:26
float inputUD
Definition: hkpCharacterContext.h:16
std::uint64_t userData
Definition: hkpCharacterContext.h:29
std::uint16_t pad0A
Definition: hkpCharacterContext.h:19
float inputLR
Definition: hkpCharacterContext.h:15
std::uint8_t pad09
Definition: hkpCharacterContext.h:18
bool wantJump
Definition: hkpCharacterContext.h:17
hkVector4 characterGravity
Definition: hkpCharacterContext.h:28
hkVector4 up
Definition: hkpCharacterContext.h:21
hkVector4 velocity
Definition: hkpCharacterContext.h:27
std::uint64_t padC8
Definition: hkpCharacterContext.h:30
bool atLadder
Definition: hkpCharacterContext.h:23
hkVector4 forward
Definition: hkpCharacterContext.h:22
std::uint32_t pad0C
Definition: hkpCharacterContext.h:20
hkStepInfo stepInfo
Definition: hkpCharacterContext.h:25
Definition: hkpCharacterContext.h:35
hkVector4 velocity
Definition: hkpCharacterContext.h:36
hkpCharacterStateType
Definition: hkpCharacterState.h:14
Definition: hkpCharacterControl.h:8