Add names of pptr objects to object dumps

This commit is contained in:
VaDiM
2024-11-02 04:51:21 +03:00
parent 316837dfdf
commit 18813b22c3
4 changed files with 5 additions and 0 deletions
+2
View File
@@ -23,6 +23,8 @@ namespace AssetStudio
public SerializedType serializedType;
public int classID;
public uint byteSize;
[JsonIgnore]
public string Name;
private static JsonSerializerOptions jsonOptions;
static Object()
+1
View File
@@ -6,6 +6,7 @@ namespace AssetStudio
{
public int m_FileID;
public long m_PathID;
public string Name => TryGet(out var result) ? result.Name : string.Empty;
private SerializedFile _assetsFile;
private int _index = -2; //-2 - Prepare, -1 - Missing