2022-03-17 18:14:46 +08:00
|
|
|
// 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 System;
|
|
|
|
using MessagePack;
|
|
|
|
|
|
|
|
namespace osu.Game.Online.Multiplayer.Countdown
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// A request for a countdown to start the match.
|
|
|
|
/// </summary>
|
|
|
|
[MessagePackObject]
|
2022-03-18 20:05:19 +08:00
|
|
|
public class StartMatchCountdownRequest : MatchUserRequest
|
2022-03-17 18:14:46 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// How long the countdown should last.
|
|
|
|
/// </summary>
|
|
|
|
[Key(0)]
|
2022-03-23 14:21:16 +08:00
|
|
|
public TimeSpan Duration { get; set; }
|
2022-03-17 18:14:46 +08:00
|
|
|
}
|
|
|
|
}
|