mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
WIP
This commit is contained in:
@ -59,6 +59,9 @@ namespace osu.Game.Users
|
||||
[JsonProperty(@"is_supporter")]
|
||||
public bool IsSupporter;
|
||||
|
||||
[JsonProperty(@"support_level")]
|
||||
public int SupportLevel;
|
||||
|
||||
[JsonProperty(@"is_gmt")]
|
||||
public bool IsGMT;
|
||||
|
||||
@ -71,6 +74,9 @@ namespace osu.Game.Users
|
||||
[JsonProperty(@"is_active")]
|
||||
public bool Active;
|
||||
|
||||
[JsonProperty(@"pm_friends_only")]
|
||||
public bool PMFriendsOnly;
|
||||
|
||||
[JsonProperty(@"interests")]
|
||||
public string Interests;
|
||||
|
||||
@ -104,6 +110,9 @@ namespace osu.Game.Users
|
||||
[JsonProperty(@"post_count")]
|
||||
public int PostCount;
|
||||
|
||||
[JsonProperty(@"follower_count")]
|
||||
public int[] FollowerCount;
|
||||
|
||||
[JsonProperty(@"playstyle")]
|
||||
public string[] PlayStyle;
|
||||
|
||||
@ -143,6 +152,18 @@ namespace osu.Game.Users
|
||||
[JsonProperty("badges")]
|
||||
public Badge[] Badges;
|
||||
|
||||
[JsonProperty("user_achievements")]
|
||||
public UserAchievement[] Achievements;
|
||||
|
||||
public class UserAchievement
|
||||
{
|
||||
[JsonProperty("achieved_at")]
|
||||
public DateTimeOffset AchievedAt;
|
||||
|
||||
[JsonProperty("achievement_id")]
|
||||
public int ID;
|
||||
}
|
||||
|
||||
public override string ToString() => Username;
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user