1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 16:25:32 +08:00
osu-lazer/osu.Game.Tournament/Models/TournamentProgression.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
712 B
C#
Raw Normal View History

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-25 01:31:48 +08:00
2019-06-18 14:00:33 +08:00
using System;
2019-06-18 13:51:48 +08:00
namespace osu.Game.Tournament.Models
2018-09-25 01:31:48 +08:00
{
2019-06-18 14:00:33 +08:00
/// <summary>
/// A mapping between two <see cref="TournamentMatch"/>es.
/// Used for serialisation exclusively.
/// </summary>
[Serializable]
2018-09-25 01:31:48 +08:00
public class TournamentProgression
{
2019-06-13 16:04:57 +08:00
public int SourceID;
public int TargetID;
2018-09-25 01:31:48 +08:00
public bool Losers;
2019-06-13 16:04:57 +08:00
public TournamentProgression(int sourceID, int targetID, bool losers = false)
2018-09-25 01:31:48 +08:00
{
2019-06-13 16:04:57 +08:00
SourceID = sourceID;
TargetID = targetID;
2018-09-25 01:31:48 +08:00
Losers = losers;
}
}
}