Update naming

This commit is contained in:
Dean Herbert
2022-07-18 16:16:59 +09:00
parent eddf106f7c
commit 51f91fe62e
5 changed files with 10 additions and 10 deletions

View File

@ -16,14 +16,14 @@ namespace osu.Game.Models
public string Username { get; set; } = string.Empty;
[Ignored]
public Country Country
public CountryCode CountryCode
{
get => Enum.TryParse(CountryString, out Country country) ? country : default;
get => Enum.TryParse(CountryString, out CountryCode country) ? country : default;
set => CountryString = value.ToString();
}
[MapTo(nameof(Country))]
public string CountryString { get; set; } = default(Country).ToString();
[MapTo(nameof(CountryCode))]
public string CountryString { get; set; } = default(CountryCode).ToString();
public bool IsBot => false;