mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Remove unused SortAndGetKey variant
This commit is contained in:
@@ -1175,22 +1175,6 @@ namespace SabreTools.DatFiles
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Sort the input DAT and get the key to be used by the item
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="datItem">Item to try to match</param>
|
|
||||||
/// <param name="sorted">True if the DAT is already sorted accordingly, false otherwise (default)</param>
|
|
||||||
/// <returns>Key to try to use</returns>
|
|
||||||
private string SortAndGetKey(DatItem datItem, bool sorted = false)
|
|
||||||
{
|
|
||||||
// If we're not already sorted, take care of it
|
|
||||||
if (!sorted)
|
|
||||||
BucketBy(GetBestAvailable(), DedupeType.None);
|
|
||||||
|
|
||||||
// Now that we have the sorted type, we get the proper key
|
|
||||||
return datItem.GetKeyDB(_bucketedBy, null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sort the input DAT and get the key to be used by the item
|
/// Sort the input DAT and get the key to be used by the item
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user