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

@@ -3,7 +3,7 @@
namespace Content.Shared.Decals;
[Prototype("palette")]
public sealed class ColorPalettePrototype : IPrototype
public sealed partial class ColorPalettePrototype : IPrototype
{
[IdDataField] public string ID { get; } = null!;
[DataField("name")] public string Name { get; private set; } = null!;

View File

@@ -4,7 +4,7 @@ using Robust.Shared.Utility;
namespace Content.Shared.Decals
{
[Prototype("decal")]
public sealed class DecalPrototype : IPrototype
public sealed partial class DecalPrototype : IPrototype
{
[IdDataField] public string ID { get; } = null!;
[DataField("sprite")] public SpriteSpecifier Sprite { get; private set; } = SpriteSpecifier.Invalid;