mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
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>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using osu.Game.Users;
|
||||
|
||||
namespace osu.Game.Tournament.Components
|
||||
{
|
||||
[Serializable]
|
||||
public class TournamentTeam
|
||||
{
|
||||
/// <summary>
|
||||
@ -35,6 +38,7 @@ namespace osu.Game.Tournament.Components
|
||||
set { acronym = value; }
|
||||
}
|
||||
|
||||
[JsonProperty]
|
||||
public List<User> Players { get; set; }
|
||||
|
||||
public override string ToString() => FullName ?? Acronym;
|
||||
|
@ -3,10 +3,12 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using osu.Framework.Configuration;
|
||||
|
||||
namespace osu.Game.Tournament.Screens.Ladder.Components
|
||||
{
|
||||
[Serializable]
|
||||
public class TournamentGrouping
|
||||
{
|
||||
public readonly Bindable<string> Name = new Bindable<string>();
|
||||
@ -14,6 +16,7 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
|
||||
|
||||
public readonly BindableInt BestOf = new BindableInt(9) { Default = 9, MinValue = 3, MaxValue = 23 };
|
||||
|
||||
[JsonProperty]
|
||||
public readonly List<GroupingBeatmap> Beatmaps = new List<GroupingBeatmap>();
|
||||
|
||||
public readonly Bindable<DateTimeOffset> StartDate = new Bindable<DateTimeOffset>();
|
||||
|
Loading…
Reference in New Issue
Block a user