2017-02-07 04:59:30 +00: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 06:41:48 +00:00
|
|
|
|
|
2017-03-15 05:06:05 +00:00
|
|
|
|
using System;
|
2017-03-31 06:59:53 +00:00
|
|
|
|
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;
|
2017-03-24 00:51:52 +00:00
|
|
|
|
using osu.Game.Users;
|
2017-04-18 07:05:58 +00:00
|
|
|
|
using osu.Game.Rulesets.Replays;
|
2017-03-05 02:29:52 +00:00
|
|
|
|
|
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; }
|
2017-04-19 07:02:18 +00:00
|
|
|
|
|
2016-11-29 14:59:56 +00:00
|
|
|
|
public double Accuracy { get; set; }
|
2017-03-15 05:06:05 +00:00
|
|
|
|
|
2017-04-19 07:02:18 +00:00
|
|
|
|
public double Health { get; set; } = 1;
|
|
|
|
|
|
2017-03-10 07:05:05 +00:00
|
|
|
|
public int MaxCombo { get; set; }
|
2017-04-19 07:02:18 +00:00
|
|
|
|
|
2017-03-10 07:05:05 +00:00
|
|
|
|
public int Combo { get; set; }
|
2017-03-04 06:29:15 +00:00
|
|
|
|
|
2017-09-07 16:36:16 +00:00
|
|
|
|
public RulesetInfo Ruleset { get; set; }
|
2017-08-17 10:24:22 +00:00
|
|
|
|
|
2017-09-07 16:36:16 +00:00
|
|
|
|
public Mod[] Mods { get; set; }
|
2017-04-20 02:16:08 +00:00
|
|
|
|
|
2017-04-19 07:02:18 +00:00
|
|
|
|
public User User;
|
2017-03-15 05:06:05 +00:00
|
|
|
|
|
2017-03-04 06:29:15 +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
|
|
|
|
|
2017-04-20 02:02:56 +00:00
|
|
|
|
public Dictionary<string, dynamic> Statistics = new Dictionary<string, dynamic>();
|
2016-11-29 06:41:48 +00:00
|
|
|
|
}
|
|
|
|
|
}
|