// Copyright (c) 2007-2018 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE 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"; } }