mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-18 07:24:55 +08:00
补充 JSON/compact catalog 的 provider ID、bundle name、资源类型、hash、size、CRC 和依赖字段,并贯通 ResourceEntry、SQLite 资源索引和回归 golden。对 compact extra data 与 resource type index 的损坏返回明确错误,不再把 bundle name 当作 hash fallback。\n\n验证:cargo fmt --check;cargo test -p bat-core --locked;cargo test -p bat-adapters --locked;cargo test -p bat-infrastructure --locked;git diff --check。\n\nClippy 仍受既有 core/src/domain/game_client.rs:141 的 needless-question-mark 和 items-after-test-module 基线问题影响,未混入本 issue 修复。\n\nFixes #2
61 lines
1.9 KiB
JSON
61 lines
1.9 KiB
JSON
{
|
|
"format": "AddressablesCatalog",
|
|
"locator_id": "AddressablesMainContentCatalog",
|
|
"cdn_prefixes": [],
|
|
"resource_count": 3,
|
|
"resources": [
|
|
{
|
|
"path": "academy-_mxload-prefabs-2025-07-02_assets_all_638981069.bundle",
|
|
"hash": "hash-main",
|
|
"size": 1932872,
|
|
"resource_type": "AssetBundle",
|
|
"address": "academy-_mxload-prefabs-2025-07-02_assets_all_638981069.bundle",
|
|
"dependencies": [
|
|
"shared_assets_all_123.bundle"
|
|
],
|
|
"provider_id": "UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider",
|
|
"bundle_name": "bundle-main",
|
|
"crc": 0
|
|
},
|
|
{
|
|
"path": "academy-_mxload-prefabs-2025-08-26_assets_all_1581352935.bundle",
|
|
"hash": "hash-second",
|
|
"size": 162134,
|
|
"resource_type": "AssetBundle",
|
|
"address": "academy-_mxload-prefabs-2025-08-26_assets_all_1581352935.bundle",
|
|
"dependencies": [],
|
|
"provider_id": "UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider",
|
|
"bundle_name": "bundle-second",
|
|
"crc": 0
|
|
},
|
|
{
|
|
"path": "shared_assets_all_123.bundle",
|
|
"hash": "hash-shared",
|
|
"size": 153480,
|
|
"resource_type": "AssetBundle",
|
|
"address": "shared_assets_all_123.bundle",
|
|
"dependencies": [],
|
|
"provider_id": "UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider",
|
|
"bundle_name": "bundle-shared",
|
|
"crc": 0
|
|
}
|
|
],
|
|
"metadata": {
|
|
"asset_bundle_count": "3",
|
|
"declared_size_count": "3",
|
|
"bundle_name_count": "3",
|
|
"dependency_count": "1",
|
|
"internal_id_count": "3",
|
|
"resource_count": "3",
|
|
"resource_type_count": "1",
|
|
"provider_id_count": "3",
|
|
"key_object_count": "4",
|
|
"bucket_record_count": "4",
|
|
"entry_record_count": "3",
|
|
"key_data_string_len": "260",
|
|
"bucket_data_string_len": "72",
|
|
"entry_data_string_len": "120",
|
|
"extra_data_string_len": "1316"
|
|
}
|
|
}
|