1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:47:24 +08:00
osu-lazer/osu.Game.Tournament/Screens/Ladder/Components/TournamentProgression.cs

32 lines
737 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
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;
}
}
}