internal void AllocLobbyRoom(ulong[] users, int type) { int roomId = m_LobbyInfo.CreateAutoRoom(users, type); long time = TimeUtility.GetServerMilliseconds(); DataProcessScheduler dataProcess = LobbyServer.Instance.DataProcessScheduler; JsonMessageWithGuid matchResultMsg = new JsonMessageWithGuid(JsonMessageID.MatchResult); foreach (ulong user in users) { UserInfo info = dataProcess.GetUserInfo(user); if (info != null) { info.LastNotifyMatchTime = time; matchResultMsg.m_Guid = user; ArkCrossEngineMessage.Msg_LC_MatchResult protoData = new ArkCrossEngineMessage.Msg_LC_MatchResult(); protoData.m_Result = (int)TeamOperateResult.OR_Succeed; matchResultMsg.m_ProtoData = protoData; JsonMessageDispatcher.SendDcoreMessage(info.NodeName, matchResultMsg); /// dataProcess.RecordCampaignAction(user, type); } } LogSys.Log(LOG_TYPE.DEBUG, "Alloc lobby room for {0} users, roomid {1} scene {2}", users.Length, roomId, type); }