예제 #1
0
 public void SetLoadData(bool bCheckItemUse, bool bCheckFastBattle, MsgBoxAutoSellUI.eMODE eLoadedMode)
 {
     this.m_bCheckItemUser   = bCheckItemUse;
     this.m_bCheckFastBattle = bCheckFastBattle;
     this.m_eMode            = eLoadedMode;
     this.Show();
 }
예제 #2
0
    public void OnClickSave(IUIObject obj)
    {
        PlayerPrefs.SetInt(NrPrefsKey.AUTOSELLGRADE, this.m_iAutoSell_Grade);
        PlayerPrefs.SetInt(NrPrefsKey.AUTOSELLRANK, this.m_iAutoSell_Rank);
        MsgBoxAutoSellUI.eMODE eMode = this.m_eMode;
        if (eMode != MsgBoxAutoSellUI.eMODE.BABEL_TOWER)
        {
            if (eMode == MsgBoxAutoSellUI.eMODE.NEWEXPLORATION)
            {
                NrTSingleton <NewExplorationManager> .Instance.SetAutoBattle(true, this.m_bCheckItemUser, this.m_bCheckFastBattle);

                NrTSingleton <NewExplorationManager> .Instance.SetAutoBatch();

                if (!NrTSingleton <NewExplorationManager> .Instance.Send_GS_NEWEXPLORATION_START_REQ())
                {
                    Main_UI_SystemMessage.ADDMessage(NrTSingleton <NrTextMgr> .Instance.GetTextFromNotify("889"), SYSTEM_MESSAGE_TYPE.IMPORTANT_MESSAGE);
                }
            }
        }
        else
        {
            NrTSingleton <NkBabelMacroManager> .Instance.Start(this.m_bCheckItemUser, this.m_bCheckFastBattle);
        }
        this.Close();
    }