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
|
|
|
|
|
|
|
namespace osu.Game.Tournament.Screens.Ladder.Components
|
|
|
|
{
|
|
|
|
public class TournamentProgression
|
|
|
|
{
|
2019-06-13 16:04:57 +08:00
|
|
|
public int SourceID;
|
|
|
|
public int TargetID;
|
|
|
|
|
|
|
|
// migration
|
|
|
|
public int Item1
|
|
|
|
{
|
|
|
|
set => SourceID = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int Item2
|
|
|
|
{
|
|
|
|
set => TargetID = value;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|