From 2fb0f9761ef9789ce068fbe26d2e4c7af1148ec0 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 19 二月 2019 23:49:06 +0800
Subject: [PATCH] 3335 物品管理相关功能重构。

---
 System/Strengthening/EquipSuit/PlayerSuitModel.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/System/Strengthening/EquipSuit/PlayerSuitModel.cs b/System/Strengthening/EquipSuit/PlayerSuitModel.cs
index b40dcc3..d676376 100644
--- a/System/Strengthening/EquipSuit/PlayerSuitModel.cs
+++ b/System/Strengthening/EquipSuit/PlayerSuitModel.cs
@@ -473,9 +473,9 @@
             Dictionary<int, ItemModel> equipDict = singlePack.GetPackModelIndexDict();
             foreach (ItemModel model in equipDict.Values)
             {
-                if (GetGroupType(model.itemInfo.ItemPlace) == GetGroupType(equipPlace))
+                if (GetGroupType(model.itemPlace) == GetGroupType(equipPlace))
                 {
-                    int serverSuitLv = GetServerSuitLv(model.itemInfo.ItemPlace, (int)suitType);
+                    int serverSuitLv = GetServerSuitLv(model.itemPlace, (int)suitType);
 
                     if (serverSuitLv != 0)
                     {
@@ -494,7 +494,7 @@
                         if (serverSuitLv == suitLv)
                         {
                             sumNumber++;
-                            equipPlacelist.Add(model.itemInfo.ItemPlace);
+                            equipPlacelist.Add(model.itemPlace);
                         }
                     }
                 }
@@ -512,7 +512,7 @@
             Dictionary<int, ItemModel> equipDict = singlePack.GetPackModelIndexDict();
             foreach (ItemModel model in equipDict.Values)
             {
-                Dictionary<int, int> suitTypeDic = GetServerSuitModelByPlace(model.itemInfo.ItemPlace);
+                Dictionary<int, int> suitTypeDic = GetServerSuitModelByPlace(model.itemPlace);
                 if (suitTypeDic != null)
                 {
                     if (suitTypeDic.ContainsKey((int)suitType))

--
Gitblit v1.8.0