mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:20:54 +01:00
27 lines
709 B
C
27 lines
709 B
C
#pragma once
|
|
|
|
#include <Structs/GameId.h>
|
|
#include <Structs/LockData.h>
|
|
#include <Structs/Inventory.h>
|
|
#include <Structs/GridCellCoords.h>
|
|
|
|
struct ObjectData
|
|
{
|
|
ObjectData() = default;
|
|
~ObjectData() = default;
|
|
|
|
bool operator==(const ObjectData& acRhs) const noexcept;
|
|
bool operator!=(const ObjectData& acRhs) const noexcept;
|
|
|
|
void Serialize(TiltedPhoques::Buffer::Writer& aWriter) const noexcept;
|
|
void Deserialize(TiltedPhoques::Buffer::Reader& aReader) noexcept;
|
|
|
|
uint32_t ServerId{};
|
|
GameId Id{};
|
|
GameId CellId{};
|
|
GameId WorldSpaceId{};
|
|
GridCellCoords CurrentCoords{};
|
|
LockData CurrentLockData{};
|
|
Inventory CurrentInventory{};
|
|
bool IsSenderFirst{};
|
|
};
|