// 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; using osu.Game.Rulesets; namespace osu.Game.Tournament.Models { /// /// Holds the complete data required to operate the tournament system. /// [Serializable] public class LadderInfo { public Bindable Ruleset = new Bindable(); public BindableList Matches = new BindableList(); public BindableList Rounds = new BindableList(); public BindableList Teams = new BindableList(); // only used for serialisation public List Progressions = new List(); [JsonIgnore] // updated manually in TournamentGameBase public Bindable CurrentMatch = new Bindable(); public Bindable ChromaKeyWidth = new BindableInt(1024) { MinValue = 640, MaxValue = 1366, }; public Bindable PlayersPerTeam = new BindableInt(4) { MinValue = 3, MaxValue = 4, }; public Bindable AutoProgressScreens = new BindableBool(true); public Bindable SplitMapPoolByMods = new BindableBool(true); } }