少年修仙传客户端代码仓库
client_linchunjie
2019-04-02 7bea01b496bbb7aed4142c9234f688d58f0161af
3335 拍卖行修改
1 文件已复制
1个文件已删除
1 文件已重命名
2个文件已添加
6个文件已修改
743 ■■■■■ 已修改文件
Lua/Gen/SnxxzUIAuctionConfigClassWrap.cs 239 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/XLuaGenAutoRegister.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/AuctionChildClassifyBehaviour.cs 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/AuctionChildClassifyBehaviour.cs.meta 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/AuctionHelpModel.cs 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/AuctionInquiry.cs 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/AuctionModel.cs 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/FullServiceAuctionWin.cs 317 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/FullServiceAuctioncell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/ServerAuctionClassifyCell.cs 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/ServerAuctionClassifyCell.cs.meta 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIAuctionConfigClassWrap.cs
File was deleted
Lua/Gen/XLuaGenAutoRegister.cs
@@ -885,9 +885,6 @@
            translator.DelayWrapLoader(typeof(InGameDownLoad), InGameDownLoadWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.AuctionConfigClass), SnxxzUIAuctionConfigClassWrap.__Register);
            translator.DelayWrapLoader(typeof(Snxxz.UI.BetterEquipGetModel), SnxxzUIBetterEquipGetModelWrap.__Register);
        
        
System/Auction/AuctionChildClassifyBehaviour.cs
New file
@@ -0,0 +1,36 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Snxxz.UI
{
    public class AuctionChildClassifyBehaviour : MonoBehaviour
    {
        [SerializeField] Text m_ClassifyName;
        [SerializeField] Image m_OpenSign;
        [SerializeField] Button m_Func;
        FullServiceAuctionWin parent;
        AuctionModel model { get { return ModelCenter.Instance.GetModel<AuctionModel>(); } }
        public void Display(FullServiceAuctionWin parent, int index)
        {
            this.parent = parent;
            var config = AuctionConfig.Get(model.selectClassifyId);
            string[] classifyNames = index == 0 ? config.ChooseItemName1 : config.ChooseItemName2;
            var classifyIndex = index == 0 ? model.childClassifyIndex.x : model.childClassifyIndex.y;
            m_ClassifyName.text = classifyIndex < classifyNames.Length ? classifyNames[classifyIndex] : string.Empty;
            m_Func.SetListener(() =>
            {
                parent.DisplayChildClassify(index);
            });
        }
    }
}
System/Auction/AuctionChildClassifyBehaviour.cs.meta
File was renamed from Lua/Gen/SnxxzUIAuctionConfigClassWrap.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: b75e37e2055dd9f41b9ff0582be0af3a
timeCreated: 1552276108
guid: e3ae5fb5ca1d1b14184edcaadbf01529
timeCreated: 1554124518
licenseType: Pro
MonoImporter:
  serializedVersion: 2
