1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-25 21:02:59 +08:00
osu-lazer/osu.Game/Online/Solo/SubmitSoloScoreRequest.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
652 B
C#
Raw Normal View History

2021-03-23 13:44:06 +08:00
// 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.
2022-06-17 15:37:17 +08:00
#nullable disable
2021-03-23 13:44:06 +08:00
using osu.Game.Online.Rooms;
using osu.Game.Scoring;
namespace osu.Game.Online.Solo
{
public class SubmitSoloScoreRequest : SubmitScoreRequest
2021-03-23 13:44:06 +08:00
{
private readonly int beatmapId;
public SubmitSoloScoreRequest(ScoreInfo scoreInfo, long scoreId, int beatmapId)
: base(scoreInfo, scoreId)
2021-03-23 13:44:06 +08:00
{
this.beatmapId = beatmapId;
}
protected override string Target => $@"beatmaps/{beatmapId}/solo/scores/{ScoreId}";
2021-03-23 13:44:06 +08:00
}
}