2023-06-23 00:37:25 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
2021-03-23 13:44:06 +08:00
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
|
|
using osu.Game.Online.Rooms;
|
|
|
|
|
using osu.Game.Scoring;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Online.Solo
|
|
|
|
|
{
|
2022-02-11 14:53:45 +08:00
|
|
|
|
public class SubmitSoloScoreRequest : SubmitScoreRequest
|
2021-03-23 13:44:06 +08:00
|
|
|
|
{
|
|
|
|
|
private readonly int beatmapId;
|
|
|
|
|
|
2022-02-11 14:53:45 +08:00
|
|
|
|
public SubmitSoloScoreRequest(ScoreInfo scoreInfo, long scoreId, int beatmapId)
|
|
|
|
|
: base(scoreInfo, scoreId)
|
2021-03-23 13:44:06 +08:00
|
|
|
|
{
|
|
|
|
|
this.beatmapId = beatmapId;
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-11 14:53:45 +08:00
|
|
|
|
protected override string Target => $@"beatmaps/{beatmapId}/solo/scores/{ScoreId}";
|
2021-03-23 13:44:06 +08:00
|
|
|
|
}
|
|
|
|
|
}
|