| | |
| | | }
|
| | |
|
| | | #region 恶意发言
|
| | | private string repeatChatContent = string.Empty;
|
| | | private int repeatChatCount = 0;
|
| | | private DateTime repeatTime = DateTime.Now;
|
| | | static string repeatChatContent = string.Empty;
|
| | | static int repeatChatCount = 0;
|
| | | static DateTime repeatTime = DateTime.Now;
|
| | | private void CheckRepeatContent(string _content)
|
| | | {
|
| | | if (repeatChatContent.Equals(_content)
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | int maliceChatCount = 0;
|
| | | int maliceRecordCount = 0;
|
| | | private DateTime maliceChatTime = DateTime.Now;
|
| | | static int maliceChatCount = 0;
|
| | | static int maliceRecordCount = 0;
|
| | | static DateTime maliceChatTime = DateTime.Now;
|
| | | private void CheckMaliceChat(string _content)
|
| | | {
|
| | | if ((TimeUtility.ServerNow - maliceChatTime).TotalSeconds < chatCenter.banCheckSecond
|