public BundleReader(Stream stream, EndianType endianess, BundleGeneration generation) : base(stream, endianess) { Generation = generation; }
public static bool HasBlobIndex(BundleGeneration generation) { return(generation >= BundleGeneration.BF_530_x); }
/// <summary> /// 5.3.0 and greater /// </summary> private static bool HasBlockInfo(BundleType type, BundleGeneration generation) => // Hack: fix UnityFS <530 gen parsing type == BundleType.UnityFS || generation >= BundleGeneration.BF_530_x;
/// <summary> /// 3.5.0 and greater /// </summary> public static bool HasMetadataDecompressedSize(BundleGeneration generation) => generation >= BundleGeneration.BF_350_4x;
/// <summary> /// 5.3.0 and greater /// </summary> private static bool HasBlockInfo(BundleGeneration generation) => generation >= BundleGeneration.BF_530_x;
/// <summary> /// 2.6.0 and greater /// </summary> public static bool HasBundleSize(BundleGeneration generation) => generation >= BundleGeneration.BF_260_340;
/// <summary> /// 3.5.0 and greater /// </summary> public static bool IsReadMetadataDecompressedSize(BundleGeneration generation) { return(generation >= BundleGeneration.BF_350_4x); }
/// <summary> /// 2.6.0 and greater /// </summary> public static bool IsReadBundleSize(BundleGeneration generation) { return(generation >= BundleGeneration.BF_260_340); }
private static bool HasBlockInfo(BundleGeneration generation) { return(generation >= BundleGeneration.BF_530_x); }
public static bool HasBlobIndex(BundleType type, BundleGeneration generation) { // Hack: fix UnityFS <530 gen parsing return(type == BundleType.UnityFS || generation >= BundleGeneration.BF_530_x); }