Basic score submission implementation

This commit is contained in:
smoogipoo
2018-12-14 21:09:17 +09:00
parent e8007ac37f
commit 9726eea0d0
4 changed files with 125 additions and 4 deletions

View File

@ -64,6 +64,9 @@ namespace osu.Game.Online.Multiplayer
public class PlaylistItem
{
[JsonProperty("id")]
public int ID { get; set; }
[JsonProperty("beatmap")]
private APIBeatmap beatmap { get; set; }
@ -73,7 +76,7 @@ namespace osu.Game.Online.Multiplayer
public BeatmapInfo Beatmap { get; set; }
[JsonProperty("beatmap_id")]
public int BeatmapID => 847296; //Beatmap.OnlineBeatmapID ?? 0;
public int BeatmapID => Beatmap.OnlineBeatmapID ?? 0;
[JsonProperty("ruleset_id")]
public int RulesetID { get; set; }