Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value of beatmap.difficulty does not match documentation #70

Closed
opl- opened this issue Aug 3, 2021 · 0 comments
Closed

Value of beatmap.difficulty does not match documentation #70

opl- opened this issue Aug 3, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@opl-
Copy link
Owner

opl- commented Aug 3, 2021

As noted in #68, the beatmap.difficulty property stores the localized difficulty name instead of the intended name of the BeatmapDifficulty enum's value.

I believe the best fix here would be to introduce a new property in the beatmap object which would expose the intended string and update the documentation accordingly. Additionally, the existing beatmap.difficulty property can later be used to expose the custom difficulty name set by a mapper, to match the name visible in the beatmap selection menu.

@opl- opl- added the bug Something isn't working label Aug 3, 2021
@opl- opl- closed this as completed in d6245bd Sep 7, 2021
opl- added a commit that referenced this issue Sep 7, 2021
Changes:
- Support for Beat Saber v1.17.0 (#73, by @ErisApps)
- `beatmap.difficulty` now represents the name of the difficulty in the game's current language. If SongCore is installed, this value may contain the custom difficulty name defined by the beatmap, however I've not actually seen that happen. (#70)
- The mod now targets .NET v4.7.2

Fixes:
- Exception thrown when SongCore is not installed while extracting value for `beatmap.songHash`. (#69, by @rynan4818)
opl- added a commit that referenced this issue Sep 7, 2021
Changes:
- Support for Beat Saber v1.17.0 (#73, by @ErisApps)
- `beatmap.difficulty` now represents the name of the difficulty in the game's current language. If SongCore is installed, this value may contain the custom difficulty name defined by the beatmap, however I've not actually seen that happen. (#70)
- The mod now targets .NET v4.7.2

Adds:
- `beatmap.difficultyEnum` representing the internal beatmap difficulty enum. See [protocol.md] for more information.

Fixes:
- Exception thrown when SongCore is not installed while extracting value for `beatmap.songHash`. (#69, by @rynan4818)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant