// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Configuration; using osu.Game.Users; namespace osu.Game.Online.API { public interface IAPIProvider { /// /// The local user. /// Bindable LocalUser { get; } /// /// Returns whether the local user is logged in. /// bool IsLoggedIn { get; } /// /// Queue a new request. /// /// The request to perform. void Queue(APIRequest request); /// /// Register a component to receive state changes. /// /// The component to register. void Register(IOnlineComponent component); } }