mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-08 04:55:54 +08:00
更新一下gamedata
This commit is contained in:
parent
e271f33e79
commit
83736dd44c
@ -10,7 +10,7 @@ async def deal_skd_cred(bot_id: str, cred: str, user_id: str) -> str:
|
|||||||
uid_list = await ArknightsBind.get_uid_list_by_game(user_id, bot_id)
|
uid_list = await ArknightsBind.get_uid_list_by_game(user_id, bot_id)
|
||||||
if uid_list is None:
|
if uid_list is None:
|
||||||
return UID_HINT
|
return UID_HINT
|
||||||
|
|
||||||
match = re.search(r'\S+', cred)
|
match = re.search(r'\S+', cred)
|
||||||
if not match:
|
if not match:
|
||||||
return 'Cred无效!'
|
return 'Cred无效!'
|
||||||
|
@ -3,7 +3,7 @@ import hashlib
|
|||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
import hmac
|
import hmac
|
||||||
from typing import Any, ClassVar, Dict, Literal, Tuple, Union, cast
|
from typing import Any, Dict, Literal, Tuple, Union, cast
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
import msgspec
|
import msgspec
|
||||||
@ -250,7 +250,7 @@ class BaseArkApi:
|
|||||||
header["dId"] = dId
|
header["dId"] = dId
|
||||||
logger.debug(header)
|
logger.debug(header)
|
||||||
return header
|
return header
|
||||||
|
|
||||||
async def ark_request(
|
async def ark_request(
|
||||||
self,
|
self,
|
||||||
url: str,
|
url: str,
|
||||||
@ -298,7 +298,7 @@ class BaseArkApi:
|
|||||||
raw_data = {}
|
raw_data = {}
|
||||||
if 'cred' not in header:
|
if 'cred' not in header:
|
||||||
return 10001
|
return 10001
|
||||||
|
|
||||||
async with client.request(
|
async with client.request(
|
||||||
method=method,
|
method=method,
|
||||||
url=url,
|
url=url,
|
||||||
@ -318,7 +318,7 @@ class BaseArkApi:
|
|||||||
# 判断code
|
# 判断code
|
||||||
if raw_data['code'] == 0:
|
if raw_data['code'] == 0:
|
||||||
return raw_data
|
return raw_data
|
||||||
|
|
||||||
if raw_data['code'] == 10000:
|
if raw_data['code'] == 10000:
|
||||||
# token失效
|
# token失效
|
||||||
logger.info(f'{url} {raw_data}')
|
logger.info(f'{url} {raw_data}')
|
||||||
|
@ -10,4 +10,4 @@ def get_error(retcode: Union[int, str]) -> str:
|
|||||||
return '请勿重复签到!'
|
return '请勿重复签到!'
|
||||||
if retcode == 10003:
|
if retcode == 10003:
|
||||||
return '请勿修改设备时间'
|
return '请勿修改设备时间'
|
||||||
return f'API报错, 错误码为{retcode}!'
|
return f'API报错, 错误码为{retcode}!'
|
||||||
|
@ -4,8 +4,8 @@ from msgspec import field
|
|||||||
|
|
||||||
|
|
||||||
class ActivityTableBasicData(BaseStruct):
|
class ActivityTableBasicData(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
name: str
|
name: str
|
||||||
startTime: int
|
startTime: int
|
||||||
endTime: int
|
endTime: int
|
||||||
@ -29,16 +29,16 @@ class ActivityTableHomeActivityConfig(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class MissionDisplayRewards(BaseStruct):
|
class MissionDisplayRewards(BaseStruct):
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
count: int
|
count: int
|
||||||
|
|
||||||
|
|
||||||
class MissionData(BaseStruct):
|
class MissionData(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
sortId: int
|
sortId: int
|
||||||
description: str
|
description: str
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
itemBgType: str
|
itemBgType: str
|
||||||
preMissionIds: Union[List[str], None]
|
preMissionIds: Union[List[str], None]
|
||||||
template: str
|
template: str
|
||||||
@ -56,9 +56,9 @@ class MissionData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class MissionGroup(BaseStruct):
|
class MissionGroup(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
title: Union[str, None]
|
title: Union[str, None]
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
preMissionGroup: Union[str, None]
|
preMissionGroup: Union[str, None]
|
||||||
period: Union[List[int], None]
|
period: Union[List[int], None]
|
||||||
rewards: Union[List[MissionDisplayRewards], None]
|
rewards: Union[List[MissionDisplayRewards], None]
|
||||||
@ -76,9 +76,9 @@ class DefaultZoneData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class ItemBundle(BaseStruct):
|
class ItemBundle(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
count: int
|
count: int
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
|
|
||||||
|
|
||||||
class DefaultShopData(BaseStruct):
|
class DefaultShopData(BaseStruct):
|
||||||
@ -238,7 +238,7 @@ class Act3D0DataLimitedPoolDetailInfoPoolItemInfo(BaseStruct):
|
|||||||
perCount: int
|
perCount: int
|
||||||
totalCount: int
|
totalCount: int
|
||||||
weight: int
|
weight: int
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
orderId: int
|
orderId: int
|
||||||
|
|
||||||
|
|
||||||
@ -253,7 +253,7 @@ class Act3D0DataInfinitePoolDetailInfoPoolItemInfo(BaseStruct):
|
|||||||
goodType: str
|
goodType: str
|
||||||
perCount: int
|
perCount: int
|
||||||
weight: int
|
weight: int
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
orderId: int
|
orderId: int
|
||||||
|
|
||||||
|
|
||||||
@ -486,7 +486,7 @@ class RuneData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class RuneTablePackedRuneData(BaseStruct):
|
class RuneTablePackedRuneData(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
points: float
|
points: float
|
||||||
mutexGroupKey: Union[str, None]
|
mutexGroupKey: Union[str, None]
|
||||||
description: str
|
description: str
|
||||||
@ -514,7 +514,7 @@ class Act5D1Data(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class ActivityCollectionDataCollectionInfo(BaseStruct):
|
class ActivityCollectionDataCollectionInfo(BaseStruct):
|
||||||
id_: int = field(name='id')
|
id_: int = field(name="id")
|
||||||
itemType: str
|
itemType: str
|
||||||
itemId: str
|
itemId: str
|
||||||
itemCnt: int
|
itemCnt: int
|
||||||
@ -724,7 +724,7 @@ class Act13SideDataLongTermMissionData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class Act13SideDataDailyMissionData(BaseStruct):
|
class Act13SideDataDailyMissionData(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
sortId: int
|
sortId: int
|
||||||
description: str
|
description: str
|
||||||
missionName: str
|
missionName: str
|
||||||
@ -917,7 +917,7 @@ class Act17sideDataMainlineChapterData(BaseStruct):
|
|||||||
chapterDes: str
|
chapterDes: str
|
||||||
chapterIcon: str
|
chapterIcon: str
|
||||||
unlockDes: str
|
unlockDes: str
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
|
|
||||||
|
|
||||||
class Act17sideDataMainlineData(BaseStruct):
|
class Act17sideDataMainlineData(BaseStruct):
|
||||||
@ -1160,14 +1160,14 @@ class SharedCharData(BaseStruct):
|
|||||||
evolvePhase: int
|
evolvePhase: int
|
||||||
level: int
|
level: int
|
||||||
favorPoint: int
|
favorPoint: int
|
||||||
currentEquip: Union[str, None] = field(name='currentEquip', default=None)
|
currentEquip: Union[str, None] = field(name="currentEquip", default=None)
|
||||||
equips: Union[Dict[str, SharedCharDataCharEquipInfo], None] = field(name='equip', default={})
|
equips: Union[Dict[str, SharedCharDataCharEquipInfo], None] = field(name="equip", default={})
|
||||||
skillIndex: Union[int, None] = None
|
skillIndex: Union[int, None] = None
|
||||||
skinId: Union[str, None] = None
|
skinId: Union[str, None] = None
|
||||||
skin: Union[str, None] = None
|
skin: Union[str, None] = None
|
||||||
skills: Union[List[SharedCharDataSharedCharSkillData], None] = None
|
skills: Union[List[SharedCharDataSharedCharSkillData], None] = None
|
||||||
crisisRecord: Union[Dict[str, int], None] = None
|
crisisRecord: Union[Dict[str, int], None] = None
|
||||||
currentTmpl: Union[Union[str, None], None] = None
|
currentTmpl: Union[Union[str, None]] = None
|
||||||
tmpl: Union[Dict[str, SharedCharDataTmplData], None] = None
|
tmpl: Union[Dict[str, SharedCharDataTmplData], None] = None
|
||||||
|
|
||||||
|
|
||||||
@ -1222,8 +1222,8 @@ class ActivityBossRushDataBossRushStageAdditionData(BaseStruct):
|
|||||||
class ActivityBossRushDataDisplayDetailRewards(BaseStruct):
|
class ActivityBossRushDataDisplayDetailRewards(BaseStruct):
|
||||||
occPercent: int
|
occPercent: int
|
||||||
dropCount: int
|
dropCount: int
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
dropType: int
|
dropType: int
|
||||||
|
|
||||||
|
|
||||||
@ -1319,15 +1319,15 @@ class ActivityFloatParadeDataDailyData(BaseStruct):
|
|||||||
|
|
||||||
class ActivityFloatParadeDataRewardPool(BaseStruct):
|
class ActivityFloatParadeDataRewardPool(BaseStruct):
|
||||||
grpId: str
|
grpId: str
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
name: str
|
name: str
|
||||||
desc: Union[str, None]
|
desc: Union[str, None]
|
||||||
reward: ItemBundle
|
reward: ItemBundle
|
||||||
|
|
||||||
|
|
||||||
class ActivityFloatParadeDataTactic(BaseStruct):
|
class ActivityFloatParadeDataTactic(BaseStruct):
|
||||||
id_: int = field(name='id')
|
id_: int = field(name="id")
|
||||||
name: str
|
name: str
|
||||||
packName: str
|
packName: str
|
||||||
briefName: str
|
briefName: str
|
||||||
@ -1366,7 +1366,7 @@ class ActSandboxData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class ActivityMainlineBuffDataMissionGroupData(BaseStruct):
|
class ActivityMainlineBuffDataMissionGroupData(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
bindBanner: str
|
bindBanner: str
|
||||||
sortId: int
|
sortId: int
|
||||||
zoneId: str
|
zoneId: str
|
||||||
@ -1382,7 +1382,7 @@ class ActivityMainlineBuffDataPeriodDataStepData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class ActivityMainlineBuffDataPeriodData(BaseStruct):
|
class ActivityMainlineBuffDataPeriodData(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
startTime: int
|
startTime: int
|
||||||
endTime: int
|
endTime: int
|
||||||
favorUpCharDesc: str
|
favorUpCharDesc: str
|
||||||
@ -1482,23 +1482,23 @@ class Act24SideDataMissionExtraData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class WeightItemBundle(BaseStruct):
|
class WeightItemBundle(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
dropType: str
|
dropType: str
|
||||||
count: int
|
count: int
|
||||||
weight: int
|
weight: int
|
||||||
|
|
||||||
|
|
||||||
class StageDataDisplayRewards(BaseStruct):
|
class StageDataDisplayRewards(BaseStruct):
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
dropType: int
|
dropType: int
|
||||||
|
|
||||||
|
|
||||||
class StageDataDisplayDetailRewards(BaseStruct):
|
class StageDataDisplayDetailRewards(BaseStruct):
|
||||||
occPercent: int
|
occPercent: int
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
dropType: int
|
dropType: int
|
||||||
|
|
||||||
|
|
||||||
@ -1567,7 +1567,7 @@ class Act25SideDataArchiveItemData(BaseStruct):
|
|||||||
|
|
||||||
class Act25SideDataArchiveMapInfoData(BaseStruct):
|
class Act25SideDataArchiveMapInfoData(BaseStruct):
|
||||||
objectId: str
|
objectId: str
|
||||||
type_: int = field(name='type')
|
type_: int = field(name="type")
|
||||||
numberId: str
|
numberId: str
|
||||||
areaId: str
|
areaId: str
|
||||||
sortId: int
|
sortId: int
|
||||||
@ -1590,7 +1590,7 @@ class Act25SideDataAreaInfoData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class Act25SideDataAreaMissionData(BaseStruct):
|
class Act25SideDataAreaMissionData(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
areaId: str
|
areaId: str
|
||||||
preposedMissionId: Union[str, None]
|
preposedMissionId: Union[str, None]
|
||||||
sortId: int
|
sortId: int
|
||||||
@ -1679,7 +1679,7 @@ class Act38D1DataAct38D1DimensionItemData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class Act38D1DataAct38D1CommentData(BaseStruct):
|
class Act38D1DataAct38D1CommentData(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
sortId: int
|
sortId: int
|
||||||
desc: str
|
desc: str
|
||||||
|
|
||||||
@ -1714,7 +1714,7 @@ class Act38D1Data(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class Act27SideDataAct27SideGoodData(BaseStruct):
|
class Act27SideDataAct27SideGoodData(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
name: str
|
name: str
|
||||||
typeDesc: str
|
typeDesc: str
|
||||||
iconId: str
|
iconId: str
|
||||||
@ -1833,7 +1833,7 @@ class Act42D0DataEffectGroupInfoData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class Act42D0DataEffectInfoRuneData(BaseStruct):
|
class Act42D0DataEffectInfoRuneData(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
points: int
|
points: int
|
||||||
mutexGroupKey: Union[str, None]
|
mutexGroupKey: Union[str, None]
|
||||||
description: str
|
description: str
|
||||||
@ -1893,6 +1893,7 @@ class Act42D0DataMilestoneData(BaseStruct):
|
|||||||
tokenNum: int
|
tokenNum: int
|
||||||
item: ItemBundle
|
item: ItemBundle
|
||||||
|
|
||||||
|
|
||||||
class Act42D0DataConstData(BaseStruct):
|
class Act42D0DataConstData(BaseStruct):
|
||||||
milestoneId: str
|
milestoneId: str
|
||||||
strifeName: str
|
strifeName: str
|
||||||
@ -1959,8 +1960,8 @@ class ActivityThemeDataTimeNode(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class ActivityThemeData(BaseStruct):
|
class ActivityThemeData(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
funcId: str
|
funcId: str
|
||||||
endTs: int
|
endTs: int
|
||||||
sortId: int
|
sortId: int
|
||||||
@ -2422,7 +2423,7 @@ class ActivityTableExtraData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class ActivityTable(BaseStruct):
|
class ActivityTable(BaseStruct):
|
||||||
__version__ = '23-07-27-18-50-06-aeb568'
|
__version__ = "23-07-27-18-50-06-aeb568"
|
||||||
|
|
||||||
basicInfo: Dict[str, ActivityTableBasicData]
|
basicInfo: Dict[str, ActivityTableBasicData]
|
||||||
homeActConfig: Dict[str, ActivityTableHomeActivityConfig]
|
homeActConfig: Dict[str, ActivityTableHomeActivityConfig]
|
||||||
|
@ -30,9 +30,9 @@ class GachaDataCarouselData(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class ItemBundle(BaseStruct):
|
class ItemBundle(BaseStruct):
|
||||||
id_: str = field(name='id')
|
id_: str = field(name="id")
|
||||||
count: int
|
count: int
|
||||||
type_: str = field(name='type')
|
type_: str = field(name="type")
|
||||||
|
|
||||||
|
|
||||||
class GachaDataRecruitRange(BaseStruct):
|
class GachaDataRecruitRange(BaseStruct):
|
||||||
@ -92,8 +92,8 @@ class GachaPoolClientData(BaseStruct):
|
|||||||
guarantee5Count: int
|
guarantee5Count: int
|
||||||
LMTGSID: Union[str, None]
|
LMTGSID: Union[str, None]
|
||||||
openTime: int
|
openTime: int
|
||||||
dynMeta: Union[Dict[str, object], None, None] = None
|
dynMeta: Union[Dict[str, object], None] = None
|
||||||
linkageParam: Union[Dict[str, object], None, None] = None
|
linkageParam: Union[Dict[str, object], None] = None
|
||||||
linkageRuleId: Union[str, None] = None
|
linkageRuleId: Union[str, None] = None
|
||||||
|
|
||||||
|
|
||||||
@ -129,7 +129,7 @@ class GachaDataFesGachaPoolRelateItem(BaseStruct):
|
|||||||
|
|
||||||
|
|
||||||
class GachaTable(BaseStruct):
|
class GachaTable(BaseStruct):
|
||||||
__version__ = '23-07-27-18-50-06-aeb568'
|
__version__ = "23-07-27-18-50-06-aeb568"
|
||||||
|
|
||||||
gachaTags: List[GachaTag]
|
gachaTags: List[GachaTag]
|
||||||
carousel: List[GachaDataCarouselData]
|
carousel: List[GachaDataCarouselData]
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
from typing import Dict, List, Union
|
from typing import Dict, List, Union
|
||||||
from ..common import BaseStruct
|
from ..common import BaseStruct
|
||||||
from msgspec import field
|
from msgspec import field
|
||||||
from msgspec import json as msgjson
|
|
||||||
|
|
||||||
|
|
||||||
class ItemBundle(BaseStruct):
|
class ItemBundle(BaseStruct):
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
from typing import Dict
|
from typing import Dict
|
||||||
from ..common import BaseStruct
|
from ..common import BaseStruct
|
||||||
from msgspec import json as msgjson
|
|
||||||
|
|
||||||
|
|
||||||
class HandbookTeam(BaseStruct):
|
class HandbookTeam(BaseStruct):
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
from typing import Dict, List, Union
|
from typing import Dict, List, Union
|
||||||
from ..common import BaseStruct
|
from ..common import BaseStruct
|
||||||
from msgspec import field
|
from msgspec import field
|
||||||
from msgspec import json as msgjson
|
|
||||||
|
|
||||||
|
|
||||||
class GridPosition(BaseStruct):
|
class GridPosition(BaseStruct):
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
from typing import Dict, List
|
from typing import Dict, List
|
||||||
from ..common import BaseStruct
|
from ..common import BaseStruct
|
||||||
from msgspec import field
|
from msgspec import field
|
||||||
from msgspec import json as msgjson
|
|
||||||
|
|
||||||
|
|
||||||
class ItemBundle(BaseStruct):
|
class ItemBundle(BaseStruct):
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
from typing import Dict, List, Union
|
from typing import Dict, List, Union
|
||||||
from ..common import BaseStruct
|
from ..common import BaseStruct
|
||||||
from msgspec import field
|
from msgspec import field
|
||||||
from msgspec.inspect import NoneType
|
|
||||||
|
|
||||||
|
|
||||||
class ItemBundle(BaseStruct):
|
class ItemBundle(BaseStruct):
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
from typing import Dict, List, Union
|
from typing import Dict, List, Union
|
||||||
from ..common import BaseStruct
|
from ..common import BaseStruct
|
||||||
from msgspec import field
|
from msgspec import field
|
||||||
from msgspec import json as msgjson
|
|
||||||
|
|
||||||
|
|
||||||
class ItemBundle(BaseStruct):
|
class ItemBundle(BaseStruct):
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
from typing import Dict, List, Union
|
from typing import Dict, List, Union
|
||||||
from ..common import BaseStruct
|
from ..common import BaseStruct
|
||||||
from msgspec import field
|
from msgspec import field
|
||||||
from msgspec import json as msgjson
|
|
||||||
|
|
||||||
|
|
||||||
class ItemBundle(BaseStruct):
|
class ItemBundle(BaseStruct):
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
from typing import Dict, List, Union
|
from typing import Dict, List, Union
|
||||||
from ..common import BaseStruct
|
from ..common import BaseStruct
|
||||||
from msgspec import field
|
from msgspec import field
|
||||||
from msgspec import json as msgjson
|
|
||||||
|
|
||||||
|
|
||||||
class StoryDataTrigger(BaseStruct):
|
class StoryDataTrigger(BaseStruct):
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
from typing import Dict, List, Union
|
from typing import Dict, List, Union
|
||||||
from ..common import BaseStruct
|
from ..common import BaseStruct
|
||||||
from msgspec import field
|
from msgspec import field
|
||||||
from msgspec import json as msgjson
|
|
||||||
|
|
||||||
|
|
||||||
class CharacterDataUnlockCondition(BaseStruct):
|
class CharacterDataUnlockCondition(BaseStruct):
|
||||||
|
@ -416,7 +416,7 @@ class BuildingTraining(Struct):
|
|||||||
lastUpdateTime: int
|
lastUpdateTime: int
|
||||||
remainSecs: int
|
remainSecs: int
|
||||||
slotState: int
|
slotState: int
|
||||||
trainee: Union[BuildingTrainingTrainee, None]
|
trainee: Union[BuildingTrainingTrainee, None]
|
||||||
trainer: Union[BuildingTrainingTrainer, None]
|
trainer: Union[BuildingTrainingTrainer, None]
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,44 +2,44 @@
|
|||||||
"resource": {
|
"resource": {
|
||||||
"gamedata": {
|
"gamedata": {
|
||||||
"activity_table.json": {
|
"activity_table.json": {
|
||||||
"size": 3617993,
|
"size": 6058773,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/cefe664b0d42100e08a17885956a2064.json"
|
"url": "http://182.43.43.40:8765/UploadPic/ca02ede211988b47a47d88f768c111af.json"
|
||||||
},
|
},
|
||||||
"audio_data.json": {
|
"audio_data.json": {
|
||||||
"size": 2708008,
|
"size": 4041589,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/3658cfb18cd866d05fa28a380184d1f3.json"
|
"url": "http://182.43.43.40:8765/UploadPic/379639883b45ae4b7351bb5c9ef50233.json"
|
||||||
},
|
},
|
||||||
"battle_equip_table.json": {
|
"battle_equip_table.json": {
|
||||||
"size": 1551456,
|
"size": 3031743,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/0e85cbe4438a6816bb56ebcb47bcffb8.json"
|
"url": "http://182.43.43.40:8765/UploadPic/734751c40d12ec638e1cd4ba25a3f53e.json"
|
||||||
},
|
},
|
||||||
"building_data.json": {
|
"building_data.json": {
|
||||||
"size": 2425734,
|
"size": 3630102,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/df81909eaf509920a870b94570cc381b.json"
|
"url": "http://182.43.43.40:8765/UploadPic/6ce85982090ce56868a99cd5b9123a68.json"
|
||||||
},
|
},
|
||||||
"campaign_table.json": {
|
"campaign_table.json": {
|
||||||
"size": 189568,
|
"size": 382494,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/b6997e66bf9ff5f3b429aa895510c565.json"
|
"url": "http://182.43.43.40:8765/UploadPic/952e62083418194b3b300797e8cce07e.json"
|
||||||
},
|
},
|
||||||
"chapter_table.json": {
|
"chapter_table.json": {
|
||||||
"size": 971,
|
"size": 971,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/37811c39da5a5982909814c1ff30bd5f.json"
|
"url": "http://182.43.43.40:8765/UploadPic/37811c39da5a5982909814c1ff30bd5f.json"
|
||||||
},
|
},
|
||||||
"character_table.json": {
|
"character_table.json": {
|
||||||
"size": 5538282,
|
"size": 10452279,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/b5883032cfeb26e061acb85aa99dfeb9.json"
|
"url": "http://182.43.43.40:8765/UploadPic/9e05a1615dce99ed63275c39b80a0075.json"
|
||||||
},
|
},
|
||||||
"charm_table.json": {
|
"charm_table.json": {
|
||||||
"size": 79221,
|
"size": 115959,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/837d8b0a8ce7c2cf1624047088d9fd25.json"
|
"url": "http://182.43.43.40:8765/UploadPic/531ca7c8a0e50ce887cb82c53bfc1735.json"
|
||||||
},
|
},
|
||||||
"charword_table.json": {
|
"charword_table.json": {
|
||||||
"size": 6076362,
|
"size": 8074944,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/31c493f626ee9481e3bfeee9bbac83ca.json"
|
"url": "http://182.43.43.40:8765/UploadPic/f6dd33d18c18b9a604a9da3d061f468c.json"
|
||||||
},
|
},
|
||||||
"char_meta_table.json": {
|
"char_meta_table.json": {
|
||||||
"size": 38796,
|
"size": 68701,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/793b8b9018fac30195b5436ce3bf7019.json"
|
"url": "http://182.43.43.40:8765/UploadPic/92ccb17b677a7c45ccd0d2ba1a47ba97.json"
|
||||||
},
|
},
|
||||||
"char_patch_table.json": {
|
"char_patch_table.json": {
|
||||||
"size": 32184,
|
"size": 32184,
|
||||||
@ -50,8 +50,8 @@
|
|||||||
"url": "http://182.43.43.40:8765/UploadPic/66c5b9adff70e540de47ba9727634bd1.json"
|
"url": "http://182.43.43.40:8765/UploadPic/66c5b9adff70e540de47ba9727634bd1.json"
|
||||||
},
|
},
|
||||||
"climb_tower_table.json": {
|
"climb_tower_table.json": {
|
||||||
"size": 190403,
|
"size": 311399,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/58f09936b64e3234c334f5eff95b2d77.json"
|
"url": "http://182.43.43.40:8765/UploadPic/266de955492e71c71352e5a7f15b874a.json"
|
||||||
},
|
},
|
||||||
"clue_data.json": {
|
"clue_data.json": {
|
||||||
"size": 9157,
|
"size": 9157,
|
||||||
@ -62,28 +62,28 @@
|
|||||||
"url": "http://182.43.43.40:8765/UploadPic/e0ae91a98b61c08815e7cee46d6db028.json"
|
"url": "http://182.43.43.40:8765/UploadPic/e0ae91a98b61c08815e7cee46d6db028.json"
|
||||||
},
|
},
|
||||||
"display_meta_table.json": {
|
"display_meta_table.json": {
|
||||||
"size": 34841,
|
"size": 45602,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/66f32d6721f3687a490d25b11de943ec.json"
|
"url": "http://182.43.43.40:8765/UploadPic/2d6d23ae655c3f21845b5ed867a5b581.json"
|
||||||
},
|
},
|
||||||
"enemy_handbook_table.json": {
|
"enemy_handbook_table.json": {
|
||||||
"size": 732668,
|
"size": 1013166,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/ddd67d4020ba10df51729a521fdcf7bd.json"
|
"url": "http://182.43.43.40:8765/UploadPic/666dadfd65d9a33e7bb30bb33e83a05b.json"
|
||||||
},
|
},
|
||||||
"favor_table.json": {
|
"favor_table.json": {
|
||||||
"size": 39045,
|
"size": 39045,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/a2aad37d3f67ffae35ce18aaba24898a.json"
|
"url": "http://182.43.43.40:8765/UploadPic/a2aad37d3f67ffae35ce18aaba24898a.json"
|
||||||
},
|
},
|
||||||
"gacha_table.json": {
|
"gacha_table.json": {
|
||||||
"size": 178149,
|
"size": 242650,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/75fb6bfd0b5e357193096aa157ccc906.json"
|
"url": "http://182.43.43.40:8765/UploadPic/e924b4bd3c8b4c979824dd6c20d70ca6.json"
|
||||||
},
|
},
|
||||||
"gamedata_const.json": {
|
"gamedata_const.json": {
|
||||||
"size": 35107,
|
"size": 48781,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/63bdad10caad55b5ffddf549f183a979.json"
|
"url": "http://182.43.43.40:8765/UploadPic/9a03b2dac8b88e623576505ec0fc1202.json"
|
||||||
},
|
},
|
||||||
"handbook_info_table.json": {
|
"handbook_info_table.json": {
|
||||||
"size": 2962186,
|
"size": 3759461,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/ab82d40b40b2eb1d6d01c25eb19578bd.json"
|
"url": "http://182.43.43.40:8765/UploadPic/405a039b90274d8015336d84b3fded72.json"
|
||||||
},
|
},
|
||||||
"handbook_table.json": {
|
"handbook_table.json": {
|
||||||
"size": 17270,
|
"size": 17270,
|
||||||
@ -94,12 +94,12 @@
|
|||||||
"url": "http://182.43.43.40:8765/UploadPic/eb15c058fb2607fd149146b47b0657a3.json"
|
"url": "http://182.43.43.40:8765/UploadPic/eb15c058fb2607fd149146b47b0657a3.json"
|
||||||
},
|
},
|
||||||
"item_table.json": {
|
"item_table.json": {
|
||||||
"size": 733611,
|
"size": 1010888,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/a7a5268a2ec321285b4836b59b9ca208.json"
|
"url": "http://182.43.43.40:8765/UploadPic/1f27a07800ebb2d9a25eead50fb8f380.json"
|
||||||
},
|
},
|
||||||
"medal_table.json": {
|
"medal_table.json": {
|
||||||
"size": 674958,
|
"size": 935542,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/1b9781c9b3747128f959890ebc78d5b0.json"
|
"url": "http://182.43.43.40:8765/UploadPic/e2beecafdb5f062084252d86c88c8887.json"
|
||||||
},
|
},
|
||||||
"mission_table.json": {
|
"mission_table.json": {
|
||||||
"size": 605772,
|
"size": 605772,
|
||||||
@ -114,60 +114,60 @@
|
|||||||
"url": "http://182.43.43.40:8765/UploadPic/ed23f950d5771278aee506281dc0df5d.json"
|
"url": "http://182.43.43.40:8765/UploadPic/ed23f950d5771278aee506281dc0df5d.json"
|
||||||
},
|
},
|
||||||
"range_table.json": {
|
"range_table.json": {
|
||||||
"size": 30463,
|
"size": 58423,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/b7dacd2e98938f6bd796328268fea129.json"
|
"url": "http://182.43.43.40:8765/UploadPic/1b5e45111d64a38dccc022c7927ff839.json"
|
||||||
},
|
},
|
||||||
"replicate_table.json": {
|
"replicate_table.json": {
|
||||||
"size": 89591,
|
"size": 89591,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/808ddd375e78fa52c18746a331e5f3af.json"
|
"url": "http://182.43.43.40:8765/UploadPic/808ddd375e78fa52c18746a331e5f3af.json"
|
||||||
},
|
},
|
||||||
"retro_table.json": {
|
"retro_table.json": {
|
||||||
"size": 1808414,
|
"size": 2813644,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/6f0ec38c5c42841815ae755df821b9e4.json"
|
"url": "http://182.43.43.40:8765/UploadPic/c870b1c49ff24a5ec2aa40492ee4b3d7.json"
|
||||||
},
|
},
|
||||||
"roguelike_table.json": {
|
"roguelike_table.json": {
|
||||||
"size": 493073,
|
"size": 493073,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/f6d59f951312558c0129b7841746574c.json"
|
"url": "http://182.43.43.40:8765/UploadPic/f6d59f951312558c0129b7841746574c.json"
|
||||||
},
|
},
|
||||||
"roguelike_topic_table.json": {
|
"roguelike_topic_table.json": {
|
||||||
"size": 3528499,
|
"size": 5699885,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/479199f6e8d5871a0d45c93397a1126b.json"
|
"url": "http://182.43.43.40:8765/UploadPic/e5d08eb0896a3e76552baa4fd685e97f.json"
|
||||||
},
|
},
|
||||||
"sandbox_table.json": {
|
"sandbox_table.json": {
|
||||||
"size": 502898,
|
"size": 798748,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/2e6122a73a84d1ce026089028447c129.json"
|
"url": "http://182.43.43.40:8765/UploadPic/5bc662e1bd9a3ddfda37d1b3b765098f.json"
|
||||||
},
|
},
|
||||||
"shop_client_table.json": {
|
"shop_client_table.json": {
|
||||||
"size": 452691,
|
"size": 732952,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/1d456f06839312222c4fbb64e9431320.json"
|
"url": "http://182.43.43.40:8765/UploadPic/e1dd10935449a82c40bfd7654aca5e54.json"
|
||||||
},
|
},
|
||||||
"skill_table.json": {
|
"skill_table.json": {
|
||||||
"size": 4662310,
|
"size": 7641135,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/59b052619233f98b3149d663698c623b.json"
|
"url": "http://182.43.43.40:8765/UploadPic/00fbd465651b3d75c6807404b115351e.json"
|
||||||
},
|
},
|
||||||
"skin_table.json": {
|
"skin_table.json": {
|
||||||
"size": 1515491,
|
"size": 2205554,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/e1a03bdefabeaf6cef11d99339c606c2.json"
|
"url": "http://182.43.43.40:8765/UploadPic/28c8c1de9d67fc2d2a71048063f264c4.json"
|
||||||
},
|
},
|
||||||
"stage_table.json": {
|
"stage_table.json": {
|
||||||
"size": 7550411,
|
"size": 12741944,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/062d60ae8094f9cb5eae375c1337d807.json"
|
"url": "http://182.43.43.40:8765/UploadPic/de825c46b6305a7c68cb73033f84ff94.json"
|
||||||
},
|
},
|
||||||
"story_review_meta_table.json": {
|
"story_review_meta_table.json": {
|
||||||
"size": 442837,
|
"size": 442837,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/467a1bfb27b9b105827330aa75ad1f25.json"
|
"url": "http://182.43.43.40:8765/UploadPic/467a1bfb27b9b105827330aa75ad1f25.json"
|
||||||
},
|
},
|
||||||
"story_review_table.json": {
|
"story_review_table.json": {
|
||||||
"size": 931676,
|
"size": 1377869,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/caa32c62eea4bd0a3eaebb500283216c.json"
|
"url": "http://182.43.43.40:8765/UploadPic/6df7cd52f7907e26fff280c2f8d1fe35.json"
|
||||||
},
|
},
|
||||||
"story_table.json": {
|
"story_table.json": {
|
||||||
"size": 749798,
|
"size": 1060689,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/23fd7690a328437493b6320ae60265a0.json"
|
"url": "http://182.43.43.40:8765/UploadPic/5a7a93e2219e135dd236aa5c3743fcd7.json"
|
||||||
},
|
},
|
||||||
"tech_buff_table.json": {
|
"tech_buff_table.json": {
|
||||||
"size": 7101,
|
"size": 12123,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/ce9e348ca3366b7ed75bce7b600349a4.json"
|
"url": "http://182.43.43.40:8765/UploadPic/7a4b2c5370ec8afc677f531cb8f0281c.json"
|
||||||
},
|
},
|
||||||
"tip_table.json": {
|
"tip_table.json": {
|
||||||
"size": 19659,
|
"size": 19659,
|
||||||
@ -182,12 +182,12 @@
|
|||||||
"url": "http://182.43.43.40:8765/UploadPic/1d89fb12977515ccb0887b391a781928.json"
|
"url": "http://182.43.43.40:8765/UploadPic/1d89fb12977515ccb0887b391a781928.json"
|
||||||
},
|
},
|
||||||
"uniequip_table.json": {
|
"uniequip_table.json": {
|
||||||
"size": 1299462,
|
"size": 1748170,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/d3f868fa8e38152b05031b6cbb655c11.json"
|
"url": "http://182.43.43.40:8765/UploadPic/9dc60db540be32c8416765505a5054ce.json"
|
||||||
},
|
},
|
||||||
"zone_table.json": {
|
"zone_table.json": {
|
||||||
"size": 138618,
|
"size": 213130,
|
||||||
"url": "http://182.43.43.40:8765/UploadPic/c6562d73503d5f105054d63e18e7b186.json"
|
"url": "http://182.43.43.40:8765/UploadPic/fd68fa523fdd65c2b34c715be8cf5281.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
ArknightsUID_version = '0.1.0'
|
ArknightsUID_version = "0.1.0"
|
||||||
Arknights_Client_version = '2.0.81'
|
Arknights_Client_version = "2.0.81"
|
||||||
Arknights_Res_version = '23-09-20-13-28-42-486799'
|
Arknights_Res_version = "23-09-20-13-28-42-486799"
|
||||||
|
@ -34,7 +34,7 @@ build-backend = "pdm.backend"
|
|||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 108
|
line-length = 108
|
||||||
target-version = ["py311"]
|
target-version = ["py38"]
|
||||||
include = '\.pyi?$'
|
include = '\.pyi?$'
|
||||||
skip-string-normalization = true
|
skip-string-normalization = true
|
||||||
extend-exclude = '''
|
extend-exclude = '''
|
||||||
@ -60,4 +60,4 @@ select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q"]
|
|||||||
ignore = ["C901", "Q000"]
|
ignore = ["C901", "Q000"]
|
||||||
|
|
||||||
line-length = 108
|
line-length = 108
|
||||||
target-version = ["py38", "py39", "py310", "py311"]
|
target-version = "py38"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user