Bug fixes, debug tools for binary chunks.
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace RobloxFiles.BinaryFormat.Chunks
|
||||
{
|
||||
@ -79,5 +80,18 @@ namespace RobloxFiles.BinaryFormat.Chunks
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void WriteInfo(StringBuilder builder)
|
||||
{
|
||||
builder.AppendLine($"- ClassIndex: {ClassIndex}");
|
||||
builder.AppendLine($"- ClassName: {ClassName}");
|
||||
builder.AppendLine($"- IsService: {IsService}");
|
||||
|
||||
if (IsService && RootedServices != null)
|
||||
builder.AppendLine($"- RootedServices: `{string.Join(", ", RootedServices)}`");
|
||||
|
||||
builder.AppendLine($"- NumInstances: {NumInstances}");
|
||||
builder.AppendLine($"- InstanceIds: `{string.Join(", ", InstanceIds)}`");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user