F4MP/tiltedcode/Code/encoding/Structs/ActorData.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

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{};
};