예제 #1
0
 /// <summary>
 /// Determines whether the BSA archive contains a file.
 /// </summary>
 /// <param name="filePath">The file path.</param>
 /// <returns>
 ///   <c>true</c> if the specified file path contains file; otherwise, <c>false</c>.
 /// </returns>
 public bool ContainsFile(string filePath) => _proxySink.ContainsFile(filePath, () => Packs.Any(x => x.ContainsFile(filePath)));
예제 #2
0
 /// <summary>
 /// Determines whether the PAK archive contains a file.
 /// </summary>
 public bool ContainsFile(string filePath) => _proxySink.ContainsFile(filePath, () => _pakFile.ContainsFile(filePath));