Validate prototype ids in c# fields (#18224)
This commit is contained in:
@@ -34,6 +34,10 @@ public sealed record BodyPrototypeSlot
|
||||
public readonly HashSet<string> Connections = new();
|
||||
public readonly Dictionary<string, string> Organs = new();
|
||||
|
||||
public BodyPrototypeSlot() : this(null, null, null)
|
||||
{
|
||||
}
|
||||
|
||||
public BodyPrototypeSlot(string? part, HashSet<string>? connections, Dictionary<string, string>? organs)
|
||||
{
|
||||
Part = part;
|
||||
|
||||
Reference in New Issue
Block a user