mirror of
https://github.com/SK-la/Ez2Lazer.git
synced 2026-03-13 11:20:28 +00:00
Part of #32584. Very much inspired by the respective component for displaying profile pictures on the user overlay * allow disabling interactivity/tooltips * add option to show placeholder on null team instead of hiding component entirely * move setting corner radius out to respective parent components to allow for easier overriding
24 lines
654 B
C#
24 lines
654 B
C#
// 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.
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
namespace osu.Game.Online.API.Requests.Responses
|
|
{
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
public class APITeam
|
|
{
|
|
[JsonProperty(@"id")]
|
|
public int Id { get; set; } = 1;
|
|
|
|
[JsonProperty(@"name")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[JsonProperty(@"short_name")]
|
|
public string ShortName { get; set; } = string.Empty;
|
|
|
|
[JsonProperty(@"flag_url")]
|
|
public string? FlagUrl = string.Empty;
|
|
}
|
|
}
|