少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-13 2df58aeacbf1177ec01167bdeccfe89d6a8d5804
System/Chat/ChatExtentWin.cs
@@ -94,7 +94,7 @@
                {
                    _itemCell.items[i].gameObject.SetActive(true);
                    ItemModel _item = m_DisplayItems[index];
                    ItemConfig itemCfg = Config.Instance.Get<ItemConfig>((int)_item.itemInfo.ItemID);
                    ItemConfig itemCfg = ItemConfig.Get((int)_item.itemInfo.ItemID);
                    _itemCell.items[i].Init(_item);
                    _itemCell.itemEquips[i].gameObject.SetActive(_item.packType == PackType.rptEquip);
                    _itemCell.items[i].cellBtn.onClick.RemoveAllListeners();
@@ -117,7 +117,7 @@
                chatCenter.recentlyChat = null;
                chatCenter.ChangeChatValue(string.Empty, false, false);
            }
            ItemConfig _cfg = Config.Instance.Get<ItemConfig>((int)_item.itemInfo.ItemID);
            ItemConfig _cfg = ItemConfig.Get((int)_item.itemInfo.ItemID);
            string _showtext = StringUtility.Contact("[", _cfg.ItemName, "]");
            ChatCtrl.Inst.itemPlaceList.Add(_item);
            chatCenter.ChangeChatValue(_showtext, true, true);