From 2fb0f9761ef9789ce068fbe26d2e4c7af1148ec0 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 19 二月 2019 23:49:06 +0800
Subject: [PATCH] 3335 物品管理相关功能重构。
---
System/Chat/ChatCtrl.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/System/Chat/ChatCtrl.cs b/System/Chat/ChatCtrl.cs
index 76c7dfc..a8236a0 100644
--- a/System/Chat/ChatCtrl.cs
+++ b/System/Chat/ChatCtrl.cs
@@ -857,7 +857,7 @@
if (cfg.ItemName == matchArray[i].Groups[1].Value)
{
bool equip = itemPlaceList[i].packType == PackType.Equip;
- uint[] stones = equip ? PlayerStoneData.Instance.GetStoneInfo(itemPlaceList[i].itemInfo.ItemPlace) : null;
+ uint[] stones = equip ? PlayerStoneData.Instance.GetStoneInfo(itemPlaceList[i].itemPlace) : null;
_textBuilder.Append(StringUtility.Contact("#item#", itemPlaceList[i].itemId,
"|", itemPlaceList[i].itemInfo.IsBind,
"|", itemPlaceList[i].itemInfo.ItemCount,
@@ -876,7 +876,7 @@
}
}
_textBuilder.Append("|");
- var _dictSuitLv = ModelCenter.Instance.GetModel<PlayerSuitModel>().GetServerSuitModelByPlace(itemPlaceList[i].itemInfo.ItemPlace);
+ var _dictSuitLv = ModelCenter.Instance.GetModel<PlayerSuitModel>().GetServerSuitModelByPlace(itemPlaceList[i].itemPlace);
if (_dictSuitLv != null&& equip)
{
foreach (int key in _dictSuitLv.Keys)
@@ -885,7 +885,7 @@
}
}
_textBuilder.Append("|");
- var _dictSuitCnt = ModelCenter.Instance.GetModel<PlayerSuitModel>().GetServerSuitCntByPlace(itemPlaceList[i].itemInfo.ItemPlace);
+ var _dictSuitCnt = ModelCenter.Instance.GetModel<PlayerSuitModel>().GetServerSuitCntByPlace(itemPlaceList[i].itemPlace);
if (_dictSuitCnt != null && equip)
{
foreach (int key in _dictSuitCnt.Keys)
@@ -894,9 +894,9 @@
}
}
_textBuilder.Append("|");
- _textBuilder.Append(itemPlaceList[i].itemInfo.ItemPlace);
+ _textBuilder.Append(itemPlaceList[i].itemPlace);
_textBuilder.Append("|");
- var _wash = ModelCenter.Instance.GetModel<EquipWashModel>().GetWashEquipInfo(itemPlaceList[i].itemInfo.ItemPlace);
+ var _wash = ModelCenter.Instance.GetModel<EquipWashModel>().GetWashEquipInfo(itemPlaceList[i].itemPlace);
if (_wash != null && equip)
{
_textBuilder.Append("{");
--
Gitblit v1.8.0