mirror of https://github.com/ppy/osu
22 lines
658 B
C#
22 lines
658 B
C#
// 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.
|
|
|
|
using osu.Framework.Platform;
|
|
using osu.Game.Beatmaps;
|
|
using osu.Game.IO;
|
|
|
|
namespace osu.Game.Database
|
|
{
|
|
public class LegacyBeatmapImporter : LegacyModelImporter<BeatmapSetInfo>
|
|
{
|
|
protected override string ImportFromStablePath => ".";
|
|
|
|
protected override Storage PrepareStableStorage(StableStorage stableStorage) => stableStorage.GetSongStorage();
|
|
|
|
public LegacyBeatmapImporter(IModelImporter<BeatmapSetInfo> importer)
|
|
: base(importer)
|
|
{
|
|
}
|
|
}
|
|
}
|