// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace osu.Game.Tournament.Screens.Ladder.Components { public class BeatmapChoice { [JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)] public TeamColour Team; [JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)] public ChoiceType Type; public int BeatmapID; } [JsonConverter(typeof(StringEnumConverter))] public enum TeamColour { Red, Blue } [JsonConverter(typeof(StringEnumConverter))] public enum ChoiceType { Pick, Ban, } }