Fix unused properties

This commit is contained in:
Dean Herbert 2018-10-16 16:07:59 +09:00
parent dfaff3aaed
commit 830eda2a9f
2 changed files with 7 additions and 0 deletions

View File

@ -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 @@ public string Acronym
set { acronym = value; }
}
[JsonProperty]
public List<User> Players { get; set; }
public override string ToString() => FullName ?? Acronym;

View File

@ -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 @@ public class TournamentGrouping
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>();