少年修仙传客户端代码仓库
client_Zxw
2019-03-11 1f9042e3d64479e23940abb482a9743c2d104d25
6251 子 【开发】【2.0】拍卖行开发单
4个文件已修改
37 ■■■■ 已修改文件
System/Auction/FamilyAuctioncell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/FullServiceAuctionWin.cs 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/FullServiceAuctioncell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/MyFocusCell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/FamilyAuctioncell.cs
@@ -98,7 +98,7 @@
            {
                needJade = familyAuctionItem.BidderPrice + auctionItem.BiddingAdd;
            }
            m_JadeNumber.text = (needJade).ToString();
            m_JadeNumber.text = familyAuctionItem.BidderPrice.ToString();
            m_JadeNumber1.text = auctionItem.BuyoutPrice.ToString();
            if (auctionItem.BuyoutPrice == 0)
            {
System/Auction/FullServiceAuctionWin.cs
@@ -28,7 +28,9 @@
        [SerializeField] Text m_TypeTipText;
         List<AuctionItemClass> FullServiceAuctionListSort = new List<AuctionItemClass>();//全服拍品列表
        AuctionInquiryModel model { get { return ModelCenter.Instance.GetModel<AuctionInquiryModel>(); } }
        AuctionHelpModel auctionHelpModel { get { return ModelCenter.Instance.GetModel<AuctionHelpModel>(); } }
        AuctionHelpModel auctionHelpModel { get { return ModelCenter.Instance.GetModel<AuctionHelpModel>(); } }
        private bool IsSendBool = true;
        protected override void BindController()
        {
            m_ScrollerController.OnRefreshCell += OnRefreshGridCell;
@@ -45,11 +47,13 @@
        }
        protected override void OnPreOpen()
        {
        {
            IsSendBool = true;
            model.FullServiceAuctionUpdate += FullServiceAuctionUpdate;//数据请求刷新
            model.RefreshAuctionItemUpdate += RefreshAuctionItemUpdate;//刷新
            model.ClearAuctionUpdate += ClearAuctionUpdate;//清除
            model.BiddingItemInfoUpdate += BiddingItemInfoUpdate;//竞价物品信息刷新
            model.BiddingItemInfoUpdate += BiddingItemInfoUpdate;//竞价物品信息刷新
            GlobalTimeEvent.Instance.secondEvent += secondEvent;
            Reset();
            CloseTip();
            ListSort();
@@ -70,12 +74,23 @@
            model.FullServiceAuctionUpdate -= FullServiceAuctionUpdate;
            model.RefreshAuctionItemUpdate -= RefreshAuctionItemUpdate;
            model.ClearAuctionUpdate -= ClearAuctionUpdate;
            model.BiddingItemInfoUpdate -= BiddingItemInfoUpdate;//竞价物品信息刷新
        }
            model.BiddingItemInfoUpdate -= BiddingItemInfoUpdate;//竞价物品信息刷新
            GlobalTimeEvent.Instance.secondEvent -= secondEvent;
        }
        protected override void OnAfterClose()
        {
        }
        #endregion
        private void secondEvent()
        {
            if (IsSendBool)
            {
                IsSendBool = false;
                Reset();
            }
        }
        private void FullServiceAuctionUpdate()
        {
            OnCreateGridLineCellItem(m_ScrollerControllerItem);
@@ -137,7 +152,7 @@
                {
                    CloseTip();
                    auctionHelpModel.SelectedGenreNow = fullServiceAuction.Id;
                    Reset();
                    IsSendBool = true;
                    m_ScrollerController.m_Scorller.RefreshActiveCellViews();//刷新可见
                    OnCreateGridLineCellJob(m_ScrollerControllerJob);
                    OnCreateGridLineCellType(m_ScrollerControllerType);
@@ -185,7 +200,7 @@
                    if (index != config.JobEntry)
                    {
                        auctionHelpModel.FullServiceAuctionDic[selectedGenreNow].JobEntry = index;
                        Reset();
                        IsSendBool = true;
                        SetTipText();
                    }
                });
@@ -230,7 +245,7 @@
                    if (index != config.TypeEntry)
                    {
                        auctionHelpModel.FullServiceAuctionDic[selectedGenreNow].TypeEntry = index;
                        Reset();
                        IsSendBool=true;
                        SetTipText();
                    }
                });
System/Auction/FullServiceAuctioncell.cs
@@ -116,7 +116,7 @@
            {
                needJade = fullServiceAuction.BidderPrice + auctionItem.BiddingAdd;
            }
            m_JadeNumber.text = needJade.ToString();
            m_JadeNumber.text = fullServiceAuction.BidderPrice.ToString();
            m_JadeNumber1.text = auctionItem.BuyoutPrice.ToString();
            if (auctionItem.BuyoutPrice == 0)
            {
System/Auction/MyFocusCell.cs
@@ -107,7 +107,7 @@
            {
                needJade = myAuction.BidderPrice + auctionItem.BiddingAdd;
            }
            m_JadeNumber.text = (needJade).ToString();
            m_JadeNumber.text = myAuction.BidderPrice.ToString();
            if (auctionItem.BuyoutPrice == 0)
            {
                m_PriceButton.gameObject.SetActive(false);