mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Move responsibility for selecting paths to model managers
This commit is contained in:
@ -62,8 +62,6 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
protected override string ImportFromStablePath => "Songs";
|
||||
|
||||
protected override bool StableDirectoryBased => true;
|
||||
|
||||
private readonly RulesetStore rulesets;
|
||||
|
||||
private readonly BeatmapStore beatmaps;
|
||||
@ -96,6 +94,8 @@ namespace osu.Game.Beatmaps
|
||||
updateQueue = new BeatmapUpdateQueue(api);
|
||||
}
|
||||
|
||||
protected override IEnumerable<string> GetStableImportPaths() => GetStableStorage().GetDirectories(ImportFromStablePath);
|
||||
|
||||
protected override Task Populate(BeatmapSetInfo beatmapSet, ArchiveReader archive, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (archive != null)
|
||||
|
Reference in New Issue
Block a user