// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable enable using System; using MessagePack; using osu.Game.Online.Multiplayer.Countdown; namespace osu.Game.Online.Multiplayer { /// /// Describes the current countdown in a . /// [MessagePackObject] [Union(0, typeof(MatchStartCountdown))] // IMPORTANT: Add rules to SignalRUnionWorkaroundResolver for new derived types. public abstract class MultiplayerCountdown { /// /// The amount of time remaining in the countdown. /// /// /// This is only sent once from the server upon initial retrieval of the or via a . /// [Key(0)] public TimeSpan TimeRemaining { get; set; } } }