mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Rename top user request to make way for new type
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
namespace osu.Game.Online.API.Requests
|
namespace osu.Game.Online.API.Requests
|
||||||
{
|
{
|
||||||
public class GetUsersRequest : APIRequest<GetUsersResponse>
|
public class GetTopUsersRequest : APIRequest<GetTopUsersResponse>
|
||||||
{
|
{
|
||||||
protected override string Target => @"rankings/osu/performance";
|
protected override string Target => @"rankings/osu/performance";
|
||||||
}
|
}
|
@ -7,7 +7,7 @@ using osu.Game.Users;
|
|||||||
|
|
||||||
namespace osu.Game.Online.API.Requests
|
namespace osu.Game.Online.API.Requests
|
||||||
{
|
{
|
||||||
public class GetUsersResponse : ResponseWithCursor
|
public class GetTopUsersResponse : ResponseWithCursor
|
||||||
{
|
{
|
||||||
[JsonProperty("ranking")]
|
[JsonProperty("ranking")]
|
||||||
public List<UserStatistics> Users;
|
public List<UserStatistics> Users;
|
@ -6,7 +6,7 @@ using osu.Game.Rulesets;
|
|||||||
|
|
||||||
namespace osu.Game.Online.API.Requests
|
namespace osu.Game.Online.API.Requests
|
||||||
{
|
{
|
||||||
public class GetUserRankingsRequest : GetRankingsRequest<GetUsersResponse>
|
public class GetUserRankingsRequest : GetRankingsRequest<GetTopUsersResponse>
|
||||||
{
|
{
|
||||||
public readonly UserRankingsType Type;
|
public readonly UserRankingsType Type;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user