internal void SetRamIndex(Hubble.Framework.IO.CachedFileStream.CachedType type, int minLoadSize) { if (_Mode == Mode.Read) { _File.ChangeCachedType(type); _File.MinCacheLength = minLoadSize * 1024; } }
internal void SetRamIndex(Hubble.Framework.IO.CachedFileStream.CachedType type, int minLoadSize) { foreach (IndexFileInfo ifi in _IndexFileList) { SetRamIndex(ifi, type, minLoadSize); } _CachedType = type; _MinLoadSize = minLoadSize; }
private void SetRamIndex(IndexFileInfo ifi, Hubble.Framework.IO.CachedFileStream.CachedType type, int minLoadSize) { if (type == CachedFileStream.CachedType.NoCache) { ifi.DDXFile.SetRamIndex(CachedFileStream.CachedType.NoCache, minLoadSize); } else { ifi.DDXFile.SetRamIndex(CachedFileStream.CachedType.Full, minLoadSize); } ifi.IDXFile.SetRamIndex(type, minLoadSize); }
internal void SetRamIndex(Hubble.Framework.IO.CachedFileStream.CachedType type, int minLoadSize) { _IndexFileProxy.SetRamIndex(type, minLoadSize); }