Пример #1
0
        /**
         * - Documents
         * - AppData
         * - NMM
         * - Vortex
         */
        public ListPaths getOptionalPaths_AppBkp()
        {
            ListPaths optAppBkpPaths = new ListPaths();

            // if is optional, add
            if (this._isDocsOptional && !this.docsGameFolder.Trim().Equals(""))
            {
                //if (!this.docsBkp.Trim().Equals(""))
                //{
                optAppBkpPaths.addpath(this.docsBkp, PathsHelper.LABEL_DOCUMENTS);
                //}
            }
            if (this._isAppDataOptional && !this.appDataGameFolder.Trim().Equals(""))
            {
                //if (!this.appDataBkp.Trim().Equals(""))
                //{
                optAppBkpPaths.addpath(this.appDataBkp, PathsHelper.LABEL_APPDATA);
                //}
            }
            // if not empty, add
            if (!this.nmmBkp.Trim().Equals("") && !this.nmmGameFolder.Trim().Equals(""))
            {
                optAppBkpPaths.addpath(this.nmmBkp, PathsHelper.LABEL_NMM);
            }
            if (!this.vortexBkp.Trim().Equals("") && !this.vortexGameFolder.Trim().Equals(""))
            {
                optAppBkpPaths.addpath(this.vortexBkp, PathsHelper.LABEL_VORTEX);
            }

            return(optAppBkpPaths);
        }
Пример #2
0
        /**
         * - Mantatory
         * - Optional
         */
        public ListPaths getAllPaths_AppBkp()
        {
            ListPaths list = new ListPaths();

            list.addpath(this.getMandatoryPaths_AppBkp());
            list.addpath(this.getOptionalPaths_AppBkp());
            return(list);
        }
Пример #3
0
        /**
         * - Mandatory
         * - Optional
         */
        public ListPaths getAllPaths_BkpProf(string profileName)
        {
            ListPaths list = new ListPaths();

            list.addpath(this.getMandatoryPaths_BkpProf(profileName));
            list.addpath(this.getOptionalPaths_BkpProf(profileName));
            return(list);
        }
Пример #4
0
        public ListPaths getMandatoryPaths_AppGame()
        {
            ListPaths manAppPaths = new ListPaths();

            // always mandatory
            manAppPaths.addpath(this.steamGame, PathsHelper.LABEL_STEAM);
            // if not optional add
            if (!this._isDocsOptional)
            {
                manAppPaths.addpath(this.docsGame, PathsHelper.LABEL_DOCUMENTS);
            }
            if (!this._isAppDataOptional)
            {
                manAppPaths.addpath(this.appDataGame, PathsHelper.LABEL_APPDATA);
            }
            return(manAppPaths);
        }
Пример #5
0
        public ListPaths getMandatoryPaths_BkpProf(string profileName)
        {
            ListPaths manBkpPaths = new ListPaths();

            // always mandatory
            manBkpPaths.addpath(this.steamBkpProf(profileName), PathsHelper.LABEL_STEAM);
            // if not optional add
            if (!this._isDocsOptional)
            {
                manBkpPaths.addpath(this.docsBkpProf(profileName), PathsHelper.LABEL_DOCUMENTS);
            }
            if (!this._isAppDataOptional)
            {
                manBkpPaths.addpath(this.appDataBkpProf(profileName), PathsHelper.LABEL_APPDATA);
            }
            return(manBkpPaths);
        }