mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add more passthrough DB methods
This commit is contained in:
@@ -282,6 +282,30 @@ namespace SabreTools.DatFiles
|
||||
return Items.RemoveItem(key, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remove an item, returning if it could be removed
|
||||
/// </summary>
|
||||
public bool RemoveItemDB(long itemIndex)
|
||||
{
|
||||
return ItemsDB.RemoveItem(itemIndex);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remove a machine, returning if it could be removed
|
||||
/// </summary>
|
||||
public bool RemoveMachineDB(long machineIndex)
|
||||
{
|
||||
return ItemsDB.RemoveMachine(machineIndex);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remove a machine, returning if it could be removed
|
||||
/// </summary>
|
||||
public bool RemoveMachineDB(string machineName)
|
||||
{
|
||||
return ItemsDB.RemoveMachine(machineName);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Reset the internal item dictionary
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user