Make all prototype types partial (#21374)
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
||||
/// Which one is selected depends on the mission difficulty, different weightedRandoms are picked from.
|
||||
/// </summary>
|
||||
[Prototype("salvageAirMod")]
|
||||
public sealed class SalvageAirMod : IPrototype, IBiomeSpecificMod
|
||||
public sealed partial class SalvageAirMod : IPrototype, IBiomeSpecificMod
|
||||
{
|
||||
[IdDataField]
|
||||
public string ID { get; private set; } = default!;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
||||
/// Affects the biome to be used for salvage.
|
||||
/// </summary>
|
||||
[Prototype("salvageBiomeMod")]
|
||||
public sealed class SalvageBiomeModPrototype : IPrototype, ISalvageMod
|
||||
public sealed partial class SalvageBiomeModPrototype : IPrototype, ISalvageMod
|
||||
{
|
||||
[IdDataField] public string ID { get; } = default!;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
||||
|
||||
[Prototype("salvageDungeonMod")]
|
||||
public sealed class SalvageDungeonModPrototype : IPrototype, IBiomeSpecificMod
|
||||
public sealed partial class SalvageDungeonModPrototype : IPrototype, IBiomeSpecificMod
|
||||
{
|
||||
[IdDataField] public string ID { get; } = default!;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
||||
|
||||
[Prototype("salvageLightMod")]
|
||||
public sealed class SalvageLightMod : IPrototype, IBiomeSpecificMod
|
||||
public sealed partial class SalvageLightMod : IPrototype, IBiomeSpecificMod
|
||||
{
|
||||
[IdDataField] public string ID { get; } = default!;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
||||
/// Generic modifiers with no additional data
|
||||
/// </summary>
|
||||
[Prototype("salvageMod")]
|
||||
public sealed class SalvageMod : IPrototype, ISalvageMod
|
||||
public sealed partial class SalvageMod : IPrototype, ISalvageMod
|
||||
{
|
||||
[IdDataField] public string ID { get; } = default!;
|
||||
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
|
||||
|
||||
namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
||||
|
||||
[Prototype("salvageTemperatureMod")]
|
||||
public sealed class SalvageTemperatureMod : IPrototype, IBiomeSpecificMod
|
||||
public sealed partial class SalvageTemperatureMod : IPrototype, IBiomeSpecificMod
|
||||
{
|
||||
[IdDataField] public string ID { get; } = default!;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
||||
|
||||
[Prototype("salvageWeatherMod")]
|
||||
public sealed class SalvageWeatherMod : IPrototype, IBiomeSpecificMod
|
||||
public sealed partial class SalvageWeatherMod : IPrototype, IBiomeSpecificMod
|
||||
{
|
||||
[IdDataField] public string ID { get; } = default!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user