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