62 lines
1.1 KiB
C++
62 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include "RE/B/BSFixedString.h"
|
|
|
|
namespace RE
|
|
{
|
|
namespace MovementLargeDelta
|
|
{
|
|
enum class SPEED;
|
|
|
|
enum class FROM_DIRECTION
|
|
{
|
|
kFacingForward = 0,
|
|
kStrafingRight = 1,
|
|
kStrafingBackward = 2,
|
|
kStrafingLeft = 3,
|
|
|
|
kTotal = 4,
|
|
};
|
|
|
|
enum class TO_DIRECTION
|
|
{
|
|
kFacingForward = 0,
|
|
kStrafingRight = 1,
|
|
kStrafingBackward = 2,
|
|
kStrafingLeft = 3,
|
|
kFacingRight = 4,
|
|
kFacingBackward = 5,
|
|
kFacingLeft = 6,
|
|
|
|
kTotal = 0x7,
|
|
};
|
|
|
|
class CurrentState
|
|
{
|
|
public:
|
|
// members
|
|
REX::TEnumSet<SPEED, std::uint32_t> fromSpeed; // 00
|
|
REX::TEnumSet<FROM_DIRECTION, std::uint32_t> fromDirection; // 04
|
|
};
|
|
static_assert(sizeof(CurrentState) == 0x8);
|
|
|
|
class DesiredState
|
|
{
|
|
public:
|
|
// members
|
|
REX::TEnum<SPEED, std::uint32_t> toSpeed;
|
|
REX::TEnum<TO_DIRECTION, std::uint32_t> toDirection;
|
|
};
|
|
static_assert(sizeof(DesiredState) == 0x8);
|
|
|
|
class IdleSelectionData
|
|
{
|
|
public:
|
|
// members
|
|
CurrentState fromState; // 00
|
|
DesiredState toState; // 08
|
|
};
|
|
static_assert(sizeof(IdleSelectionData) == 0x10);
|
|
}
|
|
}
|