// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics.Containers; using osu.Game.Online.API.Requests.Responses; using osu.Game.Online.Multiplayer; using osu.Game.Online.Rooms; namespace osu.Game.Screens.OnlinePlay { /// /// A that exposes bindables for properties. /// public partial class OnlinePlayComposite : CompositeDrawable { [Resolved(typeof(Room))] protected Bindable Status { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable Type { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable PlaylistItemStats { get; private set; } = null!; [Resolved(typeof(Room))] protected BindableList Playlist { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable DifficultyRange { get; private set; } = null!; [Resolved(typeof(Room))] protected BindableList RecentParticipants { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable ParticipantCount { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable MaxParticipants { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable MaxAttempts { get; private set; } = null!; [Resolved(typeof(Room))] public Bindable UserScore { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable StartDate { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable EndDate { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable Availability { get; private set; } = null!; [Resolved(typeof(Room))] public Bindable Password { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable Duration { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable QueueMode { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable AutoStartDuration { get; private set; } = null!; [Resolved(typeof(Room))] protected Bindable AutoSkip { get; private set; } = null!; } }