mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:22:55 +08:00
Add featured artist track ID online info
This commit is contained in:
parent
2c6ee0ebf7
commit
7543f9dfb0
@ -90,6 +90,12 @@ namespace osu.Game.Beatmaps
|
||||
/// The song language of this beatmap set.
|
||||
/// </summary>
|
||||
public BeatmapSetOnlineLanguage Language { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The song ID of this beatmap set.
|
||||
/// Non-null only if the song is from a featured artist.
|
||||
/// </summary>
|
||||
public int? TrackId { get; set; }
|
||||
}
|
||||
|
||||
public class BeatmapSetOnlineGenre
|
||||
|
@ -63,6 +63,9 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
[JsonProperty(@"ratings")]
|
||||
private int[] ratings { get; set; }
|
||||
|
||||
[JsonProperty(@"track_id")]
|
||||
private int? trackId { get; set; }
|
||||
|
||||
[JsonProperty(@"user_id")]
|
||||
private int creatorId
|
||||
{
|
||||
@ -106,7 +109,8 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
Availability = availability,
|
||||
HasFavourited = hasFavourited,
|
||||
Genre = genre,
|
||||
Language = language
|
||||
Language = language,
|
||||
TrackId = trackId
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user