implement GetCompatibleModFromPool

This commit is contained in:
CWX
2025-01-16 11:29:16 +00:00
parent 62f917b325
commit a6b181fd69
3 changed files with 78 additions and 7 deletions
@@ -43,7 +43,7 @@ public class GenerateWeaponRequest
/** Array of item tpls the weapon does not support */
[JsonPropertyName("conflictingItemTpls")]
public HashSet<string>? ConflictingItemTpls { get; set; }
public List<string>? ConflictingItemTpls { get; set; }
}
public class BotData
@@ -98,4 +98,4 @@ public class ItemCount
{
[JsonPropertyName("count")]
public int? Count { get; set; }
}
}
+2 -2
View File
@@ -74,8 +74,8 @@ public class ModToSpawnRequest
/// List of item tpls the weapon does not support
/// </summary>
[JsonPropertyName("conflictingItemTpls")]
public HashSet<string>? ConflictingItemTpls { get; set; }
public List<string>? ConflictingItemTpls { get; set; }
[JsonPropertyName("botData")]
public BotData? BotData { get; set; }
}
}