2023-05-30 12:14:18 +02:00
|
|
|
from typing import Dict
|
2023-03-05 23:54:13 +01: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 21:03:22 +01:00
|
|
|
class CardMaker135(CardMakerBase):
|
2023-03-05 23:54:13 +01:00
|
|
|
def __init__(self, core_cfg: CoreConfig, game_cfg: CardMakerConfig) -> None:
|
|
|
|
super().__init__(core_cfg, game_cfg)
|
2023-03-15 21:03:22 +01:00
|
|
|
self.version = CardMakerConstants.VER_CARD_MAKER_135
|
2023-03-05 23:54:13 +01: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
|