mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Enable final evaluate offsets as TODO
This commit is contained in:
@@ -81,7 +81,17 @@ public partial class Decompiler
|
|||||||
|
|
||||||
if (export.FinalEvaluateOffsets is { Length: > 0 })
|
if (export.FinalEvaluateOffsets is { Length: > 0 })
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
var xScripts = GetOrCreateElement(xExport, _nsUix + "Scripts");
|
||||||
|
|
||||||
|
foreach (var offset in export.FinalEvaluateOffsets)
|
||||||
|
{
|
||||||
|
var syntaxTree = DecompileScript(offset, export);
|
||||||
|
var scriptText = FormatScript(syntaxTree);
|
||||||
|
|
||||||
|
XElement xScript = new(_nsUix + "Script", scriptText);
|
||||||
|
xScripts.Add(new XComment("TODO: FinalEvaluateOffsets"));
|
||||||
|
xScripts.Add(xScript);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (export.Methods is { Length: > 0 })
|
if (export.Methods is { Length: > 0 })
|
||||||
|
|||||||
Reference in New Issue
Block a user