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

@@ -4,7 +4,7 @@ using Robust.Shared.Prototypes;
namespace Content.Shared.Humanoid.Prototypes;
[Prototype("humanoidProfile")]
public sealed class HumanoidProfilePrototype : IPrototype
public sealed partial class HumanoidProfilePrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;

View File

@@ -1,4 +1,3 @@
using Content.Shared.Humanoid.Markings;
using Robust.Shared.Prototypes;
using Robust.Shared.Utility;
@@ -9,7 +8,7 @@ namespace Content.Shared.Humanoid.Prototypes;
/// or settings per layer)
/// </summary>
[Prototype("speciesBaseSprites")]
public sealed class HumanoidSpeciesBaseSpritesPrototype : IPrototype
public sealed partial class HumanoidSpeciesBaseSpritesPrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;
@@ -30,7 +29,7 @@ public sealed class HumanoidSpeciesBaseSpritesPrototype : IPrototype
/// that sprite (or at least, the layer this sprite is on).
/// </summary>
[Prototype("humanoidBaseSprite")]
public sealed class HumanoidSpeciesSpriteLayer : IPrototype
public sealed partial class HumanoidSpeciesSpriteLayer : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;

View File

@@ -7,7 +7,7 @@ namespace Content.Shared.Humanoid.Prototypes;
/// This is what is used to change a humanoid spawned by RandomHumanoidSystem in Content.Server.
/// </summary>
[Prototype("randomHumanoidSettings")]
public sealed class RandomHumanoidSettingsPrototype : IPrototype, IInheritingPrototype
public sealed partial class RandomHumanoidSettingsPrototype : IPrototype, IInheritingPrototype
{
[IdDataField] public string ID { get; } = default!;

View File

@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
namespace Content.Shared.Humanoid.Prototypes;
[Prototype("species")]
public sealed class SpeciesPrototype : IPrototype
public sealed partial class SpeciesPrototype : IPrototype
{
/// <summary>
/// Prototype ID of the species.