Add ScriptDebugger

This commit is contained in:
Max
2021-08-09 12:22:26 -05:00
parent 712f1c438c
commit 3355c44190
6 changed files with 36 additions and 2 deletions

View File

@ -6,7 +6,6 @@ using System.Text;
using RobloxFiles.Enums;
using RobloxFiles.DataTypes;
using RobloxFiles.Utility;
using System.Diagnostics;
using System.IO;
namespace RobloxFiles.BinaryFormat.Chunks
@ -51,6 +50,12 @@ namespace RobloxFiles.BinaryFormat.Chunks
return;
}
if (Class == null)
{
RobloxFile.LogError($"Unknown class index {ClassIndex} (@ {this})!");
return;
}
var ids = Class.InstanceIds;
int instCount = Class.NumInstances;
var props = new Property[instCount];