1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 07:22:38 +08:00
Files
osu-lazer/osu.Game/Skinning/Components
T
Bartłomiej Dach 7c4dd812b6 Refactor beatmap attribute methods
This change refactors `GetAdjustedDisplayDifficulty()` and
`GetBeatmapAttributesToDisplay()` in two ways:

- Both methods now accept `IBeatmapInfo` instead of
  `IBeatmapDifficultyInfo`. This is done in order to make mania key
  count display to work, wherein `IBeatmapDifficultyInfo` is not enough
  to calculate the final key count.

- `GetAdjustedDisplayDifficulty()` now applies all
  `IApplicableToDifficulty` mods itself. I did this after noticing that
  every real consumer of this method had to do that themselves for very
  little reason.
7c4dd812b6 · 2025-07-30 14:06:34 +02:00
History
..
2024-09-20 16:50:17 +02:00