protected CacheFileBase(string map_name)
        {
            if (!SharableReferenceXbox(map_name) && !SharableReferencePc(map_name))
            {
                InputStream = new IO.EndianReader(map_name, IO.EndianState.Big, this);
                if (!CacheIsReadonly(map_name))
                {
                    OutputStream = new IO.EndianWriter(map_name, IO.EndianState.Big, this);
                }
            }

            cacheHeader = new CacheHeader();
        }
Exemplo n.º 2
0
		protected CacheFileBase(string map_name)
		{
			if (!SharableReferenceXbox(map_name) && !SharableReferencePc(map_name))
			{
				InputStream = new IO.EndianReader(map_name, IO.EndianState.Big, this);
				if (!CacheIsReadonly(map_name))
					OutputStream = new IO.EndianWriter(map_name, IO.EndianState.Big, this);
			}

			cacheHeader = new CacheHeader();
		}