mirror of
https://github.com/ppy/osu.git
synced 2024-11-17 18:22:54 +08:00
56 lines
1.2 KiB
C#
56 lines
1.2 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;
|
|
using osu.Game.Modes.Mods;
|
|
|
|
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,
|
|
}
|
|
}
|