Add generic prop definition

This commit is contained in:
Jarrod Doyle 2024-08-25 13:09:45 +01:00
parent df923492cf
commit 2be1bc4352
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 11 additions and 0 deletions

View File

@ -40,6 +40,17 @@ public class PropertyChunk<T> : IChunk where T : Property, new()
} }
} }
public class PropGeneric : Property
{
public byte[] data;
public override void Read(BinaryReader reader)
{
base.Read(reader);
data = reader.ReadBytes(length);
}
}
public class PropModelName : Property public class PropModelName : Property
{ {
public string modelName; public string modelName;