mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:20:54 +01:00
29 lines
718 B
C
29 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{};
|
||
|
|
};
|