mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Keep on with DB renaming
This commit is contained in:
@@ -119,7 +119,7 @@ namespace SabreTools.DatFiles.Formats
|
||||
{
|
||||
// If this machine doesn't contain any writable items, skip
|
||||
var itemsDict = ItemsDB.GetItemsForBucket(key, filter: true);
|
||||
if (itemsDict == null || !ContainsWritable(itemsDict))
|
||||
if (itemsDict == null || !ContainsWritableDB(itemsDict))
|
||||
continue;
|
||||
|
||||
// Resolve the names in the block
|
||||
@@ -128,7 +128,7 @@ namespace SabreTools.DatFiles.Formats
|
||||
foreach (var kvp in items)
|
||||
{
|
||||
// Check for a "null" item
|
||||
var datItem = ProcessNullifiedItem(kvp);
|
||||
var datItem = ProcessNullifiedItemDB(kvp);
|
||||
|
||||
// Get the machine for the item
|
||||
var machine = ItemsDB.GetMachineForItem(datItem.Key);
|
||||
|
||||
@@ -356,7 +356,7 @@ namespace SabreTools.DatFiles.Formats
|
||||
datItem.CopyMachineInformation(machine);
|
||||
datItem.SetFieldValue<Source?>(DatItem.SourceKey, source);
|
||||
ParseAddHelper(datItem, statsOnly);
|
||||
ParseAddHelper(datItem, machineIndex, sourceIndex, statsOnly);
|
||||
ParseAddHelperDB(datItem, machineIndex, sourceIndex, statsOnly);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -475,7 +475,7 @@ namespace SabreTools.DatFiles.Formats
|
||||
{
|
||||
// If this machine doesn't contain any writable items, skip
|
||||
var itemsDict = ItemsDB.GetItemsForBucket(key, filter: true);
|
||||
if (itemsDict == null || !ContainsWritable(itemsDict))
|
||||
if (itemsDict == null || !ContainsWritableDB(itemsDict))
|
||||
continue;
|
||||
|
||||
// Resolve the names in the block
|
||||
@@ -495,7 +495,7 @@ namespace SabreTools.DatFiles.Formats
|
||||
WriteStartGame(jtw, kvp.Value);
|
||||
|
||||
// Check for a "null" item
|
||||
var datItem = ProcessNullifiedItem(kvp);
|
||||
var datItem = ProcessNullifiedItemDB(kvp);
|
||||
|
||||
// Write out the item if we're not ignoring
|
||||
if (!ShouldIgnore(datItem.Value, ignoreblanks))
|
||||
|
||||
@@ -178,7 +178,7 @@ namespace SabreTools.DatFiles.Formats
|
||||
item.CopyMachineInformation(machine);
|
||||
item.SetFieldValue<Source?>(DatItem.SourceKey, source);
|
||||
ParseAddHelper(item, statsOnly);
|
||||
ParseAddHelper(item, machineIndex, sourceIndex, statsOnly);
|
||||
ParseAddHelperDB(item, machineIndex, sourceIndex, statsOnly);
|
||||
}
|
||||
xtr.Skip();
|
||||
break;
|
||||
@@ -304,7 +304,7 @@ namespace SabreTools.DatFiles.Formats
|
||||
{
|
||||
// If this machine doesn't contain any writable items, skip
|
||||
var itemsDict = ItemsDB.GetItemsForBucket(key, filter: true);
|
||||
if (itemsDict == null || !ContainsWritable(itemsDict))
|
||||
if (itemsDict == null || !ContainsWritableDB(itemsDict))
|
||||
continue;
|
||||
|
||||
// Resolve the names in the block
|
||||
@@ -324,7 +324,7 @@ namespace SabreTools.DatFiles.Formats
|
||||
WriteStartGame(xtw, kvp.Value);
|
||||
|
||||
// Check for a "null" item
|
||||
var datItem = ProcessNullifiedItem(kvp);
|
||||
var datItem = ProcessNullifiedItemDB(kvp);
|
||||
|
||||
// Write out the item if we're not ignoring
|
||||
if (!ShouldIgnore(datItem.Value, ignoreblanks))
|
||||
|
||||
Reference in New Issue
Block a user