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