This commit is contained in:
SilicaAndPina 2020-09-08 11:05:02 +12:00
parent a4e56b8675
commit 98997a87de
1 changed files with 4 additions and 5 deletions

View File

@ -471,7 +471,7 @@ namespace CXML
IntList.Add(IntValue);
}
int[] IntArray = IntList.ToArray();
AttributeValue = String.Join(", ", IntArray);
AttributeValue = "[" + String.Join(", ", IntArray) + "]";
break;
case AttributeType.TYPE_FLOAT_ARRAY:
int FloatArrayOffset = bTreeTable.ReadInt32();
@ -486,7 +486,7 @@ namespace CXML
StrList.Add(FloatValue.ToString()+"f");
}
string[] StrArray = StrList.ToArray();
AttributeValue = String.Join(", ", StrArray);
AttributeValue = "[" + String.Join(", ", StrArray) + "]";
break;
case AttributeType.TYPE_FILE:
int FilePtr = bTreeTable.ReadInt32();
@ -513,9 +513,8 @@ namespace CXML
{
Console.WriteLine("File allready extracted \n(theres a VERY low chance that it acturally is a different file that has the same hash.)");
}
AttributeValue = FileName;
AttributeValue = Path.Combine("files", ElementName, FileHash + Extension);
break;
case AttributeType.TYPE_ID_STRING_LOOPBACK:
int StringIdTableOffset = bTreeTable.ReadInt32();