少年修仙传客户端代码仓库
client_linchunjie
2018-08-23 522ca3468a56c88cb15eaa428eb7499d3dba386f
System/Backpack/BackpackData.cs
@@ -1,27 +1,40 @@
//--------------------------------------------------------
//    [Author]:           第二世界
//    [  Date ]:           Monday, July 31, 2017
//--------------------------------------------------------
using UnityEngine;
using System.Collections;
namespace Snxxz.UI {
    public struct Item {
        public int id;
        public int count;
        public Item(int _id,int _count) {
            this.id = _id;
            this.count = _count;
        }
    }
    public struct AwardItem
    {
        public Item item;
        public int isBind;
    }
}
//--------------------------------------------------------
//    [Author]:           第二世界
//    [  Date ]:           Monday, July 31, 2017
//--------------------------------------------------------
using UnityEngine;
using System.Collections;
namespace Snxxz.UI
{
    public struct Item
    {
        public int id;
        public int count;
        public bool bind;
        public Item(int _id, int _count)
        {
            this.id = _id;
            this.count = _count;
            this.bind = false;
        }
        public Item(int _id, int _count, bool _bind)
        {
            this.id = _id;
            this.count = _count;
            this.bind = _bind;
        }
    }
    public struct AwardItem
    {
        public Item item;
        public int isBind;
    }
}