mirror of https://github.com/ppy/osu
Fix unused properties
This commit is contained in:
parent
dfaff3aaed
commit
830eda2a9f
|
@ -1,11 +1,14 @@
|
||||||
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
||||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Newtonsoft.Json;
|
||||||
using osu.Game.Users;
|
using osu.Game.Users;
|
||||||
|
|
||||||
namespace osu.Game.Tournament.Components
|
namespace osu.Game.Tournament.Components
|
||||||
{
|
{
|
||||||
|
[Serializable]
|
||||||
public class TournamentTeam
|
public class TournamentTeam
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -35,6 +38,7 @@ public string Acronym
|
||||||
set { acronym = value; }
|
set { acronym = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[JsonProperty]
|
||||||
public List<User> Players { get; set; }
|
public List<User> Players { get; set; }
|
||||||
|
|
||||||
public override string ToString() => FullName ?? Acronym;
|
public override string ToString() => FullName ?? Acronym;
|
||||||
|
|
|
@ -3,10 +3,12 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Newtonsoft.Json;
|
||||||
using osu.Framework.Configuration;
|
using osu.Framework.Configuration;
|
||||||
|
|
||||||
namespace osu.Game.Tournament.Screens.Ladder.Components
|
namespace osu.Game.Tournament.Screens.Ladder.Components
|
||||||
{
|
{
|
||||||
|
[Serializable]
|
||||||
public class TournamentGrouping
|
public class TournamentGrouping
|
||||||
{
|
{
|
||||||
public readonly Bindable<string> Name = new Bindable<string>();
|
public readonly Bindable<string> Name = new Bindable<string>();
|
||||||
|
@ -14,6 +16,7 @@ public class TournamentGrouping
|
||||||
|
|
||||||
public readonly BindableInt BestOf = new BindableInt(9) { Default = 9, MinValue = 3, MaxValue = 23 };
|
public readonly BindableInt BestOf = new BindableInt(9) { Default = 9, MinValue = 3, MaxValue = 23 };
|
||||||
|
|
||||||
|
[JsonProperty]
|
||||||
public readonly List<GroupingBeatmap> Beatmaps = new List<GroupingBeatmap>();
|
public readonly List<GroupingBeatmap> Beatmaps = new List<GroupingBeatmap>();
|
||||||
|
|
||||||
public readonly Bindable<DateTimeOffset> StartDate = new Bindable<DateTimeOffset>();
|
public readonly Bindable<DateTimeOffset> StartDate = new Bindable<DateTimeOffset>();
|
||||||
|
|
Loading…
Reference in New Issue