1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-17 18:22:54 +08:00
osu-lazer/osu.Game/Modes/Score.cs
2017-03-13 18:34:43 -03:00

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,
}
}