Replies: 5 comments 2 replies
-
{
"info": {
"export_timestamp": 0,
"export_app": "",
"export_app_version": "",
"version": "v4.0",
// Compatibility
"uigf_version": "v4.0",
"uid": "",
"lang": "",
"region_time_zone": 8
},
// Compatibility
"list": [],
"hk4e": [
{
"uid": 100000000,
"timezone": 8,
"lang": "zh-cn",
"list": [
{
"uigf_gacha_type": "301",
"gacha_type": "301",
"item_id": "12302",
"count": "1",
"time": "2022-03-13 22:49:00",
"name": "沐浴龙血的剑",
"item_type": "武器",
"rank_type": "3",
"id": "1647180360001882742"
}
]
}
],
"hkrpg": [
{
"uid": 100000000,
"timezone": 8,
"lang": "zh-cn",
"list": [
{
"gacha_id": "1001",
"id": "1682478600017229829",
"gacha_type": "1",
"name": "艾丝妲",
"item_type": "角色",
"rank_type": "4",
"time": "2023-04-26 11:19:53",
"item_id": "1009",
"count": "1"
}
]
}
],
"nap": [
{
"uid": "10000000",
"timezone": 8,
"lang": "zh-cn",
"list": [
{
"gacha_id": "0",
"gacha_type": "1",
"item_id": "12014",
"count": "1",
"time": "2024-07-08 12:44:19",
"name": "「恒等式」-变格",
"lang": "zh-cn",
"item_type": "音擎",
"rank_type": "2",
"id": "1720411200008764843"
},
]
}
]
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
uid 类型一致 info -> uid: string |
Beta Was this translation helpful? Give feedback.
1 reply
-
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"info": {
"type": "object",
"properties": {
"export_timestamp": {
"type": "string|integer",
"description": "导出档案的时间戳,秒级"
},
"export_app": {
"type": "string",
"description": "导出档案的 App 名称"
},
"export_app_version": {
"type": "string",
"description": "导出档案的 App 版本"
},
"version": {
"type": "string",
"pattern": "^v\\d+\\.\\d+$",
"description": "导出档案的 UIGF 版本号,格式为 'v{major}.{minor}',如 v4.0"
}
},
"required": [
"export_timestamp",
"export_app",
"export_app_version",
"version"
]
},
"hk4e": {
"type": "array",
"items": {
"type": "object",
"properties": {
"uid": {
"type": "string|integer",
"description": "UID"
},
"timezone": {
"type": "integer",
"description": "时区偏移"
},
"lang": {
"type": "string",
"description": "语言代码"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"uigf_gacha_type": {
"type": "string",
"description": "UIGF 卡池类型,用于区分卡池类型不同,但卡池保底计算相同的物品",
"enum": [
"100",
"200",
"301",
"302",
"500"
]
},
"gacha_type": {
"type": "string",
"description": "卡池类型,API返回",
"enum": [
"100",
"200",
"301",
"302",
"400",
"500"
]
},
"item_id": {
"type": "string",
"description": "物品的内部 ID"
},
"count": {
"type": "string",
"description": "物品个数,一般为1,API返回"
},
"time": {
"type": "string",
"description": "获取物品的本地时间,与 timezone 一起计算出物品的准确获取时间,API返回"
},
"name": {
"type": "string",
"description": "物品名称, API返回"
},
"item_type": {
"type": "string",
"description": "物品类型, API返回"
},
"rank_type": {
"type": "string",
"description": "物品等级, API返回"
},
"id": {
"type": "string",
"description": "记录内部 ID, API返回"
}
},
"required": [
"uigf_gacha_type",
"gacha_type",
"item_id",
"time",
"id"
]
}
}
},
"required": [
"uid",
"timezone",
"lang",
"list"
]
}
},
"hkrpg": {
"type": "array",
"items": {
"type": "object",
"properties": {
"uid": {
"type": "string|integer",
"description": "UID"
},
"timezone": {
"type": "integer",
"description": "时区偏移"
},
"lang": {
"type": "string",
"description": "语言代码"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"gacha_id": {
"type": "string",
"description": "卡池 Id"
},
"gacha_type": {
"type": "string",
"description": "卡池类型",
"enum": [
"1",
"2",
"11",
"12"
]
},
"item_id": {
"type": "string",
"description": "物品的内部 ID"
},
"count": {
"type": "string",
"description": "物品个数,一般为1,API返回"
},
"time": {
"type": "string",
"description": "获取物品的本地时间,与 timezone 一起计算出物品的准确获取时间,API返回"
},
"name": {
"type": "string",
"description": "物品名称, API返回"
},
"item_type": {
"type": "string",
"description": "物品类型, API返回"
},
"rank_type": {
"type": "string",
"description": "物品等级, API返回"
},
"id": {
"type": "string",
"description": "内部 Id"
}
},
"required": [
"gacha_type",
"time",
"item_id",
"id"
]
}
}
},
"required": [
"uid",
"timezone",
"lang",
"list"
]
}
},
"nap": {
"type": "array",
"items": {
"type": "object",
"properties": {
"uid": {
"type": "string|integer",
"description": "UID"
},
"timezone": {
"type": "integer",
"description": "时区偏移"
},
"lang": {
"type": "string",
"description": "语言代码"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"gacha_id": {
"type": "string",
"description": "卡池 Id"
},
"gacha_type": {
"type": "string",
"description": "卡池类型",
"enum": [
"1",
"2",
"3",
"5"
]
},
"item_id": {
"type": "string",
"description": "物品的内部 ID"
},
"count": {
"type": "string",
"description": "物品个数,一般为1,API返回"
},
"time": {
"type": "string",
"description": "获取物品的本地时间,与 timezone 一起计算出物品的准确获取时间,API返回"
},
"name": {
"type": "string",
"description": "物品名称, API返回"
},
"item_type": {
"type": "string",
"description": "物品类型, API返回"
},
"rank_type": {
"type": "string",
"description": "物品等级, API返回"
},
"id": {
"type": "string",
"description": "记录内部 ID, API返回"
}
},
"required": [
"gacha_type",
"item_id",
"time",
"id"
]
}
}
},
"required": [
"uid",
"timezone",
"lang",
"list"
]
}
}
},
"required": [
"info"
]
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
满足未来更多游戏的导出格式
Beta Was this translation helpful? Give feedback.
All reactions