少年修仙传客户端代码仓库
hch
2019-07-25 1a64700ca121c50e0b7751bc23b06b8f0488db5d
8092 优化拍卖自动关注 只有静心和筑基的 主副手
1个文件已修改
7 ■■■■■ 已修改文件
System/Auction/AuctionModel.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/AuctionModel.cs
@@ -114,7 +114,7 @@
        private void PlayerDataRefreshEvent(PlayerDataType dataType)
        {
            if (dataType == PlayerDataType.RealmLevel
                && isServerPrepare)
                && isServerPrepare && PlayerDatas.Instance.baseData.realmLevel < 6)
            {
                AutoFocusAuctionItem(PlayerDatas.Instance.baseData.realmLevel);
            }
@@ -995,6 +995,9 @@
        void AutoFocusAuctionItem(int realmLevel)
        {
            var configs = auctionHelpModel.GetAuctionItemList(1);
            int[] AttentionPlace = { 11, 12, 23, 24 };  //需关注的装备位
            if (configs != null)
            {
                foreach (var config in configs)
@@ -1006,7 +1009,7 @@
                        {
                            continue;
                        }
                        if (itemConfig.EquipPlace <= 8 && itemConfig.SuiteiD == 0)
                        if (Array.IndexOf(AttentionPlace, itemConfig.EquipPlace) == -1 )
                        {
                            continue;
                        }