hch
2025-08-04 aa1a163a2e4db22fc51cb825e9a05d1d3a757370
Main/System/KnapSack/Logic/SinglePack.cs
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;
public class SinglePack
{
@@ -9,6 +6,9 @@
    public int unlockedGridCount { get; private set; }  //已开启背包格子数
    private Dictionary<int, ItemModel> items = new Dictionary<int, ItemModel>(); //key 物品位置索引
    private Dictionary<int, List<int>> itemIDs = new Dictionary<int, List<int>>(); //key 物品ID:物品位置索引
    public List<string> itemGuidList = new List<string>();  //前端界面GUID排序,各个背包根据实际情况使用
    public SinglePack(PackType type)
    {
        this.type = type;