-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #192 from peppy/new-watch-mode
Add new watch mode command
- Loading branch information
Showing
6 changed files
with
753 additions
and
405 deletions.
There are no files selected for viewing
454 changes: 454 additions & 0 deletions
454
osu.Server.Queues.ScoreStatisticsProcessor/Commands/Queue/BatchInserter.cs
Large diffs are not rendered by default.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
osu.Server.Queues.ScoreStatisticsProcessor/Commands/Queue/HighScore.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } | ||
} | ||
} |
Oops, something went wrong.