1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-19 03:52:55 +08:00
osu-lazer/osu.Game/Scoring/IScoreInfo.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.1 KiB
C#
Raw Normal View History

2021-10-28 16:57:17 +08:00
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2022-06-17 15:37:17 +08:00
#nullable disable
2021-10-28 16:57:17 +08:00
using System;
using osu.Game.Beatmaps;
using osu.Game.Database;
2021-10-28 17:23:52 +08:00
using osu.Game.Rulesets;
using osu.Game.Users;
2021-10-28 16:57:17 +08:00
namespace osu.Game.Scoring
{
public interface IScoreInfo : IHasOnlineID<long>, IHasNamedFiles
2021-10-28 16:57:17 +08:00
{
IUser User { get; }
2021-10-28 16:57:17 +08:00
2021-10-28 17:23:52 +08:00
long TotalScore { get; }
2021-10-28 16:57:17 +08:00
2021-10-28 17:23:52 +08:00
int MaxCombo { get; }
2021-10-28 16:57:17 +08:00
2021-10-28 17:23:52 +08:00
double Accuracy { get; }
2021-10-28 16:57:17 +08:00
2021-10-28 17:23:52 +08:00
bool HasReplay { get; }
2021-10-28 16:57:17 +08:00
2021-10-28 17:23:52 +08:00
DateTimeOffset Date { get; }
2021-10-28 16:57:17 +08:00
2021-10-28 17:23:52 +08:00
double? PP { get; }
2021-10-28 16:57:17 +08:00
2021-10-28 17:23:52 +08:00
IBeatmapInfo Beatmap { get; }
2021-10-28 16:57:17 +08:00
2021-10-28 17:23:52 +08:00
IRulesetInfo Ruleset { get; }
2021-10-28 16:57:17 +08:00
ScoreRank Rank { get; }
2021-10-28 16:57:17 +08:00
2021-10-28 17:23:52 +08:00
// Mods is currently missing from this interface as the `IMod` class has properties which can't be fulfilled by `APIMod`,
// but also doesn't expose `Settings`. We can consider how to implement this in the future if required.
// Statistics is also missing. This can be reconsidered once changes in serialisation have been completed.
2021-10-28 16:57:17 +08:00
}
}