A small record type used by the editor integration of a vendored Valve Resource Format (VRF) exporter. It represents a sub-file with a FileName and an Extract function that returns the file bytes on demand.
// Minimal extraction-only adapters for the vendored VRF model exporter (MIT).
#nullable enable
using System;
using System.Collections.Generic;
using HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat.ResourceTypes;
namespace HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat.IO;
public sealed record SubFile(string FileName, Func<byte[]> Extract);