CommonLibSSE NG
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  inline static constexpr auto VTABLE = VTABLE_hkpCharacterContext;
45 
46  enum class CharacterType
47  {
48  kProxy = 0,
49  kRigidBody = 1
50  };
51 
52  ~hkpCharacterContext() override; // 00
53 
55  std::uint32_t pad14; // 14
59  bool filterEnable; // 28
60  std::uint8_t pad29; // 29
61  std::uint16_t pad2A; // 2A
62  float maxLinearAcceleration; // 2C
63  float maxLinearVelocity; // 30
64  float gain; // 34
65  };
66  static_assert(sizeof(hkpCharacterContext) == 0x38);
67 }
Definition: hkReferencedObject.h:11
Definition: hkStepInfo.h:8
Definition: hkVector4.h:9
Definition: hkpCharacterContext.h:41
float gain
Definition: hkpCharacterContext.h:64
float maxLinearAcceleration
Definition: hkpCharacterContext.h:62
hkpCharacterStateType currentState
Definition: hkpCharacterContext.h:57
stl::enumeration< CharacterType, std::uint32_t > characterType
Definition: hkpCharacterContext.h:54
~hkpCharacterContext() override
CharacterType
Definition: hkpCharacterContext.h:47
bool filterEnable
Definition: hkpCharacterContext.h:59
hkpCharacterStateType previousState
Definition: hkpCharacterContext.h:58
const hkpCharacterStateManager * stateManager
Definition: hkpCharacterContext.h:56
float maxLinearVelocity
Definition: hkpCharacterContext.h:63
std::uint16_t pad2A
Definition: hkpCharacterContext.h:61
std::uint32_t pad14
Definition: hkpCharacterContext.h:55
static constexpr auto RTTI
Definition: hkpCharacterContext.h:43
std::uint8_t pad29
Definition: hkpCharacterContext.h:60
static constexpr auto VTABLE
Definition: hkpCharacterContext.h:44
Definition: hkpCharacterStateManager.h:9
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_hkpCharacterContext(689931, 397786, 0x1f5a380)
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpCharacterContext
Definition: Offsets_VTABLE.h:5084
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