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

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

View File

@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
namespace Content.Shared.Procedural;
[Prototype("dungeonPreset")]
public sealed class DungeonPresetPrototype : IPrototype
public sealed partial class DungeonPresetPrototype : IPrototype
{
[IdDataField] public string ID { get; } = default!;

View File

@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
namespace Content.Shared.Procedural;
[Prototype("dungeonRoomPack")]
public sealed class DungeonRoomPackPrototype : IPrototype
public sealed partial class DungeonRoomPackPrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = string.Empty;

View File

@@ -6,7 +6,7 @@ using Robust.Shared.Utility;
namespace Content.Shared.Procedural;
[Prototype("dungeonRoom")]
public sealed class DungeonRoomPrototype : IPrototype
public sealed partial class DungeonRoomPrototype : IPrototype
{
[IdDataField] public string ID { get; } = string.Empty;

View File

@@ -6,7 +6,7 @@ namespace Content.Shared.Procedural.Loot;
/// Spawned inside of a salvage mission.
/// </summary>
[Prototype("salvageLoot")]
public sealed class SalvageLootPrototype : IPrototype
public sealed partial class SalvageLootPrototype : IPrototype
{
[IdDataField] public string ID { get; } = default!;

View File

@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
namespace Content.Shared.Procedural;
[Prototype("salvageDifficulty")]
public sealed class SalvageDifficultyPrototype : IPrototype
public sealed partial class SalvageDifficultyPrototype : IPrototype
{
[IdDataField] public string ID { get; } = string.Empty;