From a87120c155c48fa45b20a97c1a58bdbeb77318b7 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 20 二月 2019 16:54:13 +0800
Subject: [PATCH] 3335 物品相关类型重构

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

diff --git a/System/TreasureFindHost/TreasureFindHostModel.cs b/System/TreasureFindHost/TreasureFindHostModel.cs
index a38f993..93305a3 100644
--- a/System/TreasureFindHost/TreasureFindHostModel.cs
+++ b/System/TreasureFindHost/TreasureFindHostModel.cs
@@ -169,7 +169,7 @@
             SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
             if (singlePack == null) return false;
 
-            Dictionary<int, ItemModel> equipDict = singlePack.GetPackModelIndexDict();
+            Dictionary<int, ItemModel> equipDict = singlePack.GetAllItems();
             foreach(var model in equipDict.Values)
             {
                 progress += model.config.StarLevel;
@@ -187,7 +187,7 @@
             SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
             if (singlePack == null) return false;
 
-            Dictionary<int, ItemModel> equipDict = singlePack.GetPackModelIndexDict();
+            Dictionary<int, ItemModel> equipDict = singlePack.GetAllItems();
             foreach(var condi in treasureInfo.needConditionsDict.Values)
             {
                 progress = 0;

--
Gitblit v1.8.0