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

---
 System/RoleParticulars/ViewFuncCell.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/System/RoleParticulars/ViewFuncCell.cs b/System/RoleParticulars/ViewFuncCell.cs
index 1750037..ae99204 100644
--- a/System/RoleParticulars/ViewFuncCell.cs
+++ b/System/RoleParticulars/ViewFuncCell.cs
@@ -116,7 +116,7 @@
                                 break;
                             foreach (var itemData in packTypeModel.GetPackModelIndexDict().Values)
                             {
-                                ItemConfig _tagChinItemModel = ItemConfig.Get((int)itemData.itemInfo.ItemID);
+                                ItemConfig _tagChinItemModel = ItemConfig.Get((int)itemData.itemId);
                                 if (_tagChinItemModel != null && (_tagChinItemModel.ItemColor > viewRoleFuncModel.condition[0]
                                     || (_tagChinItemModel.ItemColor == viewRoleFuncModel.condition[0]
                                     && (viewRoleFuncModel.condition.Length < 2 || _tagChinItemModel.StarLevel >= viewRoleFuncModel.condition[1]))))
@@ -167,7 +167,7 @@
                             ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
                             if (itemModel != null)
                             {
-                                ItemConfig _tagChinItemModel = ItemConfig.Get((int)itemModel.itemInfo.ItemID);
+                                ItemConfig _tagChinItemModel = ItemConfig.Get((int)itemModel.itemId);
                                 selfCompareTxt.text = string.Format(viewRoleFuncModel.compareTip, _tagChinItemModel.ItemName);
                             }
                             else

--
Gitblit v1.8.0