mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-04 11:07:35 +08:00
68 lines
1.4 KiB
Python
68 lines
1.4 KiB
Python
from typing import Dict, List, Union
|
|
|
|
from msgspec import field
|
|
|
|
from ..common import BaseStruct
|
|
|
|
|
|
class ItemBundle(BaseStruct):
|
|
id_: str = field(name="id")
|
|
count: int
|
|
type_: str = field(name="type")
|
|
|
|
|
|
class UnlockCondition(BaseStruct):
|
|
phase: int
|
|
level: int
|
|
|
|
|
|
class TraitDescBundle(BaseStruct):
|
|
unlockCondition: UnlockCondition
|
|
requiredPotentialRank: int
|
|
overrideDescription: None
|
|
additiveDescription: str
|
|
|
|
|
|
class UniEquipData(BaseStruct):
|
|
uniEquipId: str
|
|
uniEquipName: str
|
|
uniEquipIcon: str
|
|
uniEquipDesc: str
|
|
typeIcon: str
|
|
typeName: str
|
|
showEvolvePhase: int
|
|
unlockEvolvePhase: int
|
|
charId: str
|
|
tmplId: None
|
|
showLevel: int
|
|
unlockLevel: int
|
|
unlockFavorPercent: int
|
|
missionList: List[str]
|
|
itemCost: Union[List[ItemBundle], None]
|
|
type_: str = field(name="type")
|
|
traitDescBundle: List[TraitDescBundle]
|
|
|
|
|
|
class UniEquipMissionData(BaseStruct):
|
|
template: Union[str, None]
|
|
desc: Union[str, None]
|
|
paramList: List[str]
|
|
uniEquipMissionId: str
|
|
uniEquipMissionSort: int
|
|
uniEquipId: str
|
|
|
|
|
|
class SubProfessionData(BaseStruct):
|
|
subProfessionId: str
|
|
subProfessionName: str
|
|
subProfessionCatagory: int
|
|
|
|
|
|
class UniequipData(BaseStruct):
|
|
__version__ = "24-02-02-10-18-07-831ad8"
|
|
|
|
equipDict: Dict[str, UniEquipData]
|
|
missionList: Dict[str, UniEquipMissionData]
|
|
subProfDict: Dict[str, SubProfessionData]
|
|
charEquip: Dict[str, List[str]]
|