mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +08:00
Remove Statistics
from interface until we figure how to properly deserialise
This commit is contained in:
parent
3f030cebf4
commit
cd7bd935f6
@ -9,7 +9,6 @@ using Newtonsoft.Json.Converters;
|
|||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Rulesets;
|
using osu.Game.Rulesets;
|
||||||
using osu.Game.Rulesets.Mods;
|
using osu.Game.Rulesets.Mods;
|
||||||
using osu.Game.Rulesets.Scoring;
|
|
||||||
using osu.Game.Scoring;
|
using osu.Game.Scoring;
|
||||||
using osu.Game.Scoring.Legacy;
|
using osu.Game.Scoring.Legacy;
|
||||||
using osu.Game.Users;
|
using osu.Game.Users;
|
||||||
@ -141,7 +140,5 @@ namespace osu.Game.Online.API.Requests.Responses
|
|||||||
public IRulesetInfo Ruleset => new RulesetInfo { ID = OnlineRulesetID };
|
public IRulesetInfo Ruleset => new RulesetInfo { ID = OnlineRulesetID };
|
||||||
|
|
||||||
IBeatmapInfo IScoreInfo.Beatmap => Beatmap;
|
IBeatmapInfo IScoreInfo.Beatmap => Beatmap;
|
||||||
|
|
||||||
Dictionary<HitResult, int> IScoreInfo.Statistics => new Dictionary<HitResult, int>(); // TODO: implement... maybe. hitresults have weird mappings per ruleset it would seem.
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,11 +2,9 @@
|
|||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Database;
|
using osu.Game.Database;
|
||||||
using osu.Game.Rulesets;
|
using osu.Game.Rulesets;
|
||||||
using osu.Game.Rulesets.Scoring;
|
|
||||||
using osu.Game.Users;
|
using osu.Game.Users;
|
||||||
|
|
||||||
namespace osu.Game.Scoring
|
namespace osu.Game.Scoring
|
||||||
@ -29,13 +27,13 @@ namespace osu.Game.Scoring
|
|||||||
|
|
||||||
IBeatmapInfo Beatmap { get; }
|
IBeatmapInfo Beatmap { get; }
|
||||||
|
|
||||||
Dictionary<HitResult, int> Statistics { get; }
|
|
||||||
|
|
||||||
IRulesetInfo Ruleset { get; }
|
IRulesetInfo Ruleset { get; }
|
||||||
|
|
||||||
public ScoreRank Rank { get; }
|
public ScoreRank Rank { get; }
|
||||||
|
|
||||||
// Mods is currently missing from this interface as the `IMod` class has properties which can't be fulfilled by `APIMod`,
|
// 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.
|
// 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.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user