Merge branch 'master' into sorted-hitresults

This commit is contained in:
Dean Herbert 2020-02-08 11:19:18 +09:00 committed by GitHub
commit 7c89e93da5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,6 +203,21 @@ namespace osu.Game.Users
public int ID; public int ID;
} }
[JsonProperty("monthly_playcounts")]
public UserHistoryCount[] MonthlyPlaycounts;
[JsonProperty("replays_watched_counts")]
public UserHistoryCount[] ReplaysWatchedCounts;
public class UserHistoryCount
{
[JsonProperty("start_date")]
public DateTime Date;
[JsonProperty("count")]
public long Count;
}
public override string ToString() => Username; public override string ToString() => Username;
/// <summary> /// <summary>