public void Load(string filename) { FileInfo = new FileInfo(filename); if (FileInfo.Exists) { _nus3 = new NUS3(FileInfo.FullName, _isZlibCompressed); } }
public LoadResult Load(string filename) { LoadResult result = LoadResult.Success; _fileInfo = new FileInfo(filename); if (_fileInfo.Exists) { _nus3 = new NUS3(_fileInfo.FullName, isZlibCompressed); } else { result = LoadResult.FileNotFound; } return(result); }