// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using Newtonsoft.Json; namespace osu.Game.Users { public class Country : IEquatable { /// /// The name of this country. /// [JsonProperty(@"name")] public string FullName; /// /// Two-letter flag acronym (ISO 3166 standard) /// [JsonProperty(@"code")] public string FlagName; public bool Equals(Country other) => FlagName == other.FlagName; } }