2019-03-04 12:24:19 +08: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-24 04:19:03 +08:00
|
|
|
|
2018-09-10 03:51:38 +08:00
|
|
|
using System.Collections.Generic;
|
2018-11-07 00:20:32 +08:00
|
|
|
using Newtonsoft.Json;
|
2019-03-02 12:40:43 +08:00
|
|
|
using osu.Framework.Bindables;
|
2018-09-25 02:14:30 +08:00
|
|
|
using osu.Game.Tournament.Components;
|
2018-11-07 00:20:32 +08:00
|
|
|
using osu.Game.Tournament.Screens.Ladder.Components;
|
2018-09-10 03:51:38 +08:00
|
|
|
|
2018-11-07 00:20:32 +08:00
|
|
|
namespace osu.Game.Tournament
|
2018-09-10 03:51:38 +08:00
|
|
|
{
|
|
|
|
public class LadderInfo
|
|
|
|
{
|
2019-06-14 18:16:20 +08:00
|
|
|
public BindableList<MatchPairing> Pairings = new BindableList<MatchPairing>();
|
2019-06-14 16:56:47 +08:00
|
|
|
public BindableList<TournamentGrouping> Groupings = new BindableList<TournamentGrouping>();
|
2019-06-14 18:16:20 +08:00
|
|
|
public BindableList<TournamentTeam> Teams = new BindableList<TournamentTeam>();
|
|
|
|
|
|
|
|
// only used for serialisation
|
|
|
|
public List<TournamentProgression> Progressions = new List<TournamentProgression>();
|
2018-11-07 00:20:32 +08:00
|
|
|
|
|
|
|
[JsonIgnore]
|
|
|
|
public Bindable<MatchPairing> CurrentMatch = new Bindable<MatchPairing>();
|
2018-09-10 03:51:38 +08:00
|
|
|
}
|
|
|
|
}
|