This commit is contained in:
baiqwerdvd 2024-12-09 15:18:58 +08:00
parent 66ae8ce663
commit 23b655d438
No known key found for this signature in database
GPG Key ID: 7717E46E1797411A

View File

@ -6,18 +6,6 @@ from msgspec import Struct, field
################ ################
# ArknightsAttendanceCalendar Start # ArknightsAttendanceCalendar Start
################ ################
class ArknightsAttendanceAwardResource(Struct):
id_: str = field(name="id")
type_: str = field(name="type")
name: str
rarity: int
sortId: int
otherSource: List[str]
classifyType: str
stageDropList: List[ArknightsAttendanceStageDropListItem]
buildingProductList: List[ArknightsAttendanceBuildingProductListItem]
class ArknightsAttendanceRecord(Struct): class ArknightsAttendanceRecord(Struct):
ts: str ts: str
resourceId: str resourceId: str
@ -33,13 +21,6 @@ class ArknightsAttendanceCalendar(Struct):
done: bool done: bool
class ArknightsAttendanceCalendarModel(Struct):
currentTs: str
calendar: List[ArknightsAttendanceCalendar]
records: List[Union[ArknightsAttendanceRecord, None]]
resourceInfoMap: Dict[str, ArknightsAttendanceAwardResource]
class ArknightsAttendanceStageDropListItem(Struct): class ArknightsAttendanceStageDropListItem(Struct):
stageId: str stageId: str
occPer: int occPer: int
@ -50,6 +31,24 @@ class ArknightsAttendanceBuildingProductListItem(Struct):
roomType: str roomType: str
class ArknightsAttendanceAwardResource(Struct):
id_: str = field(name="id")
type_: str = field(name="type")
name: str
rarity: int
sortId: int
otherSource: List[str]
classifyType: str
stageDropList: List[ArknightsAttendanceStageDropListItem]
buildingProductList: List[ArknightsAttendanceBuildingProductListItem]
class ArknightsAttendanceCalendarModel(Struct):
currentTs: str
calendar: List[ArknightsAttendanceCalendar]
records: List[Union[ArknightsAttendanceRecord, None]]
resourceInfoMap: Dict[str, ArknightsAttendanceAwardResource]
################ ################
# ArknightsAttendance Start # ArknightsAttendance Start
################ ################