public sealed partial class BiomePrototype : IPrototype, IInheritingPrototype
{
/// <inheritdoc />
- [ParentDataField(typeof(AbstractPrototypeIdArraySerializer<EntityPrototype>))]
+ [ParentDataField(typeof(AbstractPrototypeIdArraySerializer<BiomePrototype>))]
public string[]? Parents { get; private set; }
/// <inheritdoc />
public sealed partial class NoiseChannelPrototype : NoiseChannelConfig, IPrototype, IInheritingPrototype
{
/// <inheritdoc />
- [ParentDataField(typeof(AbstractPrototypeIdArraySerializer<EntityPrototype>))]
+ [ParentDataField(typeof(AbstractPrototypeIdArraySerializer<NoiseChannelPrototype>))]
public string[]? Parents { get; private set; }
/// <inheritdoc />
public const string SpaceID = "Space";
- [ParentDataFieldAttribute(typeof(AbstractPrototypeIdArraySerializer<ContentTileDefinition>))]
+ [ParentDataField(typeof(AbstractPrototypeIdArraySerializer<ContentTileDefinition>))]
public string[]? Parents { get; private set; }
[NeverPushInheritance]
public string ID { get; private set; } = string.Empty;
/// <inheritdoc />
- [ParentDataFieldAttribute(typeof(AbstractPrototypeIdArraySerializer<LoadoutGroupPrototype>))]
- public string[]? Parents { get; }
+ [ParentDataField(typeof(AbstractPrototypeIdArraySerializer<LoadoutGroupPrototype>))]
+ public string[]? Parents { get; private set; }
/// <inheritdoc />
[NeverPushInheritance]
/// </summary>
[DataField]
public int MinLimit = 1;
-
+
/// <summary>
/// Number of loadouts that are selected by default.
/// </summary>
/// The prototype we inherit from.
/// </summary>
[ViewVariables]
- [ParentDataFieldAttribute(typeof(AbstractPrototypeIdArraySerializer<StationAiCustomizationPrototype>))]
+ [ParentDataField(typeof(AbstractPrototypeIdArraySerializer<StationAiCustomizationPrototype>))]
public string[]? Parents { get; private set; }
/// <summary>