mirror of https://github.com/ppy/osu
Rename top user request to make way for new type
This commit is contained in:
parent
f51cb0dd14
commit
aa252d562a
|
@ -3,7 +3,7 @@
|
|||
|
||||
namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetUsersRequest : APIRequest<GetUsersResponse>
|
||||
public class GetTopUsersRequest : APIRequest<GetTopUsersResponse>
|
||||
{
|
||||
protected override string Target => @"rankings/osu/performance";
|
||||
}
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetUsersResponse : ResponseWithCursor
|
||||
public class GetTopUsersResponse : ResponseWithCursor
|
||||
{
|
||||
[JsonProperty("ranking")]
|
||||
public List<UserStatistics> Users;
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetUserRankingsRequest : GetRankingsRequest<GetUsersResponse>
|
||||
public class GetUserRankingsRequest : GetRankingsRequest<GetTopUsersResponse>
|
||||
{
|
||||
public readonly UserRankingsType Type;
|
||||
|
||||
|
|
Loading…
Reference in New Issue