1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-29 04:49:58 +08:00

Merge branch 'master' into ssv2-localisation

This commit is contained in:
Denis Titovets
2025-06-21 18:29:58 +03:00
committed by GitHub
Unverified
@@ -80,11 +80,22 @@ namespace osu.Game.Online.API.Requests.Responses
[JsonProperty("artist_unicode")]
public string ArtistUnicode { get; set; } = string.Empty;
/// <summary>
/// The creator of this beatmap set.
/// </summary>
/// <remarks>
/// This is not included when the set is retrieved via <see cref="SearchBeatmapSetsRequest"/>,
/// but the creator's ID and username will be filled in this property from the <see cref="AuthorID"/> and <see cref="AuthorString"/> properties.
/// </remarks>
[JsonProperty(@"user")]
public APIUser Author = new APIUser();
/// <summary>
/// Helper property to deserialize a username to <see cref="APIUser"/>.
/// The ID of the beatmap set's creator.
/// </summary>
/// <remarks>
/// Helper property to deserialize the ID to <see cref="Author"/>.
/// </remarks>
[JsonProperty(@"user_id")]
public int AuthorID
{
@@ -93,8 +104,11 @@ namespace osu.Game.Online.API.Requests.Responses
}
/// <summary>
/// Helper property to deserialize a username to <see cref="APIUser"/>.
/// The username of the beatmap set's creator.
/// </summary>
/// <remarks>
/// Helper property to deserialize the username to <see cref="Author"/>.
/// </remarks>
[JsonProperty(@"creator")]
public string AuthorString
{