Part 2 of list to ienumerable

This commit is contained in:
Chomp
2025-07-23 15:55:28 +01:00
parent 0faa65a560
commit a1e0dadd08
29 changed files with 166 additions and 162 deletions
@@ -326,13 +326,13 @@ public record TraderWhitelist
/// Quest types this trader can provide: Completion/Exploration/Elimination.
/// </summary>
[JsonPropertyName("questTypes")]
public required List<string> QuestTypes { get; set; }
public required HashSet<string> QuestTypes { get; set; }
/// <summary>
/// Item categories that the reward can be
/// </summary>
[JsonPropertyName("rewardBaseWhitelist")]
public required List<MongoId> RewardBaseWhitelist { get; set; }
public required IEnumerable<MongoId> RewardBaseWhitelist { get; set; }
/// <summary>
/// Can this reward be a weapon?