query friends endpoint to fetch friendlist

This commit is contained in:
Aergwyn
2017-12-28 19:32:06 +01:00
parent 0fe78bee6e
commit 66f076815f
4 changed files with 53 additions and 21 deletions

View File

@ -0,0 +1,13 @@
// 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 osu.Game.Users;
namespace osu.Game.Online.API.Requests
{
public class GetFriendsRequest : APIRequest<List<User>>
{
protected override string Target => @"friends";
}
}