Add friends list to API providers

This commit is contained in:
Salman Ahmed
2020-12-17 13:30:55 +03:00
parent 76ffe31855
commit 78ce6f1cd2
3 changed files with 25 additions and 2 deletions

View File

@ -15,6 +15,12 @@ namespace osu.Game.Online.API
/// </summary>
Bindable<User> LocalUser { get; }
/// <summary>
/// The user's friends.
/// This is not thread-safe and should be scheduled locally if consumed from a drawable component.
/// </summary>
BindableList<User> Friends { get; }
/// <summary>
/// The current user's activity.
/// This is not thread-safe and should be scheduled locally if consumed from a drawable component.