1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 18:13:18 +08:00
Files
osu-lazer/osu.Game/Skinning
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-08-23 14:48:50 +09:00
2022-11-27 00:00:27 +09:00
2022-11-27 00:00:27 +09:00
2022-11-27 00:00:27 +09:00