From 6b1b607db068c39b1001c1d295128eb1302bc1ed Mon Sep 17 00:00:00 2001 From: SoulGateKey Date: Wed, 2 Apr 2025 04:35:14 +0800 Subject: [PATCH] add GetGameMusicScoreApi handler --- titles/mai2/prism.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/titles/mai2/prism.py b/titles/mai2/prism.py index c208a85..30044df 100644 --- a/titles/mai2/prism.py +++ b/titles/mai2/prism.py @@ -22,4 +22,15 @@ class Mai2Prism(Mai2BuddiesPlus): return { "user_id": data["userId"], "userItemList": [] - } \ No newline at end of file + } + + #seems to be used for downloading music scores online + async def handle_get_game_music_score_api_request(self, data: Dict) -> Dict: + return { + "gameMusicScore": { + "musicId": data["musicId"], + "level": data["level"], + "type": data["type"], + "scoreData": "" + } + }