1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 22:33:05 +08:00

Update CountryStatistics to use code for country enum

This commit is contained in:
Salman Ahmed 2022-07-16 04:13:04 +03:00
parent 00f4c8052e
commit 1b2b42bb8a

View File

@ -9,11 +9,8 @@ namespace osu.Game.Users
{ {
public class CountryStatistics public class CountryStatistics
{ {
[JsonProperty]
public Country Country;
[JsonProperty(@"code")] [JsonProperty(@"code")]
public string FlagName; public Country Country;
[JsonProperty(@"active_users")] [JsonProperty(@"active_users")]
public long ActiveUsers; public long ActiveUsers;