CommonLibSSE NG
Loading...
Searching...
No Matches
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
{
9
struct
SPEED_DIRECTIONS
10
{
11
enum
SPEED_DIRECTION
: std::uint32_t
12
{
13
kLeft
,
14
kRight
,
15
kForward
,
16
kBack
,
17
kRotations
,
18
19
kTotal
20
};
21
};
22
using
SPEED_DIRECTION
=
SPEED_DIRECTIONS::SPEED_DIRECTION
;
23
24
struct
MaxSpeeds
25
{
26
public
:
27
enum
28
{
29
kWalk
,
30
kRun
,
31
32
kTotal
33
};
34
35
// members
36
float
speeds
[
SPEED_DIRECTIONS::kTotal
][
kTotal
];
// 00
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
}
BSFixedString.h
RE::detail::BSFixedString< char >
RE
Definition
AbsorbEffect.h:6
RE::Movement::MaxSpeeds
Definition
Movement.h:25
RE::Movement::MaxSpeeds::speeds
float speeds[SPEED_DIRECTIONS::kTotal][kTotal]
Definition
Movement.h:36
RE::Movement::MaxSpeeds::rotateWhileMovingRun
float rotateWhileMovingRun
Definition
Movement.h:37
RE::Movement::MaxSpeeds::kTotal
@ kTotal
Definition
Movement.h:32
RE::Movement::MaxSpeeds::kRun
@ kRun
Definition
Movement.h:30
RE::Movement::MaxSpeeds::kWalk
@ kWalk
Definition
Movement.h:29
RE::Movement::SPEED_DIRECTIONS
Definition
Movement.h:10
RE::Movement::SPEED_DIRECTIONS::SPEED_DIRECTION
SPEED_DIRECTION
Definition
Movement.h:12
RE::Movement::SPEED_DIRECTIONS::kRotations
@ kRotations
Definition
Movement.h:17
RE::Movement::SPEED_DIRECTIONS::kTotal
@ kTotal
Definition
Movement.h:19
RE::Movement::SPEED_DIRECTIONS::kLeft
@ kLeft
Definition
Movement.h:13
RE::Movement::SPEED_DIRECTIONS::kForward
@ kForward
Definition
Movement.h:15
RE::Movement::SPEED_DIRECTIONS::kRight
@ kRight
Definition
Movement.h:14
RE::Movement::SPEED_DIRECTIONS::kBack
@ kBack
Definition
Movement.h:16
RE::Movement::TypeData
Definition
Movement.h:42
RE::Movement::TypeData::defaultData
MaxSpeeds defaultData
Definition
Movement.h:46
RE::Movement::TypeData::movementSpeed
float movementSpeed
Definition
Movement.h:48
RE::Movement::TypeData::rotationSpeed
float rotationSpeed
Definition
Movement.h:49
RE::Movement::TypeData::typeName
BSFixedString typeName
Definition
Movement.h:45
RE::Movement::TypeData::directional
float directional
Definition
Movement.h:47
CommonLibSSE-NG
include
RE
M
Movement.h
Generated by
1.9.7