1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 05:59:53 +08:00

Move Country to end of class

This commit is contained in:
Salman Ahmed
2022-07-18 08:43:41 +03:00
Unverified
parent ef6e16b1cb
commit 05d692bd55
@@ -46,12 +46,6 @@ namespace osu.Game.Online.API.Requests.Responses
[CanBeNull]
[JsonProperty(@"country")]
private Country country;
private class Country
{
[JsonProperty(@"code")]
public string Code;
}
#pragma warning restore 649
public readonly Bindable<UserStatus> Status = new Bindable<UserStatus>();
@@ -273,5 +267,13 @@ namespace osu.Game.Online.API.Requests.Responses
public int OnlineID => Id;
public bool Equals(APIUser other) => this.MatchesOnlineID(other);
#pragma warning disable 649
private class Country
{
[JsonProperty(@"code")]
public string Code;
}
#pragma warning restore 649
}
}