mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 04:13:11 +08:00
Mark current nominations and related users as nullable
This commit is contained in:
parent
0f6735564e
commit
9d32fde592
@ -112,10 +112,10 @@ namespace osu.Game.Online.API.Requests.Responses
|
|||||||
public BeatmapSetOnlineLanguage Language { get; set; }
|
public BeatmapSetOnlineLanguage Language { get; set; }
|
||||||
|
|
||||||
[JsonProperty(@"current_nominations")]
|
[JsonProperty(@"current_nominations")]
|
||||||
public BeatmapSetOnlineNomination[] CurrentNominations { get; set; } = Array.Empty<BeatmapSetOnlineNomination>();
|
public BeatmapSetOnlineNomination[]? CurrentNominations { get; set; }
|
||||||
|
|
||||||
[JsonProperty(@"related_users")]
|
[JsonProperty(@"related_users")]
|
||||||
public APIUser[] RelatedUsers { get; set; } = Array.Empty<APIUser>();
|
public APIUser[]? RelatedUsers { get; set; }
|
||||||
|
|
||||||
public string Source { get; set; } = string.Empty;
|
public string Source { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user