Esempio n. 1
0
        void ScanForLocalContentInternal()
        {
            var existingModFolders = GetExistingModFolders().ToArray();
            var newContent         = new RvContentScanner(this).ScanForNewContent(Dlcs.Select(x => x.PackageName).ToList(), existingModFolders).ToArray();
            var removedContent     = InstalledContent.OfType <IPackagedContent>()
                                     .Where(x => !ModExists(x, existingModFolders))
                                     .Cast <Content>();

            ProcessAddedAndRemovedContent(newContent, removedContent);
        }
Esempio n. 2
0
        void ScanForLocalContentInternal()
        {
            var existingModFolders = GetExistingModFolders().ToArray();
            var newContent         =
                new SteamGameContentScanner(this).ScanForNewContent(existingModFolders).ToArray();
            var removedContent = InstalledContent.OfType <IPackagedContent>()
                                 .Where(ContentExists)
                                 .Cast <Content>();

            ProcessAddedAndRemovedContent(newContent, removedContent);
        }