少年修仙传客户端代码仓库
client_Zxw
2019-03-08 26d6c57f3ef897ff6c38eb47a941d9d8d666aeb2
6251 子 【开发】【2.0】拍卖行开发单
4个文件已修改
16 ■■■■■ 已修改文件
System/Auction/AuctionInquiry.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/TransactionRecordWin.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/New/CommonItemBaisc.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/New/CommonItemBaisc.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/AuctionInquiry.cs
@@ -102,9 +102,10 @@
            GameNetSystem.Instance.SendInfo(cb511);
        }
        public void SendQueryAuctionRecord()//拍卖行查询拍卖记录
        public void SendQueryAuctionRecord(int recordType)//拍卖行查询拍卖记录(0-我的拍品记录 1-仙盟拍品记录 2-我的竞拍记录)
        {
            CB512_tagCGQueryAuctionRecord cb512 = new CB512_tagCGQueryAuctionRecord();
            cb512.RecordType = (byte)recordType;
            GameNetSystem.Instance.SendInfo(cb512);
        }
System/Auction/TransactionRecordWin.cs
@@ -32,7 +32,7 @@
            m_ScrollerController.OnRefreshCell += OnRefreshGridCell;
            m_ScrollerControllerType.OnRefreshCell += OnRefreshGridCellType;
            m_ScrollerController.lockType = EnhanceLockType.KeepVertical;
            AuctionInquiry.Instance.SendQueryAuctionRecord();//查询拍卖记录
            AuctionInquiry.Instance.SendQueryAuctionRecord(0);//查询拍卖记录
        }
        protected override void AddListeners()
@@ -142,6 +142,7 @@
                if (idnex != AuctionType)
                {
                    AuctionType = idnex;
                    AuctionInquiry.Instance.SendQueryAuctionRecord(idnex);//查询拍卖记录
                    m_TypeTip.SetActive(false);
                    OnCreateGridCell(m_ScrollerController);
                    m_TypeText.text = GetTextName(AuctionType);
System/KnapSack/New/CommonItemBaisc.cs
@@ -104,7 +104,7 @@
        public virtual void Init(ItemModel model, bool isCompare = false, int compareScore = 0)
        {
            itemConfig = model.config;
            InitUI(model.guid, model.itemId, (ulong)model.count, model.equipScore, model.packType, isCompare, model.useDataDict, compareScore);
            InitUI(model.guid, model.itemId, (ulong)model.count, model.equipScore, model.isBind, model.packType, isCompare, model.useDataDict, compareScore);
        }
        /// <summary>
@@ -114,10 +114,10 @@
        public virtual void Init(ItemCellModel model, int compareScore = 0)
        {
            itemConfig = model.itemConfig;
            InitUI(model.guid, model.itemId, model.count, model.score, model.packType, model.isCompare, model.useDataDic, compareScore);
            InitUI(model.guid, model.itemId, model.count, model.score, model.isBind, model.packType, model.isCompare, model.useDataDic, compareScore);
        }
        private void InitUI(string guid, int itemId, ulong count, int score, PackType type, bool isCompare, Dictionary<int, List<int>> useDataDic, int compareScore = 0)
        private void InitUI(string guid, int itemId, ulong count, int score, int isBind, PackType type, bool isCompare, Dictionary<int, List<int>> useDataDic, int compareScore = 0)
        {
            if (itemConfig == null) return;
@@ -134,7 +134,7 @@
                starIcon.gameObject.SetActive(false);
            }
            bindIcon.gameObject.SetActive(false);
            bindIcon.gameObject.SetActive(isBind == 1);
            countText.text = UIHelper.ReplaceLargeNum((double)count);
            if (count > 1)
System/KnapSack/New/CommonItemBaisc.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 35473b2a6cd5171499a434642f1712a8
timeCreated: 1516008186
timeCreated: 1552035262
licenseType: Pro
MonoImporter:
  serializedVersion: 2