From b228f5fcc062a5fde8af4fcdeec837bcc2577ecf Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 12 三月 2019 15:20:00 +0800
Subject: [PATCH] 3335 删除部分物品绑定概念。
---
System/Compose/New/ComposeWinModel.cs | 49 -------------------------------------------------
1 files changed, 0 insertions(+), 49 deletions(-)
diff --git a/System/Compose/New/ComposeWinModel.cs b/System/Compose/New/ComposeWinModel.cs
index 69f7c48..7819202 100644
--- a/System/Compose/New/ComposeWinModel.cs
+++ b/System/Compose/New/ComposeWinModel.cs
@@ -1001,55 +1001,6 @@
return itemArray;
}
- public void GetBindOrNoBindMinCnt(out int minBindCnt, out int minNoBindCnt)
- {
- minBindCnt = 0;
- minNoBindCnt = 0;
- if (CurComposeModel == null) return;
-
- Dictionary<int, int> bindCntDic = new Dictionary<int, int>();
- Dictionary<int, int> noBindCntDic = new Dictionary<int, int>();
- int[] fixedIds = CurComposeModel.itemID;
- for (int i = 0; i < fixedIds.Length; i++)
- {
- var list = playerPack.GetSinglePack(PackType.Item).GetItemsById(fixedIds[i]);
- if (list != null)
- {
- int bindCnt = 0;
- int noBindCnt = 0;
- for (int j = 0; j < list.Count; j++)
- {
- if (list[j].isBind == 1)
- {
- bindCnt += list[j].count;
-
- }
- else if (list[j].isBind == 0)
- {
- noBindCnt += list[j].count;
- }
- }
- bindCntDic.Add(fixedIds[i], bindCnt);
- noBindCntDic.Add(fixedIds[i], noBindCnt);
- }
- }
-
- List<int> bindCntlist = bindCntDic.Values.ToList();
- bindCntlist.Sort();
- if (bindCntlist.Count > 0)
- {
- minBindCnt = bindCntlist[0];
- }
-
- List<int> noBindCntlist = noBindCntDic.Values.ToList();
- noBindCntlist.Sort();
- if (noBindCntlist.Count > 0)
- {
- minNoBindCnt = noBindCntlist[0];
- }
-
- }
-
/// <summary>
/// 璁$畻闄勫姞鏉愭枡澧炲姞鐨勬垚鍔熺巼
/// </summary>
--
Gitblit v1.8.0