From ec7605eeb0074c39f720f0065ba6cbe5f9cc8054 Mon Sep 17 00:00:00 2001 From: Puz Date: Wed, 10 Jul 2024 07:21:56 +0000 Subject: [PATCH] chuni: added missing c2c endpoint for sdgs --- titles/chuni/sun.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/titles/chuni/sun.py b/titles/chuni/sun.py index 94dc1eb..4957c4b 100644 --- a/titles/chuni/sun.py +++ b/titles/chuni/sun.py @@ -16,4 +16,14 @@ class ChuniSun(ChuniNewPlus): # hardcode lastDataVersion for CardMaker 1.35 A032 user_data["lastDataVersion"] = "2.10.00" - return user_data \ No newline at end of file + return user_data + + #SDGS Exclusive + async def handle_get_user_cto_c_play_api_request(self, data: Dict) -> Dict: + return { + "userId": data["userId"], + "orderBy": "0", + "count": "0", + #game request c2c play history while login but seem unused(?) + "userCtoCPlayList": [], + } \ No newline at end of file