2023-02-17 07:02:21 +01:00
|
|
|
from typing import Dict
|
|
|
|
|
|
|
|
from core.config import CoreConfig
|
|
|
|
from titles.chuni.base import ChuniBase
|
|
|
|
from titles.chuni.const import ChuniConstants
|
|
|
|
from titles.chuni.config import ChuniConfig
|
|
|
|
|
2023-03-09 17:38:58 +01:00
|
|
|
|
2023-02-17 07:02:21 +01:00
|
|
|
class ChuniStar(ChuniBase):
|
|
|
|
def __init__(self, core_cfg: CoreConfig, game_cfg: ChuniConfig) -> None:
|
|
|
|
super().__init__(core_cfg, game_cfg)
|
|
|
|
self.version = ChuniConstants.VER_CHUNITHM_STAR
|
2023-03-09 17:38:58 +01:00
|
|
|
|
2023-02-17 07:02:21 +01:00
|
|
|
def handle_get_game_setting_api_request(self, data: Dict) -> Dict:
|
2023-03-09 17:38:58 +01:00
|
|
|
ret = super().handle_get_game_setting_api_request(data)
|
2023-02-17 07:02:21 +01:00
|
|
|
ret["gameSetting"]["dataVersion"] = "1.20.00"
|
2023-03-09 17:38:58 +01:00
|
|
|
return ret
|