1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-18 06:52:55 +08:00
osu-lazer/osu.Game/Rulesets/Scoring/Score.cs

46 lines
1.1 KiB
C#
Raw Normal View History

// 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-15 13:06:05 +08:00
using System;
using System.Collections.Generic;
2017-07-26 12:22:46 +08:00
using osu.Game.Beatmaps;
2017-04-18 15:05:58 +08:00
using osu.Game.Rulesets.Mods;
using osu.Game.Users;
2017-04-18 15:05:58 +08:00
using osu.Game.Rulesets.Replays;
2017-04-18 15:05:58 +08:00
namespace osu.Game.Rulesets.Scoring
2016-11-29 14:41:48 +08:00
{
public class Score
{
2017-03-14 05:34:43 +08:00
public ScoreRank Rank { get; set; }
2017-03-15 13:06:05 +08:00
2016-11-29 22:59:56 +08:00
public double TotalScore { get; set; }
2016-11-29 22:59:56 +08:00
public double Accuracy { get; set; }
2017-03-15 13:06:05 +08:00
public double Health { get; set; } = 1;
2017-09-14 19:05:43 +08:00
public double? PP { get; set; }
2017-07-29 06:31:52 +08:00
2017-03-10 15:05:05 +08:00
public int MaxCombo { get; set; }
2017-03-10 15:05:05 +08:00
public int Combo { get; set; }
public RulesetInfo Ruleset { get; set; }
2017-09-14 19:05:43 +08:00
public Mod[] Mods { get; set; } = { };
public User User;
2017-03-15 13:06:05 +08:00
public Replay Replay;
2017-03-15 13:06:05 +08:00
2017-03-04 18:02:36 +08:00
public BeatmapInfo Beatmap;
2017-03-15 13:06:05 +08:00
public long OnlineScoreID;
2017-05-16 21:14:50 +08:00
public DateTimeOffset Date;
2017-03-15 13:06:05 +08:00
public Dictionary<HitResult, object> Statistics = new Dictionary<HitResult, object>();
2016-11-29 14:41:48 +08:00
}
}