// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using MessagePack; using osu.Game.Online.Multiplayer.MatchTypes.TeamVersus; using osu.Game.Online.Multiplayer.Queueing; namespace osu.Game.Online.Multiplayer { /// /// A request from a user to perform an action specific to the current match type. /// [Serializable] [MessagePackObject] [Union(0, typeof(ChangeTeamRequest))] // IMPORTANT: Add rules to SignalRUnionWorkaroundResolver for new derived types. [Union(1, typeof(EnqueuePlaylistItemRequest))] public abstract class MatchUserRequest { } }