2023-05-30 10:14:18 +00:00
|
|
|
from typing import Dict
|
2023-03-05 22:54:13 +00:00
|
|
|
|
|
|
|
from core.config import CoreConfig
|
|
|
|
from core.data.cache import cached
|
|
|
|
from titles.cm.base import CardMakerBase
|
|
|
|
from titles.cm.const import CardMakerConstants
|
|
|
|
from titles.cm.config import CardMakerConfig
|
|
|
|
|
|
|
|
|
2023-03-15 20:03:22 +00:00
|
|
|
class CardMaker135(CardMakerBase):
|
2023-03-05 22:54:13 +00:00
|
|
|
def __init__(self, core_cfg: CoreConfig, game_cfg: CardMakerConfig) -> None:
|
|
|
|
super().__init__(core_cfg, game_cfg)
|
2023-03-15 20:03:22 +00:00
|
|
|
self.version = CardMakerConstants.VER_CARD_MAKER_135
|
2023-03-05 22:54:13 +00:00
|
|
|
|
|
|
|
def handle_get_game_setting_api_request(self, data: Dict) -> Dict:
|
|
|
|
ret = super().handle_get_game_setting_api_request(data)
|
|
|
|
ret["gameSetting"]["dataVersion"] = "1.35.00"
|
|
|
|
return ret
|