예제 #1
0
 /// <summary>
 /// Forwarder for <see cref="PackfileReader.ExtractFile(string, Stream)"/>
 /// </summary>
 public void ExtractFile(string corePath, Stream stream)
 {
     ExtractFile(Packfile.GetHashForPath(corePath), stream);
 }
예제 #2
0
 /// <summary>
 /// Forwarder for <see cref="Packfile.GetFileSize(string)"/>
 /// </summary>
 public uint GetFileSize(string corePath)
 {
     return(GetFileSize(Packfile.GetHashForPath(corePath)));
 }
예제 #3
0
 /// <summary>
 /// Forwarder for <see cref="PackfileReader.ExtractFile(string, string, FileMode)"/>
 /// </summary>
 public void ExtractFile(string corePath, string destinationPath, FileMode mode = FileMode.CreateNew)
 {
     ExtractFile(Packfile.GetHashForPath(corePath), destinationPath, mode);
 }
예제 #4
0
 /// <summary>
 /// Checks if a Decima-formatted path is present in the mounted archives.
 /// </summary>
 public bool HasFile(string corePath)
 {
     return(_corePathToArchiveIndex.ContainsKey(Packfile.GetHashForPath(corePath)));
 }