mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:00:54 +01:00
23 lines
576 B
C
23 lines
576 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <Structs/Movement.h>
|
||
|
|
#include <Structs/ActionEvent.h>
|
||
|
|
|
||
|
|
using TiltedPhoques::Buffer;
|
||
|
|
using TiltedPhoques::Vector;
|
||
|
|
|
||
|
|
struct ReferenceUpdate
|
||
|
|
{
|
||
|
|
ReferenceUpdate() = default;
|
||
|
|
~ReferenceUpdate() = default;
|
||
|
|
|
||
|
|
bool operator==(const ReferenceUpdate& acRhs) const noexcept;
|
||
|
|
bool operator!=(const ReferenceUpdate& acRhs) const noexcept;
|
||
|
|
|
||
|
|
void Serialize(TiltedPhoques::Buffer::Writer& aWriter) const noexcept;
|
||
|
|
void Deserialize(TiltedPhoques::Buffer::Reader& aReader);
|
||
|
|
|
||
|
|
Movement UpdatedMovement{};
|
||
|
|
Vector<ActionEvent> ActionEvents{};
|
||
|
|
};
|