Traveller/scripts/loot/LootDatum.cs
Cold-Mint b7f72c0456
Add item generator.
加入物品生成器。
2024-06-22 23:29:24 +08:00

12 lines
334 B
C#

namespace ColdMint.scripts.loot;
/// <summary>
/// <para>LootDatum</para>
/// <para>战利品数据</para>
/// </summary>
/// <param name="ItemId"></param>
/// <param name="Quantity"></param>
public readonly record struct LootDatum(string ItemId, int Quantity)
{
public (string id, int quantity) Value => (ItemId, Quantity);
}