Add very temporary data source for social browser

This commit is contained in:
Dean Herbert
2017-06-07 20:05:43 +09:00
parent 1de296747f
commit 6a12173175
3 changed files with 69 additions and 7 deletions

View File

@ -0,0 +1,24 @@
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using Newtonsoft.Json;
using osu.Game.Users;
namespace osu.Game.Online.API.Requests
{
public class GetUsersRequest : APIRequest<List<RankingEntry>>
{
public GetUsersRequest()
{
}
protected override string Target => $@"rankings/osu/performance";
}
public class RankingEntry
{
[JsonProperty]
public User User;
}
}