mirror of
https://github.com/ppy/osu.git
synced 2024-12-25 15:32:56 +08:00
22 lines
598 B
C#
22 lines
598 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.
|
|
|
|
#nullable disable
|
|
|
|
using osu.Game.Scoring;
|
|
|
|
namespace osu.Game.Online.API.Requests
|
|
{
|
|
public class DownloadReplayRequest : ArchiveDownloadRequest<IScoreInfo>
|
|
{
|
|
public DownloadReplayRequest(IScoreInfo score)
|
|
: base(score)
|
|
{
|
|
}
|
|
|
|
protected override string FileExtension => ".osr";
|
|
|
|
protected override string Target => $@"scores/{Model.Ruleset.ShortName}/{Model.OnlineID}/download";
|
|
}
|
|
}
|