mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Bring API request structure up-to-date.
This commit is contained in:
@ -13,11 +13,33 @@ namespace osu.Game.Users
|
||||
[JsonProperty(@"username")]
|
||||
public string Username;
|
||||
|
||||
//[JsonProperty(@"country")]
|
||||
[JsonIgnore]
|
||||
public Country Country;
|
||||
|
||||
public Team Team;
|
||||
//public Team Team;
|
||||
|
||||
[JsonProperty(@"colour")]
|
||||
public string Colour;
|
||||
|
||||
[JsonProperty(@"avatarUrl")]
|
||||
public string AvatarUrl;
|
||||
|
||||
[JsonProperty(@"cover")]
|
||||
public UserCover Cover;
|
||||
|
||||
public class UserCover
|
||||
{
|
||||
[JsonProperty(@"customUrl")]
|
||||
public string CustomUrl;
|
||||
|
||||
[JsonProperty(@"url")]
|
||||
public string Url;
|
||||
|
||||
[JsonProperty(@"id")]
|
||||
public int? Id;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user