mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-22 23:12:59 +08:00
refactor(xmlmeta): Removed unneeded function params
This commit is contained in:
parent
b4efb0356f
commit
ba5f1c1db4
@ -72,7 +72,7 @@ namespace CodeWalker.GameFiles
|
|||||||
{
|
{
|
||||||
case MetaStructureEntryDataType.Array:
|
case MetaStructureEntryDataType.Array:
|
||||||
{
|
{
|
||||||
TraverseArray(cnode, mb, arrEntry, entry.DataOffset, arrayResults, data);
|
TraverseArray(cnode, mb, arrEntry, entry.DataOffset, arrayResults);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -273,7 +273,7 @@ namespace CodeWalker.GameFiles
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
arrayResults.WriteArrays(data, mb, type);
|
arrayResults.WriteArrays(data);
|
||||||
|
|
||||||
mb.AddStructureInfo(infos.StructureNameHash);
|
mb.AddStructureInfo(infos.StructureNameHash);
|
||||||
|
|
||||||
@ -288,7 +288,7 @@ namespace CodeWalker.GameFiles
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void TraverseArray(XmlNode node, MetaBuilder mb, MetaStructureEntryInfo_s arrEntry, int offset, ArrayResults results, byte[] data)
|
private static void TraverseArray(XmlNode node, MetaBuilder mb, MetaStructureEntryInfo_s arrEntry, int offset, ArrayResults results)
|
||||||
{
|
{
|
||||||
switch (arrEntry.DataType)
|
switch (arrEntry.DataType)
|
||||||
{
|
{
|
||||||
@ -611,7 +611,7 @@ namespace CodeWalker.GameFiles
|
|||||||
public Dictionary<int, Array_Vector3> Float_XYZs;
|
public Dictionary<int, Array_Vector3> Float_XYZs;
|
||||||
public Dictionary<int, Array_uint> Hashes;
|
public Dictionary<int, Array_uint> Hashes;
|
||||||
|
|
||||||
public void WriteArrays(byte[] data, MetaBuilder mb, MetaName type)
|
public void WriteArrays(byte[] data)
|
||||||
{
|
{
|
||||||
foreach (KeyValuePair<int, Array_Structure> ptr in Structures)
|
foreach (KeyValuePair<int, Array_Structure> ptr in Structures)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user