mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 17:10:54 +01:00
22 lines
642 B
C
22 lines
642 B
C
#pragma once
|
|
|
|
#include <Structs/ActorValues.h>
|
|
#include <Structs/Inventory.h>
|
|
|
|
struct ActorData
|
|
{
|
|
void Serialize(TiltedPhoques::Buffer::Writer& aWriter) const noexcept;
|
|
void Deserialize(TiltedPhoques::Buffer::Reader& aReader) noexcept;
|
|
|
|
bool operator==(const ActorData& acRhs) const noexcept
|
|
{
|
|
return InitialActorValues == acRhs.InitialActorValues &&
|
|
InitialInventory == acRhs.InitialInventory && IsDead == acRhs.IsDead &&
|
|
IsWeaponDrawn == acRhs.IsWeaponDrawn;
|
|
}
|
|
|
|
ActorValues InitialActorValues{};
|
|
Inventory InitialInventory{};
|
|
bool IsDead{};
|
|
bool IsWeaponDrawn{};
|
|
};
|