1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 16:10:48 +08:00
Files
osu-lazer/osu.Game/Online/API/ILocalUserState.cs
T
Bartłomiej Dach 5eda9a0fd7 Extract all pieces of local user-related state to APIAccess subcomponent
Something I've asked to be done for a long time. Relevant because I've
complained about this on every addition of a new piece of user-local
state: friends, blocks, and now favourite beatmaps.

It's just so messy managing all this inside `APIAccess` next to
everything else, IMO.
2025-10-23 10:53:58 +02:00

19 lines
515 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API
{
public interface ILocalUserState
{
IBindable<APIUser> User { get; }
IBindableList<APIRelation> Friends { get; }
IBindableList<APIRelation> Blocks { get; }
void UpdateFriends();
void UpdateBlocks();
}
}