mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 17:10:54 +01:00
28 lines
718 B
C
28 lines
718 B
C
#pragma once
|
|
|
|
#include <Structs/GameId.h>
|
|
|
|
#include <Structs/Vector3_NetQuantize.h>
|
|
#include <Structs/Rotator2_NetQuantize.h>
|
|
#include <Structs/AnimationVariables.h>
|
|
|
|
using TiltedPhoques::Buffer;
|
|
|
|
struct Movement
|
|
{
|
|
Movement() = default;
|
|
~Movement() = default;
|
|
|
|
bool operator==(const Movement& acRhs) const noexcept;
|
|
bool operator!=(const Movement& acRhs) const noexcept;
|
|
|
|
void Serialize(TiltedPhoques::Buffer::Writer& aWriter) const noexcept;
|
|
void Deserialize(TiltedPhoques::Buffer::Reader& aReader) noexcept;
|
|
|
|
GameId CellId{};
|
|
GameId WorldSpaceId{};
|
|
Vector3_NetQuantize Position{};
|
|
Rotator2_NetQuantize Rotation{};
|
|
AnimationVariables Variables{};
|
|
float Direction{};
|
|
};
|