PR #251 with additional fix

This commit is contained in:
dexy 2024-07-18 15:23:29 +10:00
parent e316115b41
commit bc48e0e45e
2 changed files with 9 additions and 6 deletions

View File

@ -1024,6 +1024,14 @@ namespace CodeWalker.GameFiles
return new[] { b0, b1, b2, b3, b4 };
}
}
[TC(typeof(EXP))] public struct ArrayOfFloats5
{
public float f0, f1, f2, f3, f4;
public float[] GetArray()
{
return new[] { f0, f1, f2, f3, f4 };
}
}
[TC(typeof(EXP))] public struct ArrayOfBytes6 //array of 6 bytes
{
public byte b0, b1, b2, b3, b4, b5;

View File

@ -6379,12 +6379,7 @@ namespace CodeWalker.GameFiles
{
public MetaHash pedXml_audioID { get; set; } //0 0: Hash: 0: 802196719
public MetaHash pedXml_audioID2 { get; set; } //4 4: Hash: 0: 4233133352
public ArrayOfBytes5 pedXml_expressionMods { get; set; } //8 8: ArrayOfBytes: 5: 128864925
public byte Unused0 { get; set; }//13
public ushort Unused1 { get; set; }//14
public uint Unused2 { get; set; }//16
public uint Unused3 { get; set; }//20
public uint Unused4 { get; set; }//24
public ArrayOfFloats5 pedXml_expressionMods { get; set; } //8 8: ArrayOfBytes: 5: 128864925
public uint flags { get; set; } //28 28: UnsignedInt: 0: flags
public int inclusions { get; set; } //32 32: IntFlags2: 0: inclusions//2172318933
public int exclusions { get; set; } //36 36: IntFlags2: 0: exclusions