Fix bugs.

This commit is contained in:
Bruce
2026-04-10 13:58:15 +08:00
parent 0f7c4be17e
commit 200262d3ca
14 changed files with 334 additions and 44 deletions

View File

@@ -296,6 +296,11 @@ namespace PriFileFormat
DataOffset = dataOffset;
}
}
~ResourceMapSection ()
{
HierarchicalSchemaReference = null;
CandidateSets = null;
}
}
public enum ResourceValueType
{
@@ -318,6 +323,10 @@ namespace PriFileFormat
DecisionIndex = decisionIndex;
Candidates = candidates;
}
~CandidateSet ()
{
Candidates = null;
}
}
public class Candidate
@@ -343,6 +352,12 @@ namespace PriFileFormat
DataItem = null;
Data = data;
}
~Candidate ()
{
SourceFile = null;
DataItem = null;
Data = null;
}
}
public class HierarchicalSchemaReference
{
@@ -357,6 +372,10 @@ namespace PriFileFormat
Unknown2 = unknown2;
UniqueName = uniqueName;
}
~HierarchicalSchemaReference ()
{
VersionInfo = null;
}
}
public struct ResourceMapItemRef
{