예제 #1
0
파일: DDXFile.cs 프로젝트: wj60387/hubble
 internal void SetRamIndex(Hubble.Framework.IO.CachedFileStream.CachedType type, int minLoadSize)
 {
     if (_Mode == Mode.Read)
     {
         _File.ChangeCachedType(type);
         _File.MinCacheLength = minLoadSize * 1024;
     }
 }
예제 #2
0
파일: IndexFile.cs 프로젝트: wj60387/hubble
        internal void SetRamIndex(Hubble.Framework.IO.CachedFileStream.CachedType type, int minLoadSize)
        {
            foreach (IndexFileInfo ifi in _IndexFileList)
            {
                SetRamIndex(ifi, type, minLoadSize);
            }

            _CachedType  = type;
            _MinLoadSize = minLoadSize;
        }
예제 #3
0
파일: IndexFile.cs 프로젝트: wj60387/hubble
        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);
        }
예제 #4
0
 internal void SetRamIndex(Hubble.Framework.IO.CachedFileStream.CachedType type, int minLoadSize)
 {
     _IndexFileProxy.SetRamIndex(type, minLoadSize);
 }