1
0
mirror of synced 2024-12-25 10:44:51 +01:00
artemis/titles/mai2/finale.py

24 lines
831 B
Python
Raw Normal View History

from typing import Any, List, Dict
from datetime import datetime, timedelta
import pytz
import json
from core.config import CoreConfig
from titles.mai2.base import Mai2Base
from titles.mai2.config import Mai2Config
from titles.mai2.const import Mai2Constants
2023-03-09 17:38:58 +01:00
2023-05-01 04:19:31 +02:00
class Mai2Finale(Mai2Base):
def __init__(self, cfg: CoreConfig, game_cfg: Mai2Config) -> None:
super().__init__(cfg, game_cfg)
2023-05-01 04:19:31 +02:00
self.version = Mai2Constants.VER_MAIMAI_FINALE
2023-05-10 08:31:30 +02:00
self.can_deliver = True
self.can_usbdl = True
if self.core_config.server.is_develop and self.core_config.title.port > 0:
self.old_server = f"http://{self.core_config.title.hostname}:{self.core_config.title.port}/SDEY/197/"
else:
self.old_server = f"http://{self.core_config.title.hostname}/SDEY/197/"