hch
2025-12-29 453e96025c4f78888e11f8da85fbdb78245e23f9
Main/System/KnapSack/BackpackData.cs
@@ -11,13 +11,13 @@
    public int id;
    public long countEx;   
    public int quality;
    public int bind;    //绑定 或者 拍卖 交易
    public int useType;    //用途定义:0 无 1 预留 2 红颜增加
    public Item(int _id, long _count)
    {
        this.id = _id;
        this.quality = 0;
        this.bind = 0;
        this.useType = 0;
        this.countEx = _count;
    }
    
@@ -26,15 +26,15 @@
    {
        this.id = _id;
        this.quality = _quality;
        this.bind = 0;
        this.useType = 0;
        this.countEx = _count;
    }
    public Item(int _id, long _count, int _bind = 0, int _quality = 0)
    public Item(int _id, long _count, int _useType = 0, int _quality = 0)
    {
        this.id = _id;
        this.quality = _quality;
        this.bind = _bind;
        this.useType = _useType;
        this.countEx = _count;
    }