| | |
| | | chatPack.Len = (ushort)GetUTF8InfoLen(msg);
|
| | | chatPack.Content = msg;
|
| | | GameNetSystem.Instance.SendInfo(chatPack);
|
| | |
|
| | | CheckSendAssitChat(msg);
|
| | | }
|
| | | break;
|
| | | case ChatInfoType.Area:
|
| | |
| | | chatPack.Len = (ushort)GetUTF8InfoLen(msg);
|
| | | chatPack.Content = msg;
|
| | | GameNetSystem.Instance.SendInfo(chatPack);
|
| | |
|
| | | CheckSendAssitChat(msg);
|
| | | }
|
| | | break;
|
| | | case ChatInfoType.Trumpet:
|
| | |
| | | }
|
| | | return string.Empty;
|
| | | }
|
| | |
|
| | | public bool needCheckAssitChat { get; set; }
|
| | | void CheckSendAssitChat(string message)
|
| | | {
|
| | | if (needCheckAssitChat)
|
| | | {
|
| | | bool requestTeam = false;
|
| | | for (int i = 0; i < 2; i++)
|
| | | {
|
| | | if (message.Equals(Language.Get(realmRandomChats[i])))
|
| | | {
|
| | | requestTeam = true;
|
| | | break;
|
| | | }
|
| | | if (message.Equals(Language.Get(dungeonRandomChats[i])))
|
| | | {
|
| | | requestTeam = true;
|
| | | break;
|
| | | }
|
| | | }
|
| | | if (requestTeam)
|
| | | {
|
| | | teamModel.RequestAssistAutoMatch();
|
| | | }
|
| | | }
|
| | | }
|
| | | #endregion
|
| | |
|
| | | #region 宝石炫耀跳转
|