public static CacheFile Deserialize(BinaryReader reader) { var file = new CacheFile(); file.version = reader.ReadByte(); file.oggEntries = reader.ReadList(OggCacheEntry.Deserialize); file.pngEntries = reader.ReadList(PngCacheEntry.Deserialize); file.rhsEntries = reader.ReadList(RhsCacheEntry.Deserialize); file.rhcEntries = reader.ReadList(RhcCacheEntry.Deserialize); file.rhgEntries = reader.ReadList(RhgCacheEntry.Deserialize); return(file); }
public OggSynchronizer(CacheFile cacheFile, RhGuid oggGuid, float length) : base(cacheFile) { this.oggGuid = oggGuid; this.length = length; }
public CacheSynchronizer(CacheFile cacheFile) { this.cacheFile = cacheFile; }
public RhgSynchronizer(CacheFile cacheFile, RhgFile rhgFile) : base(cacheFile) { this.rhgFile = rhgFile; }
public PngSynchronizer(CacheFile cacheFile, RhGuid pngGuid) : base(cacheFile) { this.pngGuid = pngGuid; }