1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 15:17:44 +08:00
osu-lazer/osu.Game/Users/Badge.cs

29 lines
631 B
C#
Raw Normal View History

// 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.
2018-04-16 05:44:59 +08:00
2022-06-17 15:37:17 +08:00
#nullable disable
2018-04-16 05:44:59 +08:00
using System;
using Newtonsoft.Json;
namespace osu.Game.Users
{
public class Badge
{
[JsonProperty("awarded_at")]
public DateTimeOffset AwardedAt;
[JsonProperty("description")]
public string Description;
2023-09-07 07:17:53 +08:00
[JsonProperty("image@2x_url")]
2018-04-16 05:44:59 +08:00
public string ImageUrl;
2023-09-07 07:17:53 +08:00
[JsonProperty("image_url")]
public string ImageUrlLowRes;
[JsonProperty("url")]
public string Url;
2018-04-16 05:44:59 +08:00
}
}