IEnumerator _ClearAllStage()
    {
        List <DungeonTable.StageInfo> stageList = _LowDataMgr.instance.GetStageInfoList();

        CheatStageState = ClearStageState.InGame;
        IsStayProtocol  = false;

        int count = 0;

        while (true)
        {
            yield return(new WaitForSeconds(0.1f));

            if (IsStayProtocol)
            {
                continue;
            }

            if (CheatStageState == ClearStageState.InGame)
            {
                IsStayProtocol = true;
                NetworkClient.instance.SendPMsgStageStartC((int)stageList[count].StageId);
            }
            else if (CheatStageState == ClearStageState.Complete)
            {
                //yield return new WaitForSeconds(5);
                IsStayProtocol = true;
                int[] clearStar = new int[] {
                    1, 1, 1
                };
                NetworkClient.instance.SendPMsgStageCompleteC((int)stageList[count].StageId, 1, clearStar);

                ++count;
            }
            //else if(CheatStageState == ClearStageState.SelectFlop)
            //{
            //    IsStayProtocol = true;
            //    //NetworkClient.instance.SendPMsgStageFlopC((uint)startStageId[count], false, 1);
            //    ++count;
            //}

            if (stageList.Count <= count)
            {
                break;
            }
        }

        UIMgr.instance.AddPopup("알림", "스테이지 클리어 치트키 끝", "확인", null, null, delegate() {
            base.Close();
        });
    }
    IEnumerator QuestClear()
    {
        CheatStageState = ClearStageState.Complete;
        IsStayProtocol  = false;

        Quest.QuestInfo curInfo = QuestManager.instance.GetCurrentQuest();
        Dictionary <uint, Quest.QuestInfo> dic = _LowDataMgr.instance.GetQuestData().QuestInfoDic;
        var data = dic.GetEnumerator();

        while (true)
        {
            yield return(new WaitForSeconds(0.1f));

            if (IsStayProtocol)
            {
                continue;
            }

            if (CheatStageState == ClearStageState.Complete)
            {
                if (!data.MoveNext())
                {
                    break;
                }
                else
                {
                    IsStayProtocol = true;
                    NetworkClient.instance.SendPMsgTaskCompleteC(data.Current.Key);
                    yield return(new WaitForSeconds(0.5f));
                }
            }
        }

        UIMgr.instance.AddPopup("알림", "스테이지 클리어 치트키 끝", "확인", null, null, delegate() {
            base.Close();
        });
    }