mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
Update SoloPlayer to derive SubmittingPlayer
This commit is contained in:
parent
12f050264a
commit
194b2d05d3
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user