// 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 System.Collections.Generic; using Newtonsoft.Json; using osu.Framework.Bindables; namespace osu.Game.Tournament.Screens.Ladder.Components { [Serializable] public class TournamentGrouping { public readonly Bindable Name = new Bindable(); public readonly Bindable Description = new Bindable(); public readonly BindableInt BestOf = new BindableInt(9) { Default = 9, MinValue = 3, MaxValue = 23 }; [JsonProperty] public readonly List Beatmaps = new List(); public readonly Bindable StartDate = new Bindable(); public List Pairings = new List(); public override string ToString() => Name.Value ?? "None"; } }