Add generic prop definition
This commit is contained in:
parent
df923492cf
commit
2be1bc4352
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue