artemis/titles/chuni/sunplus.py

20 lines
751 B
Python
Raw Normal View History

from typing import Dict, Any
2023-12-13 06:02:32 +00:00
from core.config import CoreConfig
2024-03-22 16:22:07 +00:00
from titles.chuni.sun import ChuniSun
from titles.chuni.const import ChuniConstants
from titles.chuni.config import ChuniConfig
2023-12-13 06:02:32 +00:00
class ChuniSunPlus(ChuniSun):
def __init__(self, core_cfg: CoreConfig, game_cfg: ChuniConfig) -> None:
super().__init__(core_cfg, game_cfg)
self.version = ChuniConstants.VER_CHUNITHM_SUN_PLUS
2024-03-23 06:01:06 +00:00
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)
2023-12-13 06:02:32 +00:00
# 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"
return user_data