Main/System/Chat/ChatManager.cs
@@ -328,6 +328,21 @@ pack.Content = content; pack.Len = (ushort)GetUTF8InfoLen(content); GameNetSystem.Instance.SendInfo(pack); ChatReport(channelType, content); } void ChatReport(int chatType, string content, string toPlayer="") { try { var channelName = Language.Get($"ChatTab{chatType}"); OperationLogCollect.Instance.ChatReport(content, channelName, toPlayer, chatType); } catch (Exception e) { Debug.LogError(e.StackTrace + e.Message); } } public readonly int maxTalkCount = 1000; //聊天数量上限