sasalka/Code/Inventory/InventoryItem.cs
2025-06-10 02:09:21 +03:00

16 lines
349 B
C#

using Sandbox;
namespace Sasalka;
public class InventoryItem : Component
{
public InventoryItemDefinition Definition { get; set; }
public int Count { get; set; } = 1;
public int MaxCount { get; set; } = 1;
// public GameObject SpawnedObject { get; set; }
}
// public int Count { get; set; } = 1;
// public int MaxCount { get; set; } = 1;