16 lines
349 B
C#
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;
|