osu/osu.Game.Tournament/LadderInfo.cs

25 lines
917 B
C#
Raw Normal View History

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.
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-11-06 16:20:32 +00:00
namespace osu.Game.Tournament
{
public class LadderInfo
{
public BindableList<MatchPairing> Pairings = new BindableList<MatchPairing>();
public BindableList<TournamentGrouping> Groupings = new BindableList<TournamentGrouping>();
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>();
}
}