public CacheMetadataAttribute(CacheGeneration generation, CachePlatform platform, CacheResourceCodec codec, CacheMetadataFlags flags) { Generation = generation; Platform = platform; ResourceCodec = codec; Flags = flags; }
private CacheMetadata(CacheType cacheType, CacheMetadataAttribute meta, BuildStringAttribute build) { CacheType = cacheType; Generation = meta.Generation; Platform = meta.Platform; Architecture = Platform == CachePlatform.Xbox360 ? PlatformArchitecture.PowerPC : PlatformArchitecture.x86; StringIds = build.StringIds; ResourceCodec = build.ResourceCodecOverride ?? meta.ResourceCodec; Flags = build.FlagsOverride ?? meta.Flags; }
public BuildStringAttribute(string buildString, string stringIds, CacheMetadataFlags flags) : this(buildString, stringIds, null, flags) { }
public CacheMetadataAttribute(CacheGeneration generation, CachePlatform platform, CacheMetadataFlags flags) : this(generation, platform, generation < CacheGeneration.Gen3 ? Uncompressed : Deflate, flags) { }