//检测队列里面 有没有人 如果有 人 就加入机器人在队列里面
        public static async void DetectionAiJoin(this MatchRoomComponent self)
        {
            while (true)
            {
                await Game.Scene.GetComponent <TimerComponent>().WaitAsync(3000);

                for (int i = 0; i < self.AllMatchRoomConfigs.Length; i++)
                {
                    if (self.mAllQueueDics[self.AllMatchRoomConfigs[i].MatchRoomId].Count > 0)
                    {
                        for (int j = self.mAllQueueDics[self.AllMatchRoomConfigs[i].MatchRoomId].Count; j < self.AllMatchRoomConfigs[i].GameNumber; j++)
                        {
                            //往这个匹配队列里面加入机器人
                            User aiUser = await AIUserFactory.Create(self.AllMatchRoomConfigs[i].BesansLowest);

                            self.mAllQueueDics[self.AllMatchRoomConfigs[i].MatchRoomId].Add(aiUser);
                        }
                        self.DetectionMatchCondition(self.AllMatchRoomConfigs[i].MatchRoomId);
                    }
                }
            }
        }