mirror of
https://github.com/ppy/osu.git
synced 2024-11-09 10:17:24 +08:00
24 lines
645 B
C#
24 lines
645 B
C#
// 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 Newtonsoft.Json;
|
|
using osu.Game.Beatmaps;
|
|
using osu.Game.Online.API.Requests.Responses;
|
|
using osu.Game.Rulesets;
|
|
|
|
namespace osu.Game.Online.Multiplayer
|
|
{
|
|
public class APIPlaylistBeatmap : APIBeatmap
|
|
{
|
|
[JsonProperty("checksum")]
|
|
public string Checksum { get; set; }
|
|
|
|
public override BeatmapInfo ToBeatmap(RulesetStore rulesets)
|
|
{
|
|
var b = base.ToBeatmap(rulesets);
|
|
b.MD5Hash = Checksum;
|
|
return b;
|
|
}
|
|
}
|
|
}
|