mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 19:27:52 +08:00
24 lines
652 B
C#
24 lines
652 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.Online.Rooms;
|
|
using osu.Game.Scoring;
|
|
|
|
namespace osu.Game.Online.Solo
|
|
{
|
|
public class SubmitSoloScoreRequest : SubmitScoreRequest
|
|
{
|
|
private readonly int beatmapId;
|
|
|
|
public SubmitSoloScoreRequest(ScoreInfo scoreInfo, long scoreId, int beatmapId)
|
|
: base(scoreInfo, scoreId)
|
|
{
|
|
this.beatmapId = beatmapId;
|
|
}
|
|
|
|
protected override string Target => $@"beatmaps/{beatmapId}/solo/scores/{ScoreId}";
|
|
}
|
|
}
|