mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 23:37:26 +08:00
28 lines
980 B
C#
28 lines
980 B
C#
// 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;
|
|
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
using osu.Framework.Bindables;
|
|
|
|
namespace osu.Game.Tournament.Models
|
|
{
|
|
/// <summary>
|
|
/// Holds the complete data required to operate the tournament system.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class LadderInfo
|
|
{
|
|
public BindableList<TournamentMatch> Matches = new BindableList<TournamentMatch>();
|
|
public BindableList<TournamentRound> Rounds = new BindableList<TournamentRound>();
|
|
public BindableList<TournamentTeam> Teams = new BindableList<TournamentTeam>();
|
|
|
|
// only used for serialisation
|
|
public List<TournamentProgression> Progressions = new List<TournamentProgression>();
|
|
|
|
[JsonIgnore]
|
|
public Bindable<TournamentMatch> CurrentMatch = new Bindable<TournamentMatch>();
|
|
}
|
|
}
|