// 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 System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics.Containers; using osu.Game.Online.Multiplayer; using osu.Game.Users; namespace osu.Game.Screens.Multi { public class MultiplayerComposite : CompositeDrawable { [Resolved(typeof(Room))] protected Bindable RoomID { get; private set; } [Resolved(typeof(Room), nameof(Room.Name))] protected Bindable RoomName { get; private set; } [Resolved(typeof(Room))] protected Bindable Host { get; private set; } [Resolved(typeof(Room))] protected Bindable Status { get; private set; } [Resolved(typeof(Room))] protected Bindable Type { get; private set; } [Resolved(typeof(Room))] protected BindableList Playlist { get; private set; } [Resolved(typeof(Room))] protected Bindable CurrentItem { get; private set; } [Resolved(typeof(Room))] protected Bindable> Participants { get; private set; } [Resolved(typeof(Room))] protected Bindable ParticipantCount { get; private set; } [Resolved(typeof(Room))] protected Bindable MaxParticipants { get; private set; } [Resolved(typeof(Room))] protected Bindable EndDate { get; private set; } [Resolved(typeof(Room))] protected Bindable Availability { get; private set; } [Resolved(typeof(Room))] protected Bindable Duration { get; private set; } } }