mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-08 04:55:54 +08:00
50 lines
1.2 KiB
Python
50 lines
1.2 KiB
Python
from typing import Dict, List, Union
|
|
|
|
from ..common import BaseStruct
|
|
|
|
from msgspec import field
|
|
|
|
|
|
class ItemBundle(BaseStruct):
|
|
id_: str = field(name='id')
|
|
count: int
|
|
type_: str = field(name='type')
|
|
|
|
|
|
class StringKeyFrames(BaseStruct):
|
|
level: int
|
|
data: str
|
|
|
|
|
|
class CrisisClientDataSeasonInfo(BaseStruct):
|
|
seasonId: str
|
|
startTs: int
|
|
endTs: int
|
|
name: str
|
|
crisisRuneCoinUnlockItem: ItemBundle
|
|
permBgm: str
|
|
medalGroupId: Union[str, None]
|
|
bgmHardPoint: int
|
|
permBgmHard: Union[str, None]
|
|
|
|
|
|
class CrisisMapRankInfo(BaseStruct):
|
|
rewards: List[ItemBundle]
|
|
unlockPoint: int
|
|
|
|
|
|
class CrisisTable(BaseStruct):
|
|
__version__ = '23-12-02-09-28-50-918524'
|
|
|
|
seasonInfo: List[CrisisClientDataSeasonInfo]
|
|
meta: str
|
|
unlockCoinLv3: int
|
|
hardPointPerm: int
|
|
hardPointTemp: int
|
|
voiceGrade: int
|
|
crisisRuneCoinUnlockItemTitle: str
|
|
crisisRuneCoinUnlockItemDesc: str
|
|
tempAppraise: Union[List[StringKeyFrames], None] = None # Removed in 2.1.21
|
|
permAppraise: Union[List[StringKeyFrames], None] = None # Removed in 2.1.21
|
|
mapRankInfo: Union[Dict[str, CrisisMapRankInfo], None] = None # Removed in 2.1.21
|