mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-23 15:24:56 +00:00
Remove unnecessary RemapDatItemToMachine method
This commit is contained in:
@@ -447,17 +447,6 @@ namespace SabreTools.Metadata.DatFiles
|
||||
/// </summary>
|
||||
public IDictionary<long, Source> GetSources() => _sources;
|
||||
|
||||
/// <summary>
|
||||
/// Remap an item to a new machine index without validation
|
||||
/// </summary>
|
||||
/// <param name="itemIndex">Current item index</param>
|
||||
/// <param name="machineIndex">New machine index</param>
|
||||
public void RemapDatItemToMachine(long itemIndex, long machineIndex)
|
||||
{
|
||||
if (_items.TryGetValue(itemIndex, out var item))
|
||||
item.MachineIndex = machineIndex;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remove a key from the file dictionary if it exists
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user