2021-07-26 08:38:08 +00: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 10:14:46 +00:00
|
|
|
using osu.Game.Online.Multiplayer.Countdown;
|
2021-07-26 08:38:08 +00: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 10:14:46 +00:00
|
|
|
// IMPORTANT: Add rules to SignalRUnionWorkaroundResolver for new derived types.
|
2022-09-01 09:53:35 +00:00
|
|
|
[Union(0, typeof(CountdownStartedEvent))]
|
|
|
|
[Union(1, typeof(CountdownStoppedEvent))]
|
2021-08-03 06:43:04 +00:00
|
|
|
public abstract class MatchServerEvent
|
2021-07-26 08:38:08 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|