Make all prototype types partial (#21374)

This commit is contained in:
DrSmugleaf
2023-11-01 19:56:23 -07:00
committed by GitHub
parent aa0c3b64ea
commit 2d58d19b07
105 changed files with 111 additions and 126 deletions

View File

@@ -6,7 +6,7 @@ using Robust.Shared.Serialization;
namespace Content.Shared.Construction.Prototypes
{
[Prototype("constructionGraph")]
public sealed class ConstructionGraphPrototype : IPrototype, ISerializationHooks
public sealed partial class ConstructionGraphPrototype : IPrototype, ISerializationHooks
{
private readonly Dictionary<string, ConstructionGraphNode> _nodes = new();
private readonly Dictionary<(string, string), ConstructionGraphNode[]?> _paths = new();

View File

@@ -6,7 +6,7 @@ using Robust.Shared.Utility;
namespace Content.Shared.Construction.Prototypes;
[Prototype("construction")]
public sealed class ConstructionPrototype : IPrototype
public sealed partial class ConstructionPrototype : IPrototype
{
[DataField("conditions")] private List<IConstructionCondition> _conditions = new();

View File

@@ -8,7 +8,7 @@ namespace Content.Shared.Construction.Prototypes;
/// different types of machine parts.
/// </summary>
[Prototype("machinePart")]
public sealed class MachinePartPrototype : IPrototype
public sealed partial class MachinePartPrototype : IPrototype
{
/// <inheritdoc/>
[IdDataField]