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 MessagePack;
|
2022-09-01 17:53:35 +08:00
|
|
|
using Newtonsoft.Json;
|
2022-03-17 18:14:46 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Online.Multiplayer.Countdown
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Request to stop the current countdown.
|
|
|
|
/// </summary>
|
|
|
|
[MessagePackObject]
|
|
|
|
public class StopCountdownRequest : MatchUserRequest
|
|
|
|
{
|
2022-09-01 17:53:35 +08:00
|
|
|
[Key(0)]
|
|
|
|
public readonly int ID;
|
|
|
|
|
|
|
|
[JsonConstructor]
|
|
|
|
[SerializationConstructor]
|
|
|
|
public StopCountdownRequest(int id)
|
|
|
|
{
|
|
|
|
ID = id;
|
|
|
|
}
|
2022-03-17 18:14:46 +08:00
|
|
|
}
|
|
|
|
}
|