public static ObjectCollisionTable Deserialize(FZReader reader) { var table = new ObjectCollisionTable(); table.numEntries = reader.ReadInt32(); table.offset = reader.ReadInt32(); table.objectCollisions = reader.ReadArrayAtOffset(table.offset, table.numEntries, ObjectCollisionData.Deserialize); return(table); }
public static UnknownTable1 Deserialize(FZReader reader) { var table = new UnknownTable1(); table.numEntries = reader.ReadInt32(); table.offset = reader.ReadInt32(); table.unknownEntries = reader.ReadArrayAtOffset(table.offset, table.numEntries, UnknownEntry1.Deserialize); return(table); }