| | |
| | | }
|
| | | m_OnChating = true;
|
| | | string msg = m_ChatInput.text;
|
| | | ChatCtrl.Inst.SendChatInfo(ChatCtrl.Inst.presentChatType, msg, info);
|
| | |
|
| | | string tmpMsg = ImgAnalysis.ReplaceFace(msg, out int faceCount);
|
| | | if (DirtyWordConfig.IsDirtWord(tmpMsg))
|
| | | {
|
| | | tmpMsg = DirtyWordConfig.IsDirtWord(tmpMsg, '*');
|
| | | tmpMsg = tmpMsg.Replace("*", "");
|
| | | m_ChatInput.text = tmpMsg;
|
| | | SysNotifyMgr.Instance.ShowTip("DirtyWordWarn");
|
| | | m_OnChating = false;
|
| | | return;
|
| | | }
|
| | |
|
| | | ChatCtrl.Inst.SendChatInfo(ChatCtrl.Inst.presentChatType, msg, info, false);
|
| | | StartCoroutine(Co_CoolDowmChat());
|
| | |
|
| | | ModelCenter.Instance.GetModel<FirstTimeRechargeModel>().AskFirstRechargeMore(msg);
|
| | |
| | | CheckMaliceChat(msg);
|
| | | }
|
| | | m_OnChating = true;
|
| | | ChatCtrl.Inst.SendChatInfo(ChatCtrl.Inst.presentChatType, msg, info);
|
| | | ChatCtrl.Inst.SendChatInfo(ChatCtrl.Inst.presentChatType, msg, info, false);
|
| | | StartCoroutine(Co_CoolDowmChat());
|
| | | }
|
| | |
|