| | |
| | | private void PlayerDataRefreshEvent(PlayerDataType dataType)
|
| | | {
|
| | | if (dataType == PlayerDataType.RealmLevel
|
| | | && isServerPrepare)
|
| | | && isServerPrepare && PlayerDatas.Instance.baseData.realmLevel < 6)
|
| | | {
|
| | | AutoFocusAuctionItem(PlayerDatas.Instance.baseData.realmLevel);
|
| | | }
|
| | |
| | | void AutoFocusAuctionItem(int realmLevel)
|
| | | {
|
| | | var configs = auctionHelpModel.GetAuctionItemList(1);
|
| | |
|
| | | int[] AttentionPlace = { 11, 12, 23, 24 }; //需关注的装备位
|
| | |
|
| | | if (configs != null)
|
| | | {
|
| | | foreach (var config in configs)
|
| | |
| | | {
|
| | | continue;
|
| | | }
|
| | | if (itemConfig.EquipPlace <= 8 && itemConfig.SuiteiD == 0)
|
| | | if (Array.IndexOf(AttentionPlace, itemConfig.EquipPlace) == -1 )
|
| | | {
|
| | | continue;
|
| | | }
|