Traveller/scripts/inventory/CommonItem.cs
霧雨烨 16b3a5a106 UniversalItemContainer refactored done
UniversalItemContainer调教完成
2024-06-13 01:18:55 +08:00

22 lines
553 B
C#

using System;
using Godot;
namespace ColdMint.scripts.inventory;
/*
/// <summary>
/// <para>Common goods</para>
/// <para>普通的物品</para>
/// </summary>
public class CommonItem : IItem
{
public string? Id { get; set; }
public int Quantity { get; set; }
public int MaxStackQuantity { get; set; }
public Texture2D? Icon { get; set; }
public string? Name { get; set; }
public string? Description { get; set; }
public Action<IItem>? OnUse { get; set; }
public Func<IItem, Node>? OnInstantiation { get; set; }
}
*/