2023-02-17 06:02:21 +00:00
|
|
|
from typing import Any, List, Dict
|
|
|
|
from datetime import datetime, timedelta
|
|
|
|
import json
|
|
|
|
|
|
|
|
from core.config import CoreConfig
|
|
|
|
from titles.wacca.base import WaccaBase
|
|
|
|
from titles.wacca.config import WaccaConfig
|
|
|
|
from titles.wacca.const import WaccaConstants
|
|
|
|
|
|
|
|
from titles.wacca.handlers import *
|
|
|
|
|
2023-03-09 16:38:58 +00:00
|
|
|
|
2023-02-17 06:02:21 +00:00
|
|
|
class WaccaS(WaccaBase):
|
|
|
|
allowed_stages = [
|
|
|
|
(1513, 13),
|
2023-03-02 04:03:29 +00:00
|
|
|
(1512, 12),
|
|
|
|
(1511, 11),
|
|
|
|
(1510, 10),
|
|
|
|
(1509, 9),
|
|
|
|
(1508, 8),
|
|
|
|
(1507, 7),
|
|
|
|
(1506, 6),
|
|
|
|
(1505, 5),
|
|
|
|
(1514, 4),
|
|
|
|
(1513, 3),
|
|
|
|
(1512, 2),
|
|
|
|
(1511, 1),
|
2023-02-17 06:02:21 +00:00
|
|
|
]
|
2023-03-09 16:38:58 +00:00
|
|
|
|
2023-02-17 06:02:21 +00:00
|
|
|
def __init__(self, cfg: CoreConfig, game_cfg: WaccaConfig) -> None:
|
|
|
|
super().__init__(cfg, game_cfg)
|
|
|
|
self.version = WaccaConstants.VER_WACCA_S
|
2023-03-09 16:38:58 +00:00
|
|
|
|
2024-01-09 08:07:04 +00:00
|
|
|
async def handle_advertise_GetNews_request(self, data: Dict) -> Dict:
|
2023-02-17 06:02:21 +00:00
|
|
|
resp = GetNewsResponseV2()
|
|
|
|
return resp.make()
|