mirror of
https://github.com/osukey/osukey.git
synced 2025-05-28 17:07:35 +09:00
Add history counts to user api
This commit is contained in:
parent
6c40f88dbe
commit
2d1afb66fb
@ -203,6 +203,21 @@ namespace osu.Game.Users
|
||||
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;
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
x
Reference in New Issue
Block a user