2021-11-25 07:56:19 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2021-11-25 06:36:12 +00:00
|
|
|
using osu.Framework.Platform;
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
using osu.Game.IO;
|
|
|
|
|
|
|
|
namespace osu.Game.Database
|
|
|
|
{
|
2021-11-25 07:33:04 +00:00
|
|
|
public class LegacyBeatmapImporter : LegacyModelImporter<BeatmapSetInfo>
|
2021-11-25 06:36:12 +00:00
|
|
|
{
|
|
|
|
protected override string ImportFromStablePath => ".";
|
|
|
|
|
|
|
|
protected override Storage PrepareStableStorage(StableStorage stableStorage) => stableStorage.GetSongStorage();
|
|
|
|
|
2021-11-25 06:39:05 +00:00
|
|
|
public LegacyBeatmapImporter(IModelImporter<BeatmapSetInfo> importer)
|
2021-11-25 06:36:12 +00:00
|
|
|
: base(importer)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
2021-11-25 06:39:05 +00:00
|
|
|
}
|