2019-03-04 04:24:19 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-09-23 20:19:03 +00:00
|
|
|
|
2018-09-09 19:51:38 +00:00
|
|
|
using System.Collections.Generic;
|
2018-11-06 16:20:32 +00:00
|
|
|
using Newtonsoft.Json;
|
2019-03-02 04:40:43 +00:00
|
|
|
using osu.Framework.Bindables;
|
2018-09-24 18:14:30 +00:00
|
|
|
using osu.Game.Tournament.Components;
|
2018-11-06 16:20:32 +00:00
|
|
|
using osu.Game.Tournament.Screens.Ladder.Components;
|
2018-09-09 19:51:38 +00:00
|
|
|
|
2018-11-06 16:20:32 +00:00
|
|
|
namespace osu.Game.Tournament
|
2018-09-09 19:51:38 +00:00
|
|
|
{
|
|
|
|
public class LadderInfo
|
|
|
|
{
|
2019-06-14 10:16:20 +00:00
|
|
|
public BindableList<MatchPairing> Pairings = new BindableList<MatchPairing>();
|
2019-06-14 08:56:47 +00:00
|
|
|
public BindableList<TournamentGrouping> Groupings = new BindableList<TournamentGrouping>();
|
2019-06-14 10:16:20 +00:00
|
|
|
public BindableList<TournamentTeam> Teams = new BindableList<TournamentTeam>();
|
|
|
|
|
|
|
|
// only used for serialisation
|
|
|
|
public List<TournamentProgression> Progressions = new List<TournamentProgression>();
|
2018-11-06 16:20:32 +00:00
|
|
|
|
|
|
|
[JsonIgnore]
|
|
|
|
public Bindable<MatchPairing> CurrentMatch = new Bindable<MatchPairing>();
|
2018-09-09 19:51:38 +00:00
|
|
|
}
|
|
|
|
}
|