mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-14 19:29:53 +01:00
Fix prototypes so they pass analyzer checks (again) (AGAIN) (#41882)
fix
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Content.Server.Worldgen.Prototypes;
|
||||
public sealed partial class BiomePrototype : IPrototype, IInheritingPrototype
|
||||
{
|
||||
/// <inheritdoc />
|
||||
[ParentDataField(typeof(AbstractPrototypeIdArraySerializer<EntityPrototype>))]
|
||||
[ParentDataField(typeof(AbstractPrototypeIdArraySerializer<BiomePrototype>))]
|
||||
public string[]? Parents { get; private set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -83,7 +83,7 @@ public class NoiseChannelConfig
|
||||
public sealed partial class NoiseChannelPrototype : NoiseChannelConfig, IPrototype, IInheritingPrototype
|
||||
{
|
||||
/// <inheritdoc />
|
||||
[ParentDataField(typeof(AbstractPrototypeIdArraySerializer<EntityPrototype>))]
|
||||
[ParentDataField(typeof(AbstractPrototypeIdArraySerializer<NoiseChannelPrototype>))]
|
||||
public string[]? Parents { get; private set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Content.Shared.Maps
|
||||
|
||||
public const string SpaceID = "Space";
|
||||
|
||||
[ParentDataFieldAttribute(typeof(AbstractPrototypeIdArraySerializer<ContentTileDefinition>))]
|
||||
[ParentDataField(typeof(AbstractPrototypeIdArraySerializer<ContentTileDefinition>))]
|
||||
public string[]? Parents { get; private set; }
|
||||
|
||||
[NeverPushInheritance]
|
||||
|
||||
@@ -13,8 +13,8 @@ public sealed partial class LoadoutGroupPrototype : IPrototype, IInheritingProto
|
||||
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]
|
||||
@@ -32,7 +32,7 @@ public sealed partial class LoadoutGroupPrototype : IPrototype, IInheritingProto
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public int MinLimit = 1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Number of loadouts that are selected by default.
|
||||
/// </summary>
|
||||
|
||||
@@ -41,7 +41,7 @@ public sealed partial class StationAiCustomizationPrototype : IPrototype, IInher
|
||||
/// The prototype we inherit from.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[ParentDataFieldAttribute(typeof(AbstractPrototypeIdArraySerializer<StationAiCustomizationPrototype>))]
|
||||
[ParentDataField(typeof(AbstractPrototypeIdArraySerializer<StationAiCustomizationPrototype>))]
|
||||
public string[]? Parents { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user