mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 04:22:54 +08:00
24 lines
563 B
C#
24 lines
563 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using System;
|
|
using osu.Game.Rulesets.Scoring;
|
|
|
|
namespace osu.Game.Online.Spectator
|
|
{
|
|
[Serializable]
|
|
public struct StatisticPair
|
|
{
|
|
public HitResult Result;
|
|
public int Count;
|
|
|
|
public StatisticPair(HitResult result, int count)
|
|
{
|
|
Result = result;
|
|
Count = count;
|
|
}
|
|
|
|
public override string ToString() => $"{Result}=>{Count}";
|
|
}
|
|
}
|