System/Auction/AuctionHelpModel.cs
@@ -9,23 +9,11 @@
namespace Snxxz.UI
{
    [XLua.LuaCallCSharp]
    public class AuctionConfigClass
    {
        public int JobEntry;//选择职业条目
        public int TypeEntry;//类型条目
        public bool JobTipBool;//选择职业条目是否显示
        public bool TypeTipBool;//类型条目是否显示
        public AuctionConfig Config;
    }
    public class AuctionHelpModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk
    {
        public List<AuctionConfig> FullServiceAuctionList = new List<AuctionConfig>();//全服拍卖列表
        public Dictionary<int, AuctionConfigClass> FullServiceAuctionDic = new Dictionary<int, AuctionConfigClass>();//全服拍卖选择记录
        public List<AuctionItemConfig> AuctionItemList = new List<AuctionItemConfig>();//拍卖物品表
        AuctionModel model { get { return ModelCenter.Instance.GetModel<AuctionModel>(); } }
        EquipModel equipModel { get { return ModelCenter.Instance.GetModel<EquipModel>(); } }
        PackModel packModel { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
        public int AuctionTaxrate1 = 0;//全服拍品税率
        public int AuctionTaxrate2 = 0;//仙盟拍品税率
@@ -33,12 +21,7 @@
        public int MaxFocusCount = 10;//最大可关注数量
        public int ExtensionTime = 0;//延长时间(秒)
        private int selectedGenreNow = 0;
        public int SelectedGenreNow//当前选择的页签
        {
            get { return selectedGenreNow; }
            set { selectedGenreNow = value; }
        }
        private ItemModel itemModel;//当前选择想要上架的物品
        public ItemModel ItemModel
        {
@@ -57,7 +40,6 @@
            AuctionTaxrate1 = int.Parse(AuctionTaxrateConfig.Numerical1);
            AuctionTaxrate2 = int.Parse(AuctionTaxrateConfig.Numerical2);
            AuctionTaxrate3 = int.Parse(AuctionTaxrateConfig.Numerical3);
            GetAuctionList();
            AuctionItemList = AuctionItemConfig.GetValues();
        }
@@ -71,27 +53,6 @@
        public override void UnInit()
        {
        }
        private void GetAuctionList()//全服获取拍卖列表
        {
            FullServiceAuctionDic.Clear();
            var config = AuctionConfig.GetValues();
            foreach (var value in config)
            {
                FullServiceAuctionList.Add(value);
                if (!FullServiceAuctionDic.ContainsKey(value.Id))
                {
                    AuctionConfigClass AuctionConfig = new AuctionConfigClass();
                    AuctionConfig.JobEntry = 0;
                    AuctionConfig.TypeEntry = 0;
                    AuctionConfig.JobTipBool = value.ChooseItem1 != null && value.ChooseItem1.Length > 0;
                    AuctionConfig.TypeTipBool = value.ChooseItem2 != null && value.ChooseItem2.Length > 0;
                    AuctionConfig.Config = value;
                    FullServiceAuctionDic.Add(value.Id, AuctionConfig);
                }
            }
        }
System/Auction/AuctionInquiry.cs
@@ -14,30 +14,6 @@
        AuctionHelpModel auctionHelpModel { get { return ModelCenter.Instance.GetModel<AuctionHelpModel>(); } }
        AuctionModel model { get { return ModelCenter.Instance.GetModel<AuctionModel>(); } }
        public int GetInquiryIndex()//获取当前拍卖列表的索引类型
        {
            var sendNumber = 0;
            var index = auctionHelpModel.SelectedGenreNow;
            if (!auctionHelpModel.FullServiceAuctionDic.ContainsKey(index))
            {
                //DebugEx.LogError("---没有找到该索引下标的数据");
                return sendNumber;
            }
            var fullServiceAuction = auctionHelpModel.FullServiceAuctionDic[index];
            sendNumber += fullServiceAuction.Config.TypeId;
            if (fullServiceAuction.JobTipBool)
            {
                sendNumber += fullServiceAuction.Config.ChooseItem1[fullServiceAuction.JobEntry];
            }
            if (fullServiceAuction.TypeTipBool)
            {
                sendNumber += fullServiceAuction.Config.ChooseItem2[fullServiceAuction.TypeEntry];
            }
            // DebugEx.Log(sendNumber + "查询类型");
            return sendNumber;
        }
        public void SendQueryPlayerAuctionItem()// 拍卖行查询个人拍卖中的物品
        {
            CB511_tagCGQueryPlayerAuctionItem cb511 = new CB511_tagCGQueryPlayerAuctionItem();
System/Auction/AuctionModel.cs
@@ -36,6 +36,25 @@
        public bool queryAfterwardAble { get; set; }
        public DateTime queryTime = DateTime.Now;
        int m_SelectClassifyId = 0;
        public int selectClassifyId
        {
            get { return m_SelectClassifyId; }
            set
            {
                if (m_SelectClassifyId != value)
                {
                    m_SelectClassifyId = value;
                    if (selectClassifyRefresh != null)
                    {
                        selectClassifyRefresh();
                    }
                }
            }
        }
        public Int2 childClassifyIndex = Int2.zero;
        public event Action myAuctionRefresh;
        public event Action serverAuctionRefresh;//全服拍品数据请求
        public event Action myFocusItemRefresh;//关注物品ID刷新
@@ -46,6 +65,7 @@
        public event Action auctionItemRefresh;//拍卖行数据刷新(仅用于数据刷新)
        public event Action onAuctionRemove;//拍卖行物品清除
        public event Action onFocusAuctionRefresh;
        public event Action selectClassifyRefresh;
        AuctionHelpModel auctionHelpModel { get { return ModelCenter.Instance.GetModel<AuctionHelpModel>(); } }
@@ -307,6 +327,26 @@
            return m_MyFocusItemIds.Count;
        }
        public int GetQueryIndex()
        {
            var config = AuctionConfig.Get(selectClassifyId);
            if (config == null)
            {
                return 0;
            }
            var index = config.TypeId;
            if (config.ChooseItem1 != null && config.ChooseItem1.Length > 0)
            {
                index += childClassifyIndex.x;
            }
            if (config.ChooseItem2 != null && config.ChooseItem2.Length > 0)
            {
                index += childClassifyIndex.y;
            }
            return index;
        }
        public bool IsParticipateInBidding(string guid)
        {
            return m_MyBiddingItemGuids.Contains(guid);
@@ -390,7 +430,6 @@
                }
                m_ServerAuctionItemGuids.Clear();
                m_ServerAuctionItemGuids.AddRange(fullServiceAuctionList);
                auctionHelpModel.SelectedGenreNow = 0;
                isLocationQuery = true;
                WindowCenter.Instance.Open<AuctionHouseWin>(true, 0);//定位查询
            }
System/Auction/FullServiceAuctionWin.cs
@@ -16,16 +16,12 @@
    {
        #region Built-in
        [SerializeField] ScrollerController m_ScrollerController;
        [SerializeField] ScrollerController m_ScrollerControllerJob;
        [SerializeField] ScrollerController m_ScrollerControllerType;
        [SerializeField] ScrollerController m_ScrollerControllerItem;
        [SerializeField] GameObject m_JobTip;
        [SerializeField] GameObject m_TypeTip;
        [SerializeField] Button m_JobTipBtn;
        [SerializeField] Button m_TypeTipBtn;
        [SerializeField] Text m_JobTipText;
        [SerializeField] Text m_TypeTipText;
        [SerializeField] ScrollerController m_ClassifyController;
        [SerializeField] AuctionChildClassifyBehaviour[] m_ChildClassifys;
        [SerializeField] ScrollerController m_ChildClassifyController;
        [SerializeField] Transform m_ContainerChildClassify;
        [SerializeField] Transform[] m_ChildClassifyPositions;
        [SerializeField] ScrollerController m_AuctionController;
        List<string> itemGuids = new List<string>();//全服拍品列表
@@ -37,53 +33,49 @@
        protected override void BindController()
        {
            m_ScrollerController.OnRefreshCell += OnRefreshGridCell;
            m_ScrollerControllerJob.OnRefreshCell += OnRefreshGridCellJob;
            m_ScrollerControllerType.OnRefreshCell += OnRefreshGridCellType;
            m_ScrollerControllerItem.OnRefreshCell += OnRefreshGridCellItem;
            m_ScrollerControllerItem.lockType = EnhanceLockType.KeepVertical;
            m_ClassifyController.OnRefreshCell += OnRefreshClassifyCell;
            m_ChildClassifyController.OnRefreshCell += OnRefreshChildClassifyCell;
            m_AuctionController.OnRefreshCell += OnRefreshGridCellItem;
            m_AuctionController.lockType = EnhanceLockType.KeepVertical;
        }
        protected override void AddListeners()
        {
            m_JobTipBtn.AddListener(OnClickJobTipBtn);
            m_TypeTipBtn.AddListener(OnClickTypeTipBtn);
        }
        protected override void OnPreOpen()
        {
            model.isAuctionWindowOpen = false;
            model.selectClassifyId = 0;
            model.childClassifyIndex = Int2.zero;
            queryDirty = false;
            GlobalTimeEvent.Instance.secondEvent += PerSecond;
            model.serverAuctionRefresh += FullServiceAuctionUpdate;//数据请求刷新
            model.auctionItemRefresh += RefreshAuctionItemUpdate;//刷新
            model.onAuctionRemove += ClearAuctionUpdate;//清除
            model.myBiddingAuctionRefresh += BiddingItemInfoUpdate;//竞价物品信息刷新
            m_ScrollerControllerItem.onValueChange += OnValueChange;
            model.myBiddingAuctionRefresh += BiddingItemInfoUpdate;//竞价物品信息刷新
            model.selectClassifyRefresh += SelectClassifyRefresh;
            m_AuctionController.onValueChange += OnValueChange;
            CloseChildClassify();
            ResetServerAuctionInquiry();
            ResetServerAuctionInquiry();
            OnCreateGridLineCell(m_ScrollerController);
            OnCreateGridLineCellJob(m_ScrollerControllerJob);
            OnCreateGridLineCellType(m_ScrollerControllerType);
            OnCreateGridLineCellItem(m_ScrollerControllerItem);
            Display();
            var index = itemGuids.IndexOf(model.locationGuid);
            if (index != -1)
            {
                m_ScrollerControllerItem.JumpIndex(index);
                m_AuctionController.JumpIndex(index);
            }
            model.isLocationQuery = false;
            model.locationGuid = string.Empty;
            SetTipText();
        }
            RefreshChildClassify();
        }
        protected override void OnActived()
        {
            base.OnActived();
@@ -103,9 +95,43 @@
            model.onAuctionRemove -= ClearAuctionUpdate;
            model.myBiddingAuctionRefresh -= BiddingItemInfoUpdate;//竞价物品信息刷新
            GlobalTimeEvent.Instance.secondEvent -= PerSecond;
            m_ScrollerControllerItem.onValueChange -= OnValueChange;
            m_AuctionController.onValueChange -= OnValueChange;
            model.selectClassifyRefresh -= SelectClassifyRefresh;
            StopAllCoroutines();
        }
        protected override void OnAfterClose()
        {
        }
        #endregion
        void Display()
        {
            DisplayClassifies();
            DisplayAuctionItems();
        }
        void DisplayClassifies()
        {
            var configs = AuctionConfig.GetValues();
            m_ClassifyController.Refresh();
            foreach (var config in configs)
            {
                m_ClassifyController.AddCell(ScrollerDataType.Header, config.Id);
            }
            m_ClassifyController.Restart();
        }
        private void SelectClassifyRefresh()
        {
            model.childClassifyIndex = Int2.zero;
            CloseChildClassify();
            RefreshChildClassify();
            m_ClassifyController.m_Scorller.RefreshActiveCellViews();
            queryDirty = true;
        }
        IEnumerator Co_Open()
@@ -120,19 +146,14 @@
            {
                if (model.SatisfyQueryAuction(2))
                {
                    var inquiryIndex = AuctionInquiry.Instance.GetInquiryIndex();
                    var inquiryIndex = model.GetQueryIndex();
                    if (itemGuids.Count > 0)
                    {
                        model.SendInquiryServerAcution(inquiryIndex, itemGuids[0], 2);
                    }
                }
            }
        }
        protected override void OnAfterClose()
        {
        }
        #endregion
        }
        private void PerSecond()
        {
@@ -145,171 +166,96 @@
        private void FullServiceAuctionUpdate()
        {
            OnCreateGridLineCellItem(m_ScrollerControllerItem);
            DisplayAuctionItems();
        }
        private void RefreshAuctionItemUpdate()
        {
            m_ScrollerControllerItem.m_Scorller.RefreshActiveCellViews();//刷新可见
            m_AuctionController.m_Scorller.RefreshActiveCellViews();//刷新可见
        }
        private void ClearAuctionUpdate()
        {
            OnCreateGridLineCellItem(m_ScrollerControllerItem);
            DisplayAuctionItems();
        }
        private void BiddingItemInfoUpdate()
        {
            OnCreateGridLineCellItem(m_ScrollerControllerItem);
            DisplayAuctionItems();
        }
        private void OnClickJobTipBtn()
        private void OnRefreshClassifyCell(ScrollerDataType type, CellView cell)
        {
            m_JobTip.SetActive(true);
            var classifyCell = cell as ServerAuctionClassifyCell;
            classifyCell.Display(cell.index);
        }
        private void OnClickTypeTipBtn()
        {
            m_TypeTip.SetActive(true);
        }
        private void OnCreateGridLineCell(ScrollerController gridCtrl)
        {
            gridCtrl.Refresh();
            for (int i = 0; i < auctionHelpModel.FullServiceAuctionList.Count; i++)
            {
                gridCtrl.AddCell(ScrollerDataType.Header, i);
            }
            gridCtrl.Restart();
        }
        private void OnRefreshGridCell(ScrollerDataType type, CellView cell)
        private void OnRefreshChildClassifyCell(ScrollerDataType type, CellView cell)
        {
            var index = cell.index;
            if (index >= auctionHelpModel.FullServiceAuctionList.Count)
            var classifyId = model.selectClassifyId;
            var config = AuctionConfig.Get(classifyId);
            var index = cell.index / 100;
            var classifyIndex = cell.index % 100;
            if (config != null)
            {
                return;
            }
            var fullServiceAuction = auctionHelpModel.FullServiceAuctionList[index];
            Text textName = cell.transform.Find("Text").GetComponent<Text>();
            GameObject selected = cell.transform.Find("Selected").gameObject;
            ButtonEx button = cell.GetComponent<ButtonEx>();
            textName.text = fullServiceAuction.TypeName;
            if (fullServiceAuction.Id == auctionHelpModel.SelectedGenreNow)
            {
                selected.SetActive(true);
            }
            else
            {
                selected.SetActive(false);
            }
            button.SetListener(() =>
            {
                if (fullServiceAuction.Id != auctionHelpModel.SelectedGenreNow)
                var classifyNameArray = index == 0 ? config.ChooseItemName1 : config.ChooseItemName2;
                Text textName = cell.transform.Find("Text").GetComponent<Text>();
                Button button = cell.GetComponent<Button>();
                textName.text = classifyNameArray[classifyIndex];
                button.SetListener(() =>
                {
                    CloseChildClassify();
                    auctionHelpModel.SelectedGenreNow = fullServiceAuction.Id;
                    queryDirty = true;
                    m_ScrollerController.m_Scorller.RefreshActiveCellViews();//刷新可见
                    OnCreateGridLineCellJob(m_ScrollerControllerJob);
                    OnCreateGridLineCellType(m_ScrollerControllerType);
                    SetTipText();
                }
            });
        }
        private void OnCreateGridLineCellJob(ScrollerController gridCtrl)
        {
            var index = 0;
            index = auctionHelpModel.FullServiceAuctionList.FindIndex((x) =>
            {
                return x.Id == auctionHelpModel.SelectedGenreNow;
            });
            if (index != -1)
            {
                var fullServiceAuction = auctionHelpModel.FullServiceAuctionList[index];
                if (fullServiceAuction.ChooseItem1 != null && fullServiceAuction.ChooseItem1.Length != 0)
                {
                    gridCtrl.Refresh();
                    for (int i = 0; i < fullServiceAuction.ChooseItem1.Length; i++)
                    {
                        gridCtrl.AddCell(ScrollerDataType.Header, i);
                    }
                    gridCtrl.Restart();
                }
                    var currentClassifyIndex = index == 0 ? model.childClassifyIndex.x : model.childClassifyIndex.y;
            }
        }
        private void OnRefreshGridCellJob(ScrollerDataType type, CellView cell)
        {
            var index = cell.index;
            var selectedGenreNow = auctionHelpModel.SelectedGenreNow;
            if (auctionHelpModel.FullServiceAuctionDic.ContainsKey(selectedGenreNow))
            {
                var config = auctionHelpModel.FullServiceAuctionDic[selectedGenreNow];
                Text textName = cell.transform.Find("Text").GetComponent<Text>();
                Button button = cell.GetComponent<Button>();
                textName.text = config.Config.ChooseItemName1[index];
                button.SetListener(() =>
                {
                    m_JobTip.SetActive(false);
                    if (index != config.JobEntry)
                    if (classifyIndex != currentClassifyIndex)
                    {
                        auctionHelpModel.FullServiceAuctionDic[selectedGenreNow].JobEntry = index;
                        if (index == 0)
                        {
                            model.childClassifyIndex.x = classifyIndex;
                        }
                        else
                        {
                            model.childClassifyIndex.y = classifyIndex;
                        }
                        queryDirty = true;
                        SetTipText();
                        RefreshChildClassify();
                    }
                });
            }
        }
        private void OnCreateGridLineCellType(ScrollerController gridCtrl)
        public void DisplayChildClassify(int index)
        {
            var index = 0;
            index = auctionHelpModel.FullServiceAuctionList.FindIndex((x) =>
            var config = AuctionConfig.Get(model.selectClassifyId);
            var position = m_ChildClassifyPositions[0].localPosition;
            if (index == 1)
            {
                return x.Id == auctionHelpModel.SelectedGenreNow;
            });
            if (index != -1)
            {
                var fullServiceAuction = auctionHelpModel.FullServiceAuctionList[index];
                if (fullServiceAuction.ChooseItem2 != null && fullServiceAuction.ChooseItem2.Length != 0)
                {
                    gridCtrl.Refresh();
                    for (int i = 0; i < fullServiceAuction.ChooseItem2.Length; i++)
                    {
                        gridCtrl.AddCell(ScrollerDataType.Header, i);
                    }
                    gridCtrl.Restart();
                }
                position = config.ChooseItem1 == null || config.ChooseItem1.Length == 0 ?
                    m_ChildClassifyPositions[0].localPosition : m_ChildClassifyPositions[1].localPosition;
            }
            var classifyArray = index == 0 ? config.ChooseItem1 : config.ChooseItem2;
            m_ChildClassifyController.Refresh();
            for (int i = 0; i < classifyArray.Length; i++)
            {
                m_ChildClassifyController.AddCell(ScrollerDataType.Header, index * 100 + i);
            }
            m_ChildClassifyController.Restart();
            m_ContainerChildClassify.localPosition = position;
            m_ContainerChildClassify.gameObject.SetActive(true);
        }
        private void OnRefreshGridCellType(ScrollerDataType type, CellView cell)
        {
            var index = cell.index;
            var selectedGenreNow = auctionHelpModel.SelectedGenreNow;
            if (auctionHelpModel.FullServiceAuctionDic.ContainsKey(selectedGenreNow))
            {
                var config = auctionHelpModel.FullServiceAuctionDic[selectedGenreNow];
                Text textName = cell.transform.Find("Text").GetComponent<Text>();
                Button button = cell.GetComponent<Button>();
                textName.text = config.Config.ChooseItemName2[index];
                button.SetListener(() =>
                {
                    m_TypeTip.SetActive(false);
                    if (index != config.TypeEntry)
                    {
                        auctionHelpModel.FullServiceAuctionDic[selectedGenreNow].TypeEntry = index;
                        queryDirty = true;
                        SetTipText();
                    }
                });
            }
        }
        private void OnCreateGridLineCellItem(ScrollerController gridCtrl)
        private void DisplayAuctionItems()
        {
            var firstGuid = itemGuids.Count > 0 ? itemGuids[0] : string.Empty;
@@ -345,16 +291,16 @@
                }
            }
            gridCtrl.Refresh();
            m_AuctionController.Refresh();
            for (int i = 0; i < itemGuids.Count; i++)
            {
                gridCtrl.AddCell(ScrollerDataType.Header, i);
                m_AuctionController.AddCell(ScrollerDataType.Header, i);
            }
            gridCtrl.Restart();
            m_AuctionController.Restart();
            if (jumpIndex != -1)
            {
                gridCtrl.JumpIndex(jumpIndex);
                m_AuctionController.JumpIndex(jumpIndex);
            }
@@ -373,39 +319,38 @@
            model.ResetServerAuctionInquiry();
            if (!model.isLocationQuery)
            {
                var inquiryIndex = AuctionInquiry.Instance.GetInquiryIndex();
                var inquiryIndex = model.GetQueryIndex();
                model.SendInquiryServerAcution(inquiryIndex, string.Empty, 1);
            }
        }
        private void CloseChildClassify()
        {
            m_JobTip.SetActive(false);
            m_TypeTip.SetActive(false);
            m_ContainerChildClassify.gameObject.SetActive(false);
        }
        private void SetTipText()
        private void RefreshChildClassify()
        {
            var selectedGenreNow = auctionHelpModel.SelectedGenreNow;
            if (auctionHelpModel.FullServiceAuctionDic.ContainsKey(selectedGenreNow))
            var classifyId = model.selectClassifyId;
            var config = AuctionConfig.Get(classifyId);
            for (int i = 0; i < m_ChildClassifys.Length; i++)
            {
                var config = auctionHelpModel.FullServiceAuctionDic[selectedGenreNow];
                m_JobTipBtn.gameObject.SetActive(config.JobTipBool);
                if (config.JobTipBool)
                var classifyIds = i == 0 ? config.ChooseItem1 : config.ChooseItem2;
                if (classifyIds == null || classifyIds.Length == 0)
                {
                    m_JobTipText.text = config.Config.ChooseItemName1[config.JobEntry];
                    m_ChildClassifys[i].gameObject.SetActive(false);
                }
                m_TypeTipBtn.gameObject.SetActive(config.TypeTipBool);
                if (config.TypeTipBool)
                else
                {
                    m_TypeTipText.text = config.Config.ChooseItemName2[config.TypeEntry];
                    m_ChildClassifys[i].gameObject.SetActive(true);
                    m_ChildClassifys[i].Display(this, i);
                }
            }
        }
        private void PushMyBiddingItems()
        {
            var index = AuctionInquiry.Instance.GetInquiryIndex();
            var index = model.GetQueryIndex();
            var myBiddingItems = model.GetMyBiddingAuctionItems();
            foreach (var guid in myBiddingItems)
System/Auction/FullServiceAuctioncell.cs
@@ -73,7 +73,7 @@
            }
            #region 滚动查询
            var inquiryIndex = AuctionInquiry.Instance.GetInquiryIndex();
            var inquiryIndex = model.GetQueryIndex();
            if (index < 2)
            {
                if (model.SatisfyQueryAuction(2))
System/Auction/ServerAuctionClassifyCell.cs
New file
@@ -0,0 +1,32 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Snxxz.UI
{
    public class ServerAuctionClassifyCell : CellView
    {
        [SerializeField] Text m_ClassifyName;
        [SerializeField] Transform m_ContainerSelect;
        [SerializeField] Button m_Select;
        AuctionModel model { get { return ModelCenter.Instance.GetModel<AuctionModel>(); } }
        int classifyId = 0;
        public void Display(int id)
        {
            classifyId = id;
            var config = AuctionConfig.Get(id);
            m_ClassifyName.text = config.TypeName;
            m_ContainerSelect.gameObject.SetActive(model.selectClassifyId == id);
            m_Select.SetListener(() =>
            {
                model.selectClassifyId = classifyId;
            });
        }
    }
}
System/Auction/ServerAuctionClassifyCell.cs.meta
copy from Lua/Gen/SnxxzUIAuctionConfigClassWrap.cs.meta copy to System/Auction/ServerAuctionClassifyCell.cs.meta
File was copied from Lua/Gen/SnxxzUIAuctionConfigClassWrap.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: b75e37e2055dd9f41b9ff0582be0af3a
timeCreated: 1552276108
guid: bbf81f21cbe3154438a12ee54c0e1fa8
timeCreated: 1554122766
licenseType: Pro
MonoImporter:
  serializedVersion: 2