public void ButtonClick_CompleteCombinationBatch(IUIObject obj)
        {
            SolCombinationInfo_Data solCombinationInfo_Data = (SolCombinationInfo_Data)obj.Data;

            if (solCombinationInfo_Data == null)
            {
                Debug.LogError("ERROR, BatchButtonMaker.cs, ButtonClick_CompleteCombinationBatch(), combinationData is Null");
                return;
            }
            int combinationSolCount = solCombinationInfo_Data.GetCombinationSolCount();
            int maxBatchCount       = SoldierBatch_AutoBatchTool.GetMaxBatchCount();

            if (maxBatchCount < combinationSolCount)
            {
                Main_UI_SystemMessage.ADDMessage(NrTSingleton <NrTextMgr> .Instance.GetTextFromNotify("416"), SYSTEM_MESSAGE_TYPE.NAGATIVE_MESSAGE);
                return;
            }
            MsgBoxUI msgBoxUI = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.MSGBOX_DLG) as MsgBoxUI;

            string textFromMessageBox = NrTSingleton <NrTextMgr> .Instance.GetTextFromMessageBox("287");

            string textFromMessageBox2 = NrTSingleton <NrTextMgr> .Instance.GetTextFromMessageBox("288");

            msgBoxUI.SetMsg(new YesDelegate(this.YesClick_CompleteCombination), solCombinationInfo_Data, textFromMessageBox, textFromMessageBox2, eMsgType.MB_OK_CANCEL, 2);
        }
    public static void AutoBatch()
    {
        clTempBattlePos[] autoBatchPos = SoldierBatch_SolList.GetAutoBatchPos(SoldierBatch_AutoBatchTool.GetMaxBatchCount(), SoldierBatch.SOLDIER_BATCH_MODE, null);
        if (autoBatchPos == null)
        {
            return;
        }
        Queue <long> queue = new Queue <long>();

        for (int i = 0; i < autoBatchPos.Length; i++)
        {
            queue.Enqueue(autoBatchPos[i].m_nSolID);
        }
        SoldierBatch_AutoBatchTool.BatchSoldiers(queue);
    }