using System.Text.Json.Serialization; namespace MultiversalDiplomacy.Model; /// /// The type of a unit. /// [JsonConverter(typeof(JsonStringEnumConverter))] public enum UnitType { /// /// A unit that moves on land. /// Army = 0, /// /// A unit that moves in oceans and along coasts and can convoy armies. /// Fleet = 1, }