private static void UpdateFakeConfirm(int seq)
        {
            List <CFakePvPHelper.FakePlayerConfirm> list = CFakePvPHelper.SelectConfirmPlayer(CFakePvPHelper.CurrentSelectTime++);
            CUIFormScript form = Singleton <CUIManager> .GetInstance().GetForm(CMatchingSystem.PATH_MATCHING_CONFIRMBOX);

            if (form != null)
            {
                for (int i = 0; i < list.get_Count(); i++)
                {
                    CFakePvPHelper.FakePlayerConfirm fakePlayerConfirm = list.get_Item(i);
                    fakePlayerConfirm.bConfirmed = true;
                    CFakePvPHelper.ConfirmedFakePlayerNum++;
                    Singleton <CMatchingSystem> .GetInstance().confirmPlayerNum++;

                    CMatchingView.UpdateConfirmBox(form.gameObject, fakePlayerConfirm.FakePlayer.ullUid);
                    if (CFakePvPHelper.ConfirmedFakePlayerNum == CFakePvPHelper.FakePlayerList.get_Count())
                    {
                        Singleton <CTimerManager> .GetInstance().RemoveTimer(new CTimer.OnTimeUpHandler(CFakePvPHelper.UpdateFakeConfirm));
                    }
                    if (Singleton <CMatchingSystem> .GetInstance().confirmPlayerNum == Singleton <CMatchingSystem> .GetInstance().currentMapPlayerNum)
                    {
                        CFakePvPHelper.GotoHeroSelectPage();
                    }
                }
            }
        }
        public static void UpdateConfirmBox(GameObject root, int PlayerNum)
        {
            DebugHelper.Assert(CFakePvPHelper.FakePlayerList.get_Count() <= 5, string.Format("FakePlayerList Count Error!! Count: {0}", CFakePvPHelper.FakePlayerList.get_Count()));
            CFakePvPHelper.MapPlayerNum = PlayerNum;
            CFakePvPHelper.RealPlayerConfirmNum++;
            if (CFakePvPHelper.RealPlayerConfirmNum == PlayerNum / 2)
            {
                for (int i = 0; i < CFakePvPHelper.FakePlayerList.get_Count(); i++)
                {
                    CFakePvPHelper.FakePlayerConfirm fakePlayerConfirm = CFakePvPHelper.FakePlayerList.get_Item(i);
                    if (!fakePlayerConfirm.bConfirmed)
                    {
                        fakePlayerConfirm.bConfirmed = true;
                        CFakePvPHelper.FakePlayerConfirmNum++;
                        Singleton <CMatchingSystem> .GetInstance().confirmPlayerNum++;

                        CMatchingView.UpdateConfirmBox(root, fakePlayerConfirm.FakePlayer.ullUid);
                    }
                }
                Singleton <CTimerManager> .GetInstance().RemoveTimer(new CTimer.OnTimeUpHandler(CFakePvPHelper.FakeConfirmLater));
            }
            else
            {
                Singleton <CTimerManager> .GetInstance().AddTimer(1000, 1, new CTimer.OnTimeUpHandler(CFakePvPHelper.FakeConfirmLater));
            }
        }
        public static void SetConfirmFakeData()
        {
            CFakePvPHelper.RemoveAllFakeTimer();
            CFakePvPHelper.DatabinCheck();
            CFakePvPHelper.RealPlayerConfirmNum = 0;
            CFakePvPHelper.FakePlayerConfirmNum = 0;
            CFakePvPHelper.FakePlayerList.Clear();
            RoomInfo roomInfo = Singleton <CRoomSystem> .GetInstance().roomInfo;

            DebugHelper.Assert(roomInfo != null);
            DebugHelper.Assert(roomInfo.roomAttrib.bWarmBattle);
            for (COM_PLAYERCAMP cOM_PLAYERCAMP = 1; cOM_PLAYERCAMP < 3; cOM_PLAYERCAMP++)
            {
                ListView <MemberInfo> listView = roomInfo[cOM_PLAYERCAMP];
                for (int i = 0; i < listView.get_Count(); i++)
                {
                    MemberInfo memberInfo = listView.get_Item(i);
                    if (memberInfo.RoomMemberType == 2u)
                    {
                        CFakePvPHelper.FakePlayerConfirm fakePlayerConfirm = new CFakePvPHelper.FakePlayerConfirm();
                        fakePlayerConfirm.FakePlayer      = memberInfo.WarmNpc;
                        fakePlayerConfirm.confirmWaitTime = Random.Range(2, 11);
                        CFakePvPHelper.FakePlayerList.Add(fakePlayerConfirm);
                    }
                }
            }
        }
        private static void FakeConfirmLater(int seq)
        {
            if (CFakePvPHelper.FakePlayerConfirmNum < CFakePvPHelper.MapPlayerNum / 2)
            {
                int[] array = (CFakePvPHelper.MapPlayerNum != 6) ? CFakePvPHelper.FAKE_CONFIRM_MAP_5V5 : CFakePvPHelper.FAKE_CONFIRM_MAP_3V3;
                CFakePvPHelper.FakePlayerConfirm fakePlayerConfirm = CFakePvPHelper.FakePlayerList.get_Item(array[CFakePvPHelper.FakePlayerConfirmNum]);
                fakePlayerConfirm.bConfirmed = true;
                CFakePvPHelper.FakePlayerConfirmNum++;
                Singleton <CMatchingSystem> .GetInstance().confirmPlayerNum++;

                CUIFormScript form = Singleton <CUIManager> .GetInstance().GetForm(CMatchingSystem.PATH_MATCHING_CONFIRMBOX);

                if (form != null)
                {
                    CMatchingView.UpdateConfirmBox(form.gameObject, fakePlayerConfirm.FakePlayer.ullUid);
                }
            }
        }