Rename top user request to make way for new type

This commit is contained in:
Dean Herbert
2020-11-06 12:42:45 +09:00
parent f51cb0dd14
commit aa252d562a
3 changed files with 3 additions and 3 deletions

View File

@ -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";
} }

View File

@ -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;

View File

@ -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;