mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
General namespace tidy-up
This commit is contained in:
31
osu.Game.Tournament/Models/TournamentProgression.cs
Normal file
31
osu.Game.Tournament/Models/TournamentProgression.cs
Normal file
@ -0,0 +1,31 @@
|
||||
// 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.
|
||||
|
||||
namespace osu.Game.Tournament.Models
|
||||
{
|
||||
public class TournamentProgression
|
||||
{
|
||||
public int SourceID;
|
||||
public int TargetID;
|
||||
|
||||
// migration
|
||||
public int Item1
|
||||
{
|
||||
set => SourceID = value;
|
||||
}
|
||||
|
||||
public int Item2
|
||||
{
|
||||
set => TargetID = value;
|
||||
}
|
||||
|
||||
public bool Losers;
|
||||
|
||||
public TournamentProgression(int sourceID, int targetID, bool losers = false)
|
||||
{
|
||||
SourceID = sourceID;
|
||||
TargetID = targetID;
|
||||
Losers = losers;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user