Skip to content

Commit

Permalink
Merge pull request #192 from peppy/new-watch-mode
Browse files Browse the repository at this point in the history
Add new watch mode command
  • Loading branch information
bdach authored Dec 29, 2023
2 parents e7cdd8e + f0909b8 commit b14a634
Show file tree
Hide file tree
Showing 6 changed files with 753 additions and 405 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// 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 System.Diagnostics.CodeAnalysis;

namespace osu.Server.Queues.ScoreStatisticsProcessor.Commands.Queue
{
[SuppressMessage("ReSharper", "InconsistentNaming")]
[Serializable]
public class HighScore
{
public ulong score_id { get; set; }
public int beatmap_id { get; set; }
public int user_id { get; set; }
public int score { get; set; }
public ushort maxcombo { get; set; }
public string rank { get; set; } = null!; // Actually a ScoreRank, but reading as a string for manual parsing.
public ushort count50 { get; set; }
public ushort count100 { get; set; }
public ushort count300 { get; set; }
public ushort countmiss { get; set; }
public ushort countgeki { get; set; }
public ushort countkatu { get; set; }
public bool perfect { get; set; }
public int enabled_mods { get; set; }
public DateTimeOffset date { get; set; }
public float pp { get; set; }
public bool replay { get; set; }
public bool hidden { get; set; }
public string country_acronym { get; set; } = null!;

// This comes from score_process_queue. Used in join context.
public uint? queue_id { get; set; }
}
}
Loading

0 comments on commit b14a634

Please sign in to comment.