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

@@ -10,7 +10,7 @@ namespace Content.Shared.Cargo.Prototypes;
/// to receive a monetary reward.
/// </summary>
[Prototype("cargoBounty"), Serializable, NetSerializable]
public sealed class CargoBountyPrototype : IPrototype
public sealed partial class CargoBountyPrototype : IPrototype
{
/// <inheritdoc/>
[IdDataField]

View File

@@ -1,12 +1,11 @@
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robust.Shared.Utility;
namespace Content.Shared.Cargo.Prototypes
{
[Prototype("cargoProduct")]
public sealed class CargoProductPrototype : IPrototype
public sealed partial class CargoProductPrototype : IPrototype
{
[DataField("name")] private string _name = string.Empty;