mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Make AddItemsFromDevices param easier to understand
This commit is contained in:
@@ -36,13 +36,13 @@ namespace SabreTools.DatFiles
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Use device_ref and optionally slotoption tags to add items to the children
|
/// Use device_ref and optionally slotoption tags to add items to the children
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="dev">True if only child device sets are touched, false for non-device sets</param>
|
/// <param name="deviceOnly">True if only child device sets are touched, false for non-device sets</param>
|
||||||
/// <param name="useSlotOptions">True if slotoptions tags are used as well, false otherwise</param>
|
/// <param name="useSlotOptions">True if slotoptions tags are used as well, false otherwise</param>
|
||||||
/// <remarks>Assumes items are bucketed by <see cref="ItemKey.Machine"/></remarks>
|
/// <remarks>Assumes items are bucketed by <see cref="ItemKey.Machine"/></remarks>
|
||||||
public bool AddItemsFromDevices(bool dev, bool useSlotOptions)
|
public bool AddItemsFromDevices(bool deviceOnly, bool useSlotOptions)
|
||||||
{
|
{
|
||||||
bool foundnew = AddItemsFromDevicesImpl(dev, useSlotOptions);
|
bool foundnew = AddItemsFromDevicesImpl(deviceOnly, useSlotOptions);
|
||||||
foundnew |= AddItemsFromDevicesImplDB(dev, useSlotOptions);
|
foundnew |= AddItemsFromDevicesImplDB(deviceOnly, useSlotOptions);
|
||||||
return foundnew;
|
return foundnew;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user