Пример #1
0
        // Public methods
        //---------------------------------

        public void UpdateStorefrontSubfolder(Constants.Storefront storefront, Constants.GameChoice gameChoice)
        {
            switch (gameChoice)
            {
            case Constants.GameChoice.FarCry5:
            {
                if (storefront == Constants.Storefront.Steam)
                {
                    storefrontSubFolder = Constants.GameIDs.FC5_STEAM_GAME_ID;
                }
                else
                {
                    storefrontSubFolder = Constants.GameIDs.FC5_UPLAY_GAME_ID;
                }
                break;
            }

            case Constants.GameChoice.FarCryNewDawn:
            {
                if (storefront == Constants.Storefront.Steam)
                {
                    storefrontSubFolder = Constants.GameIDs.FCND_STEAM_GAME_ID;
                }
                else
                {
                    storefrontSubFolder = Constants.GameIDs.FCND_UPLAY_GAME_ID;
                }
                break;
            }
            }
        }
Пример #2
0
 public void UpdateStorefront(Constants.Storefront storefront, Constants.GameChoice gameChoice)
 {
     saveFileSystemManager.UpdateStorefrontSubfolder(storefront, gameChoice);
 }