1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 19:44:22 +08:00
Files
osu-lazer/osu.Game/Online/API/Requests/Responses/APIUserMatchmakingStatistics.cs
T
Dan Balasescu 93b7c3324d Add matchmaking profile badge (#37241)
Using the same styling as osu!web + daily challenge.

<img width="1920" height="1034" alt="Screenshot_20260409-164600"
src="https://github.com/user-attachments/assets/97e2270e-af9f-478d-b2d6-c9fb8be16720"
/>

---------

Co-authored-by: Dean Herbert <pe@ppy.sh>
2026-04-09 19:25:21 +09:00

38 lines
1.0 KiB
C#

// 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.
using Newtonsoft.Json;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIUserMatchmakingStatistics
{
[JsonProperty("user_id")]
public int UserId;
[JsonProperty("pool_id")]
public int PoolId { get; set; }
[JsonProperty("rating")]
public int Rating { get; set; }
[JsonProperty("rank")]
public int Rank { get; set; }
[JsonProperty("plays")]
public int Plays { get; set; }
[JsonProperty("total_points")]
public int TotalPoints { get; set; }
[JsonProperty("first_placements")]
public int FirstPlacements { get; set; }
[JsonProperty("is_rating_provisional")]
public bool IsRatingProvisional { get; set; }
[JsonProperty("pool")]
public APIMatchmakingPool Pool { get; set; } = new APIMatchmakingPool();
}
}