mirror of
https://github.com/ppy/osu
synced 2024-12-10 09:00:14 +00:00
16 lines
431 B
C#
16 lines
431 B
C#
using osu.Game.Scoring;
|
|
namespace osu.Game.Online.API.Requests
|
|
{
|
|
public class DownloadReplayRequest : ArchiveDownloadRequest<ScoreInfo>
|
|
{
|
|
public DownloadReplayRequest(ScoreInfo score)
|
|
: base(score)
|
|
{
|
|
}
|
|
|
|
protected override string FileExtension => ".osr";
|
|
|
|
protected override string Target => $@"scores/{Model.Ruleset.ShortName}/{Model.OnlineScoreID}/download";
|
|
}
|
|
}
|