少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-19 77561bb15f0a5d45146fdf454726393e3987cc23
System/GatheringSoul/GatheringSoulModel.cs
@@ -758,11 +758,11 @@
            return true;
        }
        public void HandleSoulTipFunc(ItemWinBtnType type, GatherSoulItem item)
        public void HandleSoulTipFunc(ItemOperateType type, GatherSoulItem item)
        {
            switch (type)
            {
                case ItemWinBtnType.compose:
                case ItemOperateType.compose:
                    if (!FuncOpen.Instance.IsFuncOpen(158))
                    {
                        FuncOpen.Instance.ProcessorFuncErrorTip(158);
@@ -778,9 +778,9 @@
                    };
                    WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.GatherSoul271);
                    break;
                case ItemWinBtnType.dismantle:
                case ItemWinBtnType.Resolve:
                    if (type == ItemWinBtnType.Resolve && item.itemType != GATHERSOUL_ESSENCE_TYPE
                case ItemOperateType.dismantle:
                case ItemOperateType.Resolve:
                    if (type == ItemOperateType.Resolve && item.itemType != GATHERSOUL_ESSENCE_TYPE
                        && IsBestSoul(item, item.placeType, item.index))
                    {
                        ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("BestGatherSoulResolveConfirm"), (bool isOk) =>
@@ -809,7 +809,7 @@
                        }
                    }
                    break;
                case ItemWinBtnType.Wear:
                case ItemOperateType.Wear:
                    List<int> emptyHoles;
                    bool existEmptyHole = false;
                    if (ExistEmptyHole(out emptyHoles))
@@ -833,7 +833,7 @@
                        SysNotifyMgr.Instance.ShowTip("NoneOfAnyEmptySoulHole");
                    }
                    break;
                case ItemWinBtnType.Replace:
                case ItemOperateType.Replace:
                    WindowCenter.Instance.Close<GatherSoulTipWin>();
                    ExecuteReplaceSoul(item);
                    break;