osu-tournament-rating / otr-api

API powering osu! Tournament Rating
https://otr.stagec.xyz/
GNU General Public License v3.0
7 stars 4 forks source link

Store a player's default play mode #247

Closed myssto closed 5 months ago

myssto commented 5 months ago

Small change to the OsuPlayerDataWorker that stores the player's default play mode when updating ranking information. This is working towards a change in how we display player profiles on web. Using this information, when visiting a player's profile on web we can show the statistics for the target player's preferred mode instead of the logged in user's preferred mode.

hburn7 commented 5 months ago

Comments help us get a little closer towards #129

myssto commented 5 months ago

When refactoring OsuEnums.Mode to OsuEnums.Ruleset, I opted to let Rider change whatever string or parameter versions of "mode" it found as well. We can comb through and manually change the rest in a dedicated PR.