Skip to content

Commit

Permalink
Update CPlugVehicleMaterial.cs
Browse files Browse the repository at this point in the history
Implemented Chunk 0x090F1004
  • Loading branch information
Mystixor committed Jan 7, 2024
1 parent 9d035a2 commit 63a53d5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Src/GBX.NET/Engines/Plug/CPlugVehicleMaterial.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,28 @@ internal CPlugVehicleMaterial()

}

#region 0x004 chunk

/// <summary>
/// CPlugVehicleMaterial 0x00F chunk
/// </summary>
[Chunk(0x090F1004)]
public class Chunk090F1004 : Chunk<CPlugVehicleMaterial>
{
public string? U01;
public float U02;
public float U03;

public override void ReadWrite(CPlugVehicleMaterial n, GameBoxReaderWriter rw)
{
rw.Id(ref U01); // Possibly Id, so far only ever seen 0xFFFFFFFF
rw.Single(ref U02);
rw.Single(ref U03);
}
}

#endregion

#region 0x00F chunk

/// <summary>
Expand Down

0 comments on commit 63a53d5

Please sign in to comment.