osu/osu.Game/Rulesets/Scoring/Score.cs

46 lines
1.1 KiB
C#
Raw Normal View History

2018-01-05 11:21:19 +00:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2016-11-29 06:41:48 +00:00
2017-03-15 05:06:05 +00:00
using System;
using System.Collections.Generic;
2017-07-26 04:22:46 +00:00
using osu.Game.Beatmaps;
2017-04-18 07:05:58 +00:00
using osu.Game.Rulesets.Mods;
using osu.Game.Users;
2017-04-18 07:05:58 +00:00
using osu.Game.Rulesets.Replays;
2017-04-18 07:05:58 +00:00
namespace osu.Game.Rulesets.Scoring
2016-11-29 06:41:48 +00:00
{
public class Score
{
2017-03-13 21:34:43 +00:00
public ScoreRank Rank { get; set; }
2017-03-15 05:06:05 +00:00
2016-11-29 14:59:56 +00:00
public double TotalScore { get; set; }
2016-11-29 14:59:56 +00:00
public double Accuracy { get; set; }
2017-03-15 05:06:05 +00:00
public double Health { get; set; } = 1;
2017-09-14 11:05:43 +00:00
public double? PP { get; set; }
2017-07-28 22:31:52 +00:00
2017-03-10 07:05:05 +00:00
public int MaxCombo { get; set; }
2017-03-10 07:05:05 +00:00
public int Combo { get; set; }
public RulesetInfo Ruleset { get; set; }
2017-09-14 11:05:43 +00:00
public Mod[] Mods { get; set; } = { };
public User User;
2017-03-15 05:06:05 +00:00
public Replay Replay;
2017-03-15 05:06:05 +00:00
2017-03-04 10:02:36 +00:00
public BeatmapInfo Beatmap;
2017-03-15 05:06:05 +00:00
public long OnlineScoreID;
2017-05-16 13:14:50 +00:00
public DateTimeOffset Date;
2017-03-15 05:06:05 +00:00
public Dictionary<HitResult, object> Statistics = new Dictionary<HitResult, object>();
2016-11-29 06:41:48 +00:00
}
}