Skip to content

Commit

Permalink
Missing updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sailro committed Apr 28, 2024
1 parent f19e356 commit de11b66
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ConsoleCommands/BaseListCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private void ListLootItems(Match match, ELootRarity? rarityFilter = null)
FindLootItems(world, itemsPerName);

// Step 2 - look inside containers (items)
if (LootItems.SearchInsideContainers)
if (LootItemsFeature.SearchInsideContainers)
FindItemsInContainers(world, itemsPerName);

var names = itemsPerName.Keys.ToList();
Expand Down Expand Up @@ -96,7 +96,7 @@ private void FindLootItems(GameWorld world, Dictionary<string, List<Item>> items

if (lootItem is Corpse corpse)
{
if (LootItems.SearchInsideCorpses)
if (LootItemsFeature.SearchInsideCorpses)
FindItemsInRootItem(itemsPerName, corpse.ItemOwner?.RootItem);

continue;
Expand Down
2 changes: 1 addition & 1 deletion ConsoleCommands/BaseTrackCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ private void TrackLootItem(Match match, ELootRarity? rarity = null)
if (extraGroup is {Success: true})
color = ColorConverter.Parse(extraGroup.Value);

TrackList.ShowTrackList(this, LootItems, LootItems.Track(matchGroup.Value, color, rarity));
TrackList.ShowTrackList(this, LootItemsFeature, LootItemsFeature.Track(matchGroup.Value, color, rarity));
}
}
2 changes: 1 addition & 1 deletion ConsoleCommands/LoadTrackList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ public override void Execute(Match match)
if (!TryGetTrackListFilename(match, out var filename))
return;

ConfigurationManager.LoadPropertyValue(filename, base.LootItems, nameof(Features.LootItems.TrackedNames));
ConfigurationManager.LoadPropertyValue(filename, base.LootItemsFeature, nameof(Features.LootItems.TrackedNames));
}
}
2 changes: 1 addition & 1 deletion ConsoleCommands/SaveTrackList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ public override void Execute(Match match)
if (!TryGetTrackListFilename(match, out var filename))
return;

ConfigurationManager.SavePropertyValue(filename, LootItems, nameof(LootItems.TrackedNames));
ConfigurationManager.SavePropertyValue(filename, LootItemsFeature, nameof(LootItemsFeature.TrackedNames));
}
}
2 changes: 1 addition & 1 deletion ConsoleCommands/TrackList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal class TrackList : ConsoleCommandWithoutArgument

public override void Execute()
{
ShowTrackList(this, LootItems);
ShowTrackList(this, LootItemsFeature);
}

internal static void ShowTrackList(ConsoleCommand command, Features.LootItems lootItems, bool changed = false)
Expand Down
2 changes: 1 addition & 1 deletion ConsoleCommands/UnTrack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ public override void Execute(Match match)
if (matchGroup is not {Success: true})
return;

TrackList.ShowTrackList(this, LootItems, LootItems.UnTrack(matchGroup.Value));
TrackList.ShowTrackList(this, LootItemsFeature, LootItemsFeature.UnTrack(matchGroup.Value));
}
}

0 comments on commit de11b66

Please sign in to comment.