mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
add badges to ProfileHeader
This commit is contained in:
20
osu.Game/Users/Badge.cs
Normal file
20
osu.Game/Users/Badge.cs
Normal file
@ -0,0 +1,20 @@
|
||||
// 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 Newtonsoft.Json;
|
||||
|
||||
namespace osu.Game.Users
|
||||
{
|
||||
public class Badge
|
||||
{
|
||||
[JsonProperty("awarded_at")]
|
||||
public DateTimeOffset AwardedAt;
|
||||
|
||||
[JsonProperty("description")]
|
||||
public string Description;
|
||||
|
||||
[JsonProperty("image_url")]
|
||||
public string ImageUrl;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user