-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Update profile web overlay to use SoloScoreInfo
#19192
Conversation
…ake `SoloScoreInfo` and `APIBeatmap` instead of `APIScore`
Turns out a lot of this is unneeded since |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have pushed a change to allow mods displayed in profile scores to include settings as well (by using APIMod.ToMod
instead of CreateModFromAcronym(APIMod.Acronym
).
Seems fine otherwise upon a closer look at the response returned with the old and new API structures.
This introduces a new paginated class to handling the retrieval of scores in the new format, aswell as their beatmaps. This also replaces the use of
APIScore
inGetUserScoresRequest
withSoloScoreInfo
instead, and updates the relevant tests.Resolves #19152
Resolves #19146