mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Try to make method names clearer
This commit is contained in:
@@ -74,10 +74,10 @@ namespace SabreTools.DatFiles
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Use cloneof tags to remove items from the children
|
/// Use cloneof tags to remove items from the children
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void RemoveItemsFromChild()
|
public void RemoveItemsFromCloneOfChild()
|
||||||
{
|
{
|
||||||
RemoveItemsFromChildImpl();
|
RemoveItemsFromCloneOfChildImpl();
|
||||||
RemoveItemsFromChildImplDB();
|
RemoveItemsFromCloneOfChildImplDB();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -1075,7 +1075,7 @@ namespace SabreTools.DatFiles
|
|||||||
/// Applies to <see cref="Items"/>.
|
/// Applies to <see cref="Items"/>.
|
||||||
/// Assumes items are bucketed by <see cref="ItemKey.Machine"/>.
|
/// Assumes items are bucketed by <see cref="ItemKey.Machine"/>.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
private void RemoveItemsFromChildImpl()
|
private void RemoveItemsFromCloneOfChildImpl()
|
||||||
{
|
{
|
||||||
List<string> buckets = [.. Items.Keys];
|
List<string> buckets = [.. Items.Keys];
|
||||||
buckets.Sort();
|
buckets.Sort();
|
||||||
@@ -1129,7 +1129,7 @@ namespace SabreTools.DatFiles
|
|||||||
/// Applies to <see cref="ItemsDB"/>.
|
/// Applies to <see cref="ItemsDB"/>.
|
||||||
/// Assumes items are bucketed by <see cref="ItemKey.Machine"/>.
|
/// Assumes items are bucketed by <see cref="ItemKey.Machine"/>.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
private void RemoveItemsFromChildImplDB()
|
private void RemoveItemsFromCloneOfChildImplDB()
|
||||||
{
|
{
|
||||||
List<string> buckets = [.. ItemsDB.SortedKeys];
|
List<string> buckets = [.. ItemsDB.SortedKeys];
|
||||||
foreach (string bucket in buckets)
|
foreach (string bucket in buckets)
|
||||||
|
|||||||
@@ -213,7 +213,7 @@ namespace SabreTools.DatTools
|
|||||||
datFile.BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
|
datFile.BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
|
||||||
|
|
||||||
// Now we want to loop through all of the games and set the correct information
|
// Now we want to loop through all of the games and set the correct information
|
||||||
datFile.RemoveItemsFromChild();
|
datFile.RemoveItemsFromCloneOfChild();
|
||||||
|
|
||||||
// Now that we have looped through the cloneof tags, we loop through the romof tags
|
// Now that we have looped through the cloneof tags, we loop through the romof tags
|
||||||
datFile.RemoveBiosItemsFromChild(false);
|
datFile.RemoveBiosItemsFromChild(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user