Path: blob/master/osu.Game/Online/Multiplayer/MatchUserRequest.cs
4376 views
// Copyright (c) ppy Pty Ltd <[email protected]>. 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.Matchmaking.Events; using osu.Game.Online.Multiplayer.Countdown; using osu.Game.Online.Multiplayer.MatchTypes.TeamVersus; using osu.Game.Online.RankedPlay; namespace osu.Game.Online.Multiplayer { /// <summary> /// A request from a user to perform an action specific to the current match type. /// </summary> [Serializable] [MessagePackObject] // IMPORTANT: Add rules to SignalRUnionWorkaroundResolver for new derived types. [Union(0, typeof(ChangeTeamRequest))] [Union(1, typeof(StartMatchCountdownRequest))] [Union(2, typeof(StopCountdownRequest))] [Union(3, typeof(MatchmakingAvatarActionRequest))] [Union(4, typeof(RankedPlayCardHandReplayRequest))] public abstract class MatchUserRequest { } }