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/Chat/ChatExtentWin.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/Chat/ChatExtentWin.cs b/System/Chat/ChatExtentWin.cs
index 36fc7a6..9116f63 100644
--- a/System/Chat/ChatExtentWin.cs
+++ b/System/Chat/ChatExtentWin.cs
@@ -307,7 +307,7 @@
SinglePackModel packTypeModel = _packModel.GetSinglePackModel(PackType.Equip);
if (packTypeModel != null)
{
- Dictionary<int, ItemModel> equipBodyDict = packTypeModel.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> equipBodyDict = packTypeModel.GetAllItems();
if (equipBodyDict != null && equipBodyDict.Count > 0)
{
foreach (var _equip in equipBodyDict.Values)
@@ -322,7 +322,7 @@
packTypeModel = _packModel.GetSinglePackModel(PackType.Item);
if (packTypeModel != null)
{
- Dictionary<int, ItemModel> dic = packTypeModel.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> dic = packTypeModel.GetAllItems();
if (dic != null && dic.Count > 0)
{
m_DisplayItems.AddRange(dic.Values.ToList());
--
Gitblit v1.8.0