1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 04:07:25 +08:00

Merge pull request #2039 from peppy/api-updates

Update user object to match new standardised api
This commit is contained in:
Dean Herbert 2018-02-08 18:15:47 +09:00 committed by GitHub
commit a636d1207a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,19 +56,19 @@ namespace osu.Game.Users
public int? Id;
}
[JsonProperty(@"isAdmin")]
[JsonProperty(@"is_admin")]
public bool IsAdmin;
[JsonProperty(@"isSupporter")]
[JsonProperty(@"is_supporter")]
public bool IsSupporter;
[JsonProperty(@"isGMT")]
[JsonProperty(@"is_gmt")]
public bool IsGMT;
[JsonProperty(@"isQAT")]
[JsonProperty(@"is_qat")]
public bool IsQAT;
[JsonProperty(@"isBNG")]
[JsonProperty(@"is_bng")]
public bool IsBNG;
[JsonProperty(@"is_active")]
@ -107,7 +107,7 @@ namespace osu.Game.Users
[JsonProperty(@"playmode")]
public string PlayMode;
[JsonProperty(@"profileOrder")]
[JsonProperty(@"profile_order")]
public string[] ProfileOrder;
[JsonProperty(@"kudosu")]