CommonLibVR
Movement.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 
5 namespace RE
6 {
7  namespace Movement
8  {
10  {
11  enum SPEED_DIRECTION : std::uint32_t
12  {
18 
19  kTotal
20  };
21  };
23 
24  struct MaxSpeeds
25  {
26  public:
27  enum
28  {
31 
32  kTotal
33  };
34 
35  // members
37  float rotateWhileMovingRun; // 28
38  };
39  static_assert(sizeof(MaxSpeeds) == 0x2C);
40 
41  struct TypeData
42  {
43  public:
44  // members
45  BSFixedString typeName; // 00 - MNAM
46  MaxSpeeds defaultData; // 08 - SPED
47  float directional; // 34 - INAM~
48  float movementSpeed; // 38
49  float rotationSpeed; // 3C - ~INAM
50  };
51  static_assert(sizeof(TypeData) == 0x40);
52  }
53 }
Definition: AbsorbEffect.h:6
Definition: Movement.h:25
@ kTotal
Definition: Movement.h:32
@ kRun
Definition: Movement.h:30
@ kWalk
Definition: Movement.h:29
float speeds[SPEED_DIRECTIONS::kTotal][kTotal]
Definition: Movement.h:36
float rotateWhileMovingRun
Definition: Movement.h:37
Definition: Movement.h:10
SPEED_DIRECTION
Definition: Movement.h:12
@ kRotations
Definition: Movement.h:17
@ kTotal
Definition: Movement.h:19
@ kLeft
Definition: Movement.h:13
@ kForward
Definition: Movement.h:15
@ kRight
Definition: Movement.h:14
@ kBack
Definition: Movement.h:16
Definition: Movement.h:42
MaxSpeeds defaultData
Definition: Movement.h:46
float movementSpeed
Definition: Movement.h:48
float rotationSpeed
Definition: Movement.h:49
BSFixedString typeName
Definition: Movement.h:45
float directional
Definition: Movement.h:47