/// <summary> /// Tries to get the file entry for a given file. /// </summary> /// <param name="hash">Hash of the file name.</param> /// <param name="entry">The file entry.</param> /// <returns>Whether the operation succeeded or not.</returns> public bool TryGetFileEntry(uint hash, out PackFileEntry entry) { if (!mFileEntryByHash.TryGetValue(hash, out entry)) { return(false); } return(true); }
/// <summary> /// Tries to get the file entry for a given file. /// </summary> /// <param name="name">Name of the file.</param> /// <param name="entry">The file entry.</param> /// <returns>Whether the operation succeeded or not.</returns> public bool TryGetFileEntry(string name, out PackFileEntry entry) { throw new NotImplementedException(); }