Make all prototype types partial (#21374)
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user