2018-04-13 17:19:50 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2018-08-26 00:24:19 +08:00
|
|
|
|
namespace osu.Game.Tournament.Components
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
2018-08-25 20:40:40 +08:00
|
|
|
|
public class TournamentTeam
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The name of this team.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FullName;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2018-08-25 20:40:40 +08:00
|
|
|
|
/// Name of the file containing the flag.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
/// </summary>
|
2018-08-25 20:40:40 +08:00
|
|
|
|
public string FlagName;
|
|
|
|
|
|
|
|
|
|
private string acronym;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2018-08-25 20:40:40 +08:00
|
|
|
|
/// Short acronym which appears in the group boxes post-selection.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
/// </summary>
|
2018-08-25 20:40:40 +08:00
|
|
|
|
public string Acronym
|
|
|
|
|
{
|
|
|
|
|
get { return acronym ?? FullName.Substring(0, 3); }
|
|
|
|
|
set { acronym = value; }
|
|
|
|
|
}
|
2018-04-13 17:19:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|