From 21cb37001b52a77e66c7d2d74be9d7f92bad8bfe Mon Sep 17 00:00:00 2001 From: EmmyHeart Date: Fri, 20 Oct 2023 03:31:36 +0000 Subject: [PATCH] Stubbed Team Course functions as they do not currently do anything --- titles/chuni/base.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/titles/chuni/base.py b/titles/chuni/base.py index ffc512d..ce9ef3c 100644 --- a/titles/chuni/base.py +++ b/titles/chuni/base.py @@ -722,6 +722,14 @@ class ChuniBase: }, } def handle_get_team_course_setting_api_request(self, data: Dict) -> Dict: + return { + "userId": data["userId"], + "length": 0, + "nextIndex": -1, + "teamCourseSettingList": [], + } + + def handle_get_team_course_setting_api_request_proto(self, data: Dict) -> Dict: return { "userId": data["userId"], "length": 1, @@ -746,6 +754,14 @@ class ChuniBase: } def handle_get_team_course_rule_api_request(self, data: Dict) -> Dict: + return { + "userId": data["userId"], + "length": 0, + "nextIndex": -1, + "teamCourseRuleList": [] + } + + def handle_get_team_course_rule_api_request_proto(self, data: Dict) -> Dict: return { "userId": data["userId"], "length": 1,