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/Chat/ChatExtentWin.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/Chat/ChatExtentWin.cs b/System/Chat/ChatExtentWin.cs
index 8f6d1b2..70b3ce2 100644
--- a/System/Chat/ChatExtentWin.cs
+++ b/System/Chat/ChatExtentWin.cs
@@ -94,7 +94,7 @@
{
_itemCell.items[i].gameObject.SetActive(true);
ItemModel _item = m_DisplayItems[index];
- ItemConfig itemCfg = ItemConfig.Get((int)_item.itemInfo.ItemID);
+ ItemConfig itemCfg = ItemConfig.Get((int)_item.itemId);
_itemCell.items[i].Init(_item);
_itemCell.itemEquips[i].gameObject.SetActive(_item.packType == PackType.Equip);
_itemCell.items[i].cellBtn.onClick.RemoveAllListeners();
@@ -117,7 +117,7 @@
chatCenter.recentlyChat = null;
chatCenter.ChangeChatValue(string.Empty, false, false);
}
- ItemConfig _cfg = ItemConfig.Get((int)_item.itemInfo.ItemID);
+ ItemConfig _cfg = ItemConfig.Get((int)_item.itemId);
string _showtext = StringUtility.Contact("[", _cfg.ItemName, "]");
ChatCtrl.Inst.itemPlaceList.Add(_item);
chatCenter.ChangeChatValue(_showtext, true, true);
--
Gitblit v1.8.0