Skip to content
This repository was archived by the owner on May 11, 2024. It is now read-only.

Commit 2d1e5a0

Browse files
committed
- [Core] bug fixes.
1 parent 90fd2a6 commit 2d1e5a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

AssetStudio/AssetsHelper.cs

+2
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,13 @@ private static void BuildAssetMap(string file, List<AssetEntry> assets, ClassIDT
403403
case ClassIDType.Animator when ClassIDType.Animator.CanParse():
404404
var component = new PPtr<Object>(objectReader);
405405
animators.Add((component, asset));
406+
asset.Name = objectReader.type.ToString();
406407
exportable = ClassIDType.Animator.CanExport();
407408
break;
408409
case ClassIDType.MiHoYoBinData when ClassIDType.MiHoYoBinData.CanParse():
409410
var MiHoYoBinData = new MiHoYoBinData(objectReader);
410411
obj = MiHoYoBinData;
412+
asset.Name = objectReader.type.ToString();
411413
exportable = ClassIDType.MiHoYoBinData.CanExport();
412414
break;
413415
case ClassIDType.IndexObject when ClassIDType.IndexObject.CanParse():

0 commit comments

Comments
 (0)