|
namespace NeonSprawl.Server.Game.Items;
|
|
|
|
/// <summary>One fixed slot in a player inventory container (NEO-54).</summary>
|
|
public sealed record InventorySlotState(int SlotIndex, string? ItemId, int Quantity)
|
|
{
|
|
public bool IsEmpty => string.IsNullOrEmpty(ItemId) || Quantity <= 0;
|
|
}
|