2017-02-07 12:59:30 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
2016-11-29 14:41:48 +08:00
|
|
|
|
|
2017-03-05 10:29:52 +08:00
|
|
|
|
using osu.Game.Users;
|
2017-03-04 18:02:36 +08:00
|
|
|
|
using osu.Game.Database;
|
2017-03-14 05:34:43 +08:00
|
|
|
|
using System.ComponentModel;
|
2017-03-05 10:29:52 +08:00
|
|
|
|
|
2016-11-29 14:41:48 +08:00
|
|
|
|
namespace osu.Game.Modes
|
|
|
|
|
{
|
|
|
|
|
public class Score
|
|
|
|
|
{
|
2017-03-14 05:34:43 +08:00
|
|
|
|
public ScoreRank Rank { get; set; }
|
2016-11-29 22:59:56 +08:00
|
|
|
|
public double TotalScore { get; set; }
|
|
|
|
|
public double Accuracy { get; set; }
|
2017-01-10 16:01:53 +08:00
|
|
|
|
public double Health { get; set; }
|
2017-03-10 15:05:05 +08:00
|
|
|
|
public int MaxCombo { get; set; }
|
|
|
|
|
public int Combo { get; set; }
|
2017-03-14 05:34:43 +08:00
|
|
|
|
public Mod[] Mods { get; set; }
|
2017-03-04 14:29:15 +08:00
|
|
|
|
|
2017-03-14 05:34:43 +08:00
|
|
|
|
public User User { get; set; }
|
2017-03-04 14:29:15 +08:00
|
|
|
|
public Replay Replay;
|
2017-03-04 18:02:36 +08:00
|
|
|
|
public BeatmapInfo Beatmap;
|
2016-11-29 14:41:48 +08:00
|
|
|
|
}
|
2017-03-14 05:34:43 +08:00
|
|
|
|
|
|
|
|
|
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,
|
|
|
|
|
}
|
2016-11-29 14:41:48 +08:00
|
|
|
|
}
|