protected DataCacheFile(BlamVersion engine, string path)
        {
            if (!SharableReferencePc(path) && !SharableReferenceCe(path))
            {
                InputStream = new IO.EndianReader(path, IO.EndianState.Little, this);
                if (!CacheIsReadonly(path))
                {
                    OutputStream = new IO.EndianWriter(path, IO.EndianState.Little, this);
                }
            }

            cacheIndex = new DataIndex();

            engineVersion = engine;
        }
Exemplo n.º 2
0
		protected DataCacheFile(BlamVersion engine, string path)
		{
			if (!SharableReferencePc(path) && !SharableReferenceCe(path))
			{
				InputStream = new IO.EndianReader(path, IO.EndianState.Little, this);
				if (!CacheIsReadonly(path))
					OutputStream = new IO.EndianWriter(path, IO.EndianState.Little, this);
			}

			cacheIndex = new DataIndex();

			engineVersion = engine;
		}