namespace SepCore.Definition { /// /// 物品堆叠。 /// [System.Serializable] public struct ItemStack { /// /// 物品 ID,对应 ItemConfig.Id。 /// public int itemId; /// /// 数量,不超过配表 ItemConfig.StackLimit。 /// public int count; public ItemStack(int itemId, int count) { this.itemId = itemId; this.count = count; } } }