1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

Update SoloPlayer to derive SubmittingPlayer

This commit is contained in:
Dean Herbert 2021-03-23 15:35:06 +09:00
parent 12f050264a
commit 194b2d05d3
2 changed files with 15 additions and 2 deletions

View File

@ -1,9 +1,22 @@
// 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.
using osu.Game.Online.API;
using osu.Game.Online.Rooms;
using osu.Game.Scoring;
namespace osu.Game.Screens.Play
{
public class SoloPlayer : Player
public class SoloPlayer : SubmittingPlayer
{
public override APIRequest<MultiplayerScore> CreateSubmissionRequest(Score score, int token)
{
throw new System.NotImplementedException();
}
protected override APIRequest<APIScoreToken> CreateTokenRequestRequest()
{
throw new System.NotImplementedException();
}
}
}

View File

@ -23,7 +23,7 @@ namespace osu.Game.Screens.Play
[Resolved]
private IAPIProvider api { get; set; }
protected SubmittingPlayer(PlayerConfiguration configuration)
protected SubmittingPlayer(PlayerConfiguration configuration = null)
: base(configuration)
{
}