Example #1
0
 public BundleReader(Stream stream, EndianType endianess, BundleGeneration generation) :
     base(stream, endianess)
 {
     Generation = generation;
 }
Example #2
0
 public static bool HasBlobIndex(BundleGeneration generation)
 {
     return(generation >= BundleGeneration.BF_530_x);
 }
Example #3
0
 /// <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;
Example #4
0
 /// <summary>
 /// 3.5.0 and greater
 /// </summary>
 public static bool HasMetadataDecompressedSize(BundleGeneration generation) => generation >= BundleGeneration.BF_350_4x;
Example #5
0
 /// <summary>
 /// 5.3.0 and greater
 /// </summary>
 private static bool HasBlockInfo(BundleGeneration generation) => generation >= BundleGeneration.BF_530_x;
Example #6
0
 /// <summary>
 /// 2.6.0 and greater
 /// </summary>
 public static bool HasBundleSize(BundleGeneration generation) => generation >= BundleGeneration.BF_260_340;
Example #7
0
 /// <summary>
 /// 3.5.0 and greater
 /// </summary>
 public static bool IsReadMetadataDecompressedSize(BundleGeneration generation)
 {
     return(generation >= BundleGeneration.BF_350_4x);
 }
Example #8
0
 /// <summary>
 /// 2.6.0 and greater
 /// </summary>
 public static bool IsReadBundleSize(BundleGeneration generation)
 {
     return(generation >= BundleGeneration.BF_260_340);
 }
Example #9
0
 private static bool HasBlockInfo(BundleGeneration generation)
 {
     return(generation >= BundleGeneration.BF_530_x);
 }
Example #10
0
 public static bool HasBlobIndex(BundleType type, BundleGeneration generation)
 {
     // Hack: fix UnityFS <530 gen parsing
     return(type == BundleType.UnityFS || generation >= BundleGeneration.BF_530_x);
 }