mirror of
https://github.com/ppy/osu.git
synced 2024-11-17 19:06:27 +08:00
55 lines
1.1 KiB
C#
55 lines
1.1 KiB
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Game.Users;
|
|
using osu.Game.Database;
|
|
using System.ComponentModel;
|
|
|
|
namespace osu.Game.Modes
|
|
{
|
|
public class Score
|
|
{
|
|
public ScoreRank Rank { get; set; }
|
|
public double TotalScore { get; set; }
|
|
public double Accuracy { get; set; }
|
|
public double Health { get; set; }
|
|
public int MaxCombo { get; set; }
|
|
public int Combo { get; set; }
|
|
public Mod[] Mods { get; set; }
|
|
|
|
public User User { get; set; }
|
|
public Replay Replay;
|
|
public BeatmapInfo Beatmap;
|
|
}
|
|
|
|
public enum ScoreRank
|
|
{
|
|
[Description(@"F")]
|
|
F,
|
|
|
|
[Description(@"F")]
|
|
D,
|
|
|
|
[Description(@"C")]
|
|
C,
|
|
|
|
[Description(@"B")]
|
|
B,
|
|
|
|
[Description(@"A")]
|
|
A,
|
|
|
|
[Description(@"S")]
|
|
S,
|
|
|
|
[Description(@"SPlus")]
|
|
SPlus,
|
|
|
|
[Description(@"SS")]
|
|
SS,
|
|
|
|
[Description(@"SSPlus")]
|
|
SSPlus,
|
|
}
|
|
}
|