| | |
| | | {
|
| | | _result = string.Empty;
|
| | | }
|
| | | if (_chat.chatType == ChatInfoType.Fairy)
|
| | | {
|
| | | var model = ModelCenter.Instance.GetModel<DailyQuestModel>();
|
| | | if (model.GetQuestState((int)DailyQuestType.FairyFeast) == DailyQuestModel.DailyQuestState.Normal
|
| | | && PlayerDatas.Instance.baseData.MapID == 31230)
|
| | | {
|
| | | _result = Regex.Replace(_result, "[\x00-\x2F]|[\x3A-\x40]|[\x5B-\x60]|[\x7B-\x7E]", string.Empty);
|
| | | _result = _result.Replace("。", string.Empty);
|
| | | _result = _result.Replace(",", string.Empty);
|
| | | _result = _result.Replace(";", string.Empty);
|
| | | _result = _result.Replace("、", string.Empty);
|
| | | _result = _result.Replace("?", string.Empty);
|
| | | }
|
| | | }
|
| | | if (DirtyWordConfig.IsDirtWord(_result))
|
| | | {
|
| | | _result = DirtyWordConfig.IsDirtWord(_result, '*');
|