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); }
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); }