ReadieFur / BSDataPuller

Gathers data about the current map you are playing to then be sent out over a websocket for other software to use, e.g. A web overlay like BSDP-Overlay. This mod works with multi PC setups!
https://github.com/ReadieFur/BeatSaber-Overlay
GNU General Public License v3.0
39 stars 10 forks source link

Update to expose rank and score with multipliers applied #5

Closed chenxiaolong closed 3 years ago

chenxiaolong commented 3 years ago

This commit updates the LiveData endpoint to expose a few more fields:

It also updates the maximum score calculation to use the ScoreController.immediateMaxPossibleScoreDidChangeEvent event instead of scoreController.immediateMaxPossibleRawScore, which seems to be consistently off by a small amount compared to the in-game HUD.

With these changes, an overlay can use the ScoreWithMultipliers and Rank fields to display a UI with identical values to the in-game score UI.