0.447.1.411123
This commit is contained in:
@ -87,7 +87,9 @@ namespace RobloxFiles
|
||||
}
|
||||
catch
|
||||
{
|
||||
Console.WriteLine($"RobloxFile - Got unknown Enum {name} in Attribute.");
|
||||
if (RobloxFile.LogErrors)
|
||||
Console.Error.WriteLine($"RobloxFile - Got unknown Enum {name} in Attribute.");
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
@ -512,6 +512,11 @@ namespace RobloxFiles
|
||||
if (field.GetCustomAttribute<ObsoleteAttribute>() != null)
|
||||
continue;
|
||||
|
||||
if (fieldName == "Archivable" || fieldName.EndsWith("k__BackingField"))
|
||||
continue;
|
||||
else if (fieldName == "Bevel_Roundness")
|
||||
fieldName = "Bevel Roundness";
|
||||
|
||||
PropertyType propType = PropertyType.Unknown;
|
||||
|
||||
if (Property.Types.ContainsKey(fieldType))
|
||||
|
@ -202,6 +202,9 @@ namespace RobloxFiles
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!RobloxFile.LogErrors)
|
||||
return false;
|
||||
|
||||
Console.Error.WriteLine($"RobloxFiles.Property - No defined member for {Instance.ClassName}.{Name}");
|
||||
}
|
||||
}
|
||||
@ -236,6 +239,9 @@ namespace RobloxFiles
|
||||
}
|
||||
catch
|
||||
{
|
||||
if (!RobloxFile.LogErrors)
|
||||
return;
|
||||
|
||||
Console.Error.WriteLine($"RobloxFiles.Property - Failed to cast value {value} into property {Instance.ClassName}.{Name}");
|
||||
}
|
||||
}
|
||||
@ -252,6 +258,9 @@ namespace RobloxFiles
|
||||
}
|
||||
catch
|
||||
{
|
||||
if (!RobloxFile.LogErrors)
|
||||
return;
|
||||
|
||||
Console.Error.WriteLine($"RobloxFiles.Property - Failed to implicitly cast value {value} into property {Instance.ClassName}.{Name}");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user