From 77561bb15f0a5d45146fdf454726393e3987cc23 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 19 二月 2019 23:25:32 +0800
Subject: [PATCH] 3335 物品管理相关功能重构。
---
System/GatheringSoul/GatheringSoulModel.cs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/System/GatheringSoul/GatheringSoulModel.cs b/System/GatheringSoul/GatheringSoulModel.cs
index a4a4bc2..4e4a071 100644
--- a/System/GatheringSoul/GatheringSoulModel.cs
+++ b/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;
--
Gitblit v1.8.0