| | |
| | | var itemName = cfg.ItemName; |
| | | if (_dict.ContainsKey("chatsend")) |
| | | { |
| | | itemName = StringUtility.Contact("[", itemName, "]"); |
| | | itemName = StringUtility.Concat("[", itemName, "]"); |
| | | } |
| | | if (_dict.ContainsKey("count")) |
| | | { |
| | |
| | | int.TryParse(_dict["count"], out count); |
| | | if (count > 0) |
| | | { |
| | | itemName = StringUtility.Contact(itemName, "x", count.ToString()); |
| | | itemName = StringUtility.Concat(itemName, "x", count.ToString()); |
| | | } |
| | | } |
| | | var suitLabel = string.Empty; |
| | |
| | | } |
| | | // if (ItemLogicUtility.Instance.IsSuitEquip(id)) |
| | | // { |
| | | // suitLabel = StringUtility.Contact("<Suitname=", UIHelper.GetEquipSuitName(id, colorType == 1), "/>|"); |
| | | // suitLabel = StringUtility.Concat("<Suitname=", UIHelper.GetEquipSuitName(id, colorType == 1), "/>|"); |
| | | // } |
| | | } |
| | | return StringUtility.Contact(suitLabel, AppendColor(itemName, _itemColor, _dict)); |
| | | return StringUtility.Concat(suitLabel, AppendColor(itemName, _itemColor, _dict)); |
| | | } |
| | | else |
| | | { |
| | |
| | | var config = ItemConfig.Get(_id); |
| | | if (config != null) |
| | | { |
| | | return StringUtility.Contact(GetItemColorName(config.ItemColor), AppendColor(config.ItemName, config.ItemColor, _dict)); |
| | | return StringUtility.Concat(GetItemColorName(config.ItemColor), AppendColor(config.ItemName, config.ItemColor, _dict)); |
| | | } |
| | | } |
| | | } |