mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 15:12:57 +08:00
22 lines
787 B
C#
22 lines
787 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.Database;
|
|
using osu.Game.Online.API;
|
|
using osu.Game.Online.API.Requests;
|
|
|
|
namespace osu.Game.Beatmaps
|
|
{
|
|
public class BeatmapModelDownloader : ModelDownloader<BeatmapSetInfo>
|
|
{
|
|
protected override ArchiveDownloadRequest<BeatmapSetInfo> CreateDownloadRequest(BeatmapSetInfo set, bool minimiseDownloadSize) =>
|
|
new DownloadBeatmapSetRequest(set, minimiseDownloadSize);
|
|
|
|
public BeatmapModelDownloader(IBeatmapModelManager beatmapModelManager, IAPIProvider api, GameHost host = null)
|
|
: base(beatmapModelManager, api, host)
|
|
{
|
|
}
|
|
}
|
|
}
|