mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Remove now-unused GetItem method
This commit is contained in:
@@ -348,24 +348,6 @@ namespace SabreTools.DatFiles
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Get an item based on the index
|
|
||||||
/// </summary>
|
|
||||||
public DatItem? GetItem(long index)
|
|
||||||
{
|
|
||||||
#if NET40_OR_GREATER || NETCOREAPP
|
|
||||||
if (!_items.TryGetValue(index, out var datItem))
|
|
||||||
return null;
|
|
||||||
|
|
||||||
return datItem;
|
|
||||||
#else
|
|
||||||
if (!_items.ContainsKey(index))
|
|
||||||
return null;
|
|
||||||
|
|
||||||
return _items[index];
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get all items and their indicies
|
/// Get all items and their indicies
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user