2021-07-21 09:59:02 +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;
|
2021-08-03 06:43:04 +00:00
|
|
|
using osu.Game.Online.Multiplayer.MatchTypes.TeamVersus;
|
2021-07-21 09:59:02 +00:00
|
|
|
|
2021-07-27 09:55:04 +00:00
|
|
|
#nullable enable
|
|
|
|
|
2021-07-21 09:59:02 +00:00
|
|
|
namespace osu.Game.Online.Multiplayer
|
|
|
|
{
|
|
|
|
/// <summary>
|
2021-08-03 06:43:04 +00:00
|
|
|
/// User specific state for the current match type.
|
2021-07-21 09:59:02 +00:00
|
|
|
/// Can be used to contain any state which should be used before or during match gameplay.
|
|
|
|
/// </summary>
|
|
|
|
[Serializable]
|
|
|
|
[MessagePackObject]
|
2021-08-19 08:42:44 +00:00
|
|
|
[Union(0, typeof(TeamVersusUserState))] // IMPORTANT: Add rules to SignalRUnionWorkaroundResolver for new derived types.
|
|
|
|
public abstract class MatchUserState
|
2021-07-21 09:59:02 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|