2023-02-17 06:02:21 +00:00
|
|
|
from typing import Dict, Any
|
|
|
|
|
|
|
|
from core.config import CoreConfig
|
|
|
|
from titles.ongeki.base import OngekiBase
|
|
|
|
from titles.ongeki.const import OngekiConstants
|
|
|
|
from titles.ongeki.config import OngekiConfig
|
|
|
|
|
2023-03-09 16:38:58 +00:00
|
|
|
|
2023-02-17 06:02:21 +00:00
|
|
|
class OngekiRed(OngekiBase):
|
|
|
|
def __init__(self, core_cfg: CoreConfig, game_cfg: OngekiConfig) -> None:
|
|
|
|
super().__init__(core_cfg, game_cfg)
|
|
|
|
self.version = OngekiConstants.VER_ONGEKI_RED
|
2023-03-09 16:38:58 +00:00
|
|
|
|
2024-01-09 08:07:04 +00:00
|
|
|
async def handle_get_game_setting_api_request(self, data: Dict) -> Dict:
|
|
|
|
ret = await super().handle_get_game_setting_api_request(data)
|
2023-02-17 06:02:21 +00:00
|
|
|
ret["gameSetting"]["dataVersion"] = "1.20.00"
|
|
|
|
ret["gameSetting"]["onlineDataVersion"] = "1.20.00"
|
|
|
|
return ret
|