Bring API request structure up-to-date.

This commit is contained in:
Dean Herbert
2017-04-19 16:02:18 +09:00
parent 3eca32a380
commit 83fa143e17
4 changed files with 43 additions and 35 deletions

View File

@ -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;
}
}
}