diff --git a/titles/chuni/luminous.py b/titles/chuni/luminous.py index 6fcc9ea..9af38cd 100644 --- a/titles/chuni/luminous.py +++ b/titles/chuni/luminous.py @@ -16,8 +16,8 @@ class ChuniLuminous(ChuniSunPlus): super().__init__(core_cfg, game_cfg) self.version = ChuniConstants.VER_CHUNITHM_LUMINOUS - async def handle_cm_get_user_preview_api_request(self, data: Dict) -> Dict: - user_data = await super().handle_cm_get_user_preview_api_request(data) + async def handle_c_m_get_user_preview_api_request(self, data: Dict) -> Dict: + user_data = await super().handle_c_m_get_user_preview_api_request(data) # Does CARD MAKER 1.35 work this far up? user_data["lastDataVersion"] = "2.20.00" diff --git a/titles/chuni/luminousplus.py b/titles/chuni/luminousplus.py index 659b39d..d33833f 100644 --- a/titles/chuni/luminousplus.py +++ b/titles/chuni/luminousplus.py @@ -12,8 +12,8 @@ class ChuniLuminousPlus(ChuniLuminous): super().__init__(core_cfg, game_cfg) self.version = ChuniConstants.VER_CHUNITHM_LUMINOUS_PLUS - async def handle_cm_get_user_preview_api_request(self, data: Dict) -> Dict: - user_data = await super().handle_cm_get_user_preview_api_request(data) + async def handle_c_m_get_user_preview_api_request(self, data: Dict) -> Dict: + user_data = await super().handle_c_m_get_user_preview_api_request(data) # Does CARD MAKER 1.35 work this far up? user_data["lastDataVersion"] = "2.25.00" diff --git a/titles/chuni/new.py b/titles/chuni/new.py index b39efc8..45e525d 100644 --- a/titles/chuni/new.py +++ b/titles/chuni/new.py @@ -173,7 +173,7 @@ class ChuniNew(ChuniBase): } return data1 - async def handle_cm_get_user_preview_api_request(self, data: Dict) -> Dict: + async def handle_c_m_get_user_preview_api_request(self, data: Dict) -> Dict: p = await self.data.profile.get_profile_data(data["userId"], self.version) if p is None: return {} @@ -246,7 +246,7 @@ class ChuniNew(ChuniBase): "ssrBookCalcList": [], } - async def handle_cm_get_user_data_api_request(self, data: Dict) -> Dict: + async def handle_c_m_get_user_data_api_request(self, data: Dict) -> Dict: p = await self.data.profile.get_profile_data(data["userId"], self.version) if p is None: return {} @@ -349,10 +349,10 @@ class ChuniNew(ChuniBase): "userCardPrintStateList": card_print_state_list, } - async def handle_cm_get_user_character_api_request(self, data: Dict) -> Dict: + async def handle_c_m_get_user_character_api_request(self, data: Dict) -> Dict: return await super().handle_get_user_character_api_request(data) - async def handle_cm_get_user_item_api_request(self, data: Dict) -> Dict: + async def handle_c_m_get_user_item_api_request(self, data: Dict) -> Dict: return await super().handle_get_user_item_api_request(data) async def handle_roll_gacha_api_request(self, data: Dict) -> Dict: @@ -397,7 +397,7 @@ class ChuniNew(ChuniBase): return {"length": len(rolled_cards), "gameGachaCardList": rolled_cards} - async def handle_cm_upsert_user_gacha_api_request(self, data: Dict) -> Dict: + async def handle_c_m_upsert_user_gacha_api_request(self, data: Dict) -> Dict: upsert = data["cmUpsertUserGacha"] user_id = data["userId"] place_id = data["placeId"] @@ -452,7 +452,7 @@ class ChuniNew(ChuniBase): "userCardPrintStateList": card_print_state_list, } - async def handle_cm_upsert_user_printlog_api_request(self, data: Dict) -> Dict: + async def handle_c_m_upsert_user_printlog_api_request(self, data: Dict) -> Dict: return { "returnCode": 1, "orderId": 0, @@ -460,7 +460,7 @@ class ChuniNew(ChuniBase): "apiName": "CMUpsertUserPrintlogApi", } - async def handle_cm_upsert_user_print_api_request(self, data: Dict) -> Dict: + async def handle_c_m_upsert_user_print_api_request(self, data: Dict) -> Dict: user_print_detail = data["userPrintDetail"] user_id = data["userId"] @@ -485,7 +485,7 @@ class ChuniNew(ChuniBase): "apiName": "CMUpsertUserPrintApi", } - async def handle_cm_upsert_user_print_subtract_api_request(self, data: Dict) -> Dict: + async def handle_c_m_upsert_user_print_subtract_api_request(self, data: Dict) -> Dict: upsert = data["userCardPrintState"] user_id = data["userId"] place_id = data["placeId"] @@ -502,7 +502,7 @@ class ChuniNew(ChuniBase): return {"returnCode": "1", "apiName": "CMUpsertUserPrintSubtractApi"} - async def handle_cm_upsert_user_print_cancel_api_request(self, data: Dict) -> Dict: + async def handle_c_m_upsert_user_print_cancel_api_request(self, data: Dict) -> Dict: order_ids = data["orderIdList"] user_id = data["userId"] diff --git a/titles/chuni/newplus.py b/titles/chuni/newplus.py index 84467fb..83862bc 100644 --- a/titles/chuni/newplus.py +++ b/titles/chuni/newplus.py @@ -11,8 +11,8 @@ class ChuniNewPlus(ChuniNew): super().__init__(core_cfg, game_cfg) self.version = ChuniConstants.VER_CHUNITHM_NEW_PLUS - async def handle_cm_get_user_preview_api_request(self, data: Dict) -> Dict: - user_data = await super().handle_cm_get_user_preview_api_request(data) + async def handle_c_m_get_user_preview_api_request(self, data: Dict) -> Dict: + user_data = await super().handle_c_m_get_user_preview_api_request(data) # hardcode lastDataVersion for CardMaker 1.35 A028 user_data["lastDataVersion"] = "2.05.00" diff --git a/titles/chuni/sun.py b/titles/chuni/sun.py index 4957c4b..abd7b7d 100644 --- a/titles/chuni/sun.py +++ b/titles/chuni/sun.py @@ -11,8 +11,8 @@ class ChuniSun(ChuniNewPlus): super().__init__(core_cfg, game_cfg) self.version = ChuniConstants.VER_CHUNITHM_SUN - async def handle_cm_get_user_preview_api_request(self, data: Dict) -> Dict: - user_data = await super().handle_cm_get_user_preview_api_request(data) + async def handle_c_m_get_user_preview_api_request(self, data: Dict) -> Dict: + user_data = await super().handle_c_m_get_user_preview_api_request(data) # hardcode lastDataVersion for CardMaker 1.35 A032 user_data["lastDataVersion"] = "2.10.00" diff --git a/titles/chuni/sunplus.py b/titles/chuni/sunplus.py index 1f3f271..e9394aa 100644 --- a/titles/chuni/sunplus.py +++ b/titles/chuni/sunplus.py @@ -11,8 +11,8 @@ class ChuniSunPlus(ChuniSun): super().__init__(core_cfg, game_cfg) self.version = ChuniConstants.VER_CHUNITHM_SUN_PLUS - async def handle_cm_get_user_preview_api_request(self, data: Dict) -> Dict: - user_data = await super().handle_cm_get_user_preview_api_request(data) + async def handle_c_m_get_user_preview_api_request(self, data: Dict) -> Dict: + user_data = await super().handle_c_m_get_user_preview_api_request(data) # I don't know if lastDataVersion is going to matter, I don't think CardMaker 1.35 works this far up user_data["lastDataVersion"] = "2.15.00" diff --git a/titles/chuni/verse.py b/titles/chuni/verse.py index 9d59b5e..3c933c3 100644 --- a/titles/chuni/verse.py +++ b/titles/chuni/verse.py @@ -16,8 +16,8 @@ class ChuniVerse(ChuniLuminousPlus): super().__init__(core_cfg, game_cfg) self.version = ChuniConstants.VER_CHUNITHM_VERSE - async def handle_cm_get_user_preview_api_request(self, data: Dict) -> Dict: - user_data = await super().handle_cm_get_user_preview_api_request(data) + async def handle_c_m_get_user_preview_api_request(self, data: Dict) -> Dict: + user_data = await super().handle_c_m_get_user_preview_api_request(data) # Does CARD MAKER 1.35 work this far up? user_data["lastDataVersion"] = "2.30.00"