| | |
| | | {
|
| | | bool equip = itemPlaceList[i].packType == PackType.rptEquip;
|
| | | uint[] stones = equip ? PlayerStoneData.Instance.GetStoneInfo(itemPlaceList[i].itemInfo.ItemPlace) : null;
|
| | | _textBuilder.Append(StringUtility.Contact("*", itemPlaceList[i].itemInfo.ItemID,
|
| | | _textBuilder.Append(StringUtility.Contact("#item#", itemPlaceList[i].itemInfo.ItemID,
|
| | | "|", itemPlaceList[i].itemInfo.IsBind,
|
| | | "|", itemPlaceList[i].itemInfo.ItemCount,
|
| | | "|", stones != null ? LitJson.JsonMapper.ToJson(stones) :
|
| | |
| | | ",\"Value\":", LitJson.JsonMapper.ToJson(_array)));
|
| | | _textBuilder.Append("}");
|
| | | }
|
| | | _textBuilder.Append("*");
|
| | | _textBuilder.Append("#item#");
|
| | | if (_recently != null)
|
| | | {
|
| | | _recently.Add(cfg.ItemName, _textBuilder.ToString().Substring(_length));
|
| | |
| | | }
|
| | |
|
| | | public static Regex EquipRegex = new Regex(@"\[([\u4e00-\u9fa5a-zA-Z0-9\|'_\(\)()\. ::]+?)\]", RegexOptions.Singleline);
|
| | | public static Regex EquipDetailRegex = new Regex("\\*([\u4e00-\u9fa5a-zA-Z0-9\\|'_\\(\\)()\\. ::\\,\\[\\]a-zA-Z\"\\{\\}]+?)\\*", RegexOptions.Singleline);
|
| | | public static Regex EquipDetailRegex = new Regex("#item#([\u4e00-\u9fa5a-zA-Z0-9\\|'_\\(\\)()\\. ::\\,\\[\\]a-zA-Z\"\\{\\}]+?)#item#", RegexOptions.Singleline);
|
| | |
|
| | | public bool ExcuteHrefEvent(string msg, int index = 0)
|
| | | {
|