mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 14:55:11 +00:00
Found out why these helpers were this way
This commit is contained in:
@@ -274,7 +274,7 @@ namespace SabreTools.Metadata.DatFiles
|
||||
/// <summary>
|
||||
/// Get all machines and their indicies
|
||||
/// </summary>
|
||||
public Machine[] GetMachinesDB()
|
||||
public IDictionary<long, Machine> GetMachinesDB()
|
||||
=> ItemsDB.GetMachines();
|
||||
|
||||
/// <summary>
|
||||
@@ -283,6 +283,12 @@ namespace SabreTools.Metadata.DatFiles
|
||||
public KeyValuePair<long, Source?> GetSourceDB(long sourceIndex)
|
||||
=> ItemsDB.GetSource(sourceIndex);
|
||||
|
||||
/// <summary>
|
||||
/// Get all sources and their indicies
|
||||
/// </summary>
|
||||
public IDictionary<long, Source> GetSourcesDB()
|
||||
=> ItemsDB.GetSources();
|
||||
|
||||
/// <summary>
|
||||
/// Remove a key from the file dictionary if it exists
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user