2021-07-26 16:38:08 +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;
|
2022-03-17 18:14:46 +08:00
|
|
|
using osu.Game.Online.Multiplayer.Countdown;
|
2021-07-26 16:38:08 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Online.Multiplayer
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// An event from the server to allow clients to update gameplay to an expected state.
|
|
|
|
/// </summary>
|
|
|
|
[Serializable]
|
|
|
|
[MessagePackObject]
|
2022-03-17 18:14:46 +08:00
|
|
|
// IMPORTANT: Add rules to SignalRUnionWorkaroundResolver for new derived types.
|
2022-09-01 17:53:35 +08:00
|
|
|
[Union(0, typeof(CountdownStartedEvent))]
|
|
|
|
[Union(1, typeof(CountdownStoppedEvent))]
|
2021-08-03 14:43:04 +08:00
|
|
|
public abstract class MatchServerEvent
|
2021-07-26 16:38:08 +08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|