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