| | |
| | | {
|
| | | continue;
|
| | | }
|
| | | if (!item.ExistSameProperty(compare.id)
|
| | | || item.Compare(compare) != 1)
|
| | | if (item.ExistSameProperty(compare.id)
|
| | | && item.itemColor < compare.itemColor)
|
| | | {
|
| | | return false;
|
| | | }
|
| | |
| | | {
|
| | | continue;
|
| | | }
|
| | | if (!item.ExistSameProperty(compare.id)
|
| | | || item.Compare(compare) != 1)
|
| | | if (item.ExistSameProperty(compare.id)
|
| | | && item.itemColor < compare.itemColor)
|
| | | {
|
| | | return false;
|
| | | }
|
| | |
| | | break;
|
| | | case ItemWinBtnType.split:
|
| | | case ItemWinBtnType.Resolve:
|
| | | if (IsBestSoul(item, item.placeType, item.index))
|
| | | if (type == ItemWinBtnType.Resolve
|
| | | && IsBestSoul(item, item.placeType, item.index))
|
| | | {
|
| | | ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("BestGatherSoulResolveConfirm"), (bool isOk) =>
|
| | | {
|
| | |
| | |
|
| | | public int placeType { get; private set; }//0-背包 1-装备
|
| | |
|
| | | public int itemColor { get; private set; }
|
| | |
|
| | | GatheringSoulModel model
|
| | | {
|
| | | get { return ModelCenter.Instance.GetModel<GatheringSoulModel>(); }
|
| | |
| | | base.ParsePackItem(index, data);
|
| | | var itemConfig = Config.Instance.Get<ItemConfig>(id);
|
| | | itemType = itemConfig.Type;
|
| | | itemColor = itemConfig.ItemColor;
|
| | | if (itemType == GatheringSoulModel.GATHERSOUL_SOUL_TYPE)
|
| | | {
|
| | | gatherSoulType = GatherSoulType.Soul;
|