// 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; namespace osu.Game.Online.Metadata { [Serializable] [MessagePackObject] public class MultiplayerRoomScoreSetEvent { /// /// The ID of the room in which the score was set. /// [Key(0)] public long RoomID { get; set; } /// /// The ID of the playlist item on which the score was set. /// [Key(1)] public long PlaylistItemID { get; set; } /// /// The ID of the score set. /// [Key(2)] public long ScoreID { get; set; } /// /// The ID of the user who set the score. /// [Key(3)] public int UserID { get; set; } /// /// The total score set by the player. /// [Key(4)] public long TotalScore { get; set; } /// /// If the set score is the user's new best on a playlist item, this member will contain the user's new rank in the room overall. /// Otherwise, it will contain . /// [Key(5)] public int? NewRank { get; set; } } }