Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Content.Server.Power.Generator;
|
||||
/// This is used for chemical fuel input into generators.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(GeneratorSystem))]
|
||||
public sealed class ChemicalFuelGeneratorAdapterComponent : Component
|
||||
public sealed partial class ChemicalFuelGeneratorAdapterComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The acceptable list of input entities.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/// This is used for stuff that can directly be shoved into a generator.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(GeneratorSystem))]
|
||||
public sealed class ChemicalFuelGeneratorDirectSourceComponent : Component
|
||||
public sealed partial class ChemicalFuelGeneratorDirectSourceComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The solution to pull fuel material from.
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Content.Server.Power.Generator;
|
||||
/// This is used for providing gas power to machinery.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(GasPowerReceiverSystem))]
|
||||
public sealed class GasPowerReceiverComponent : Component
|
||||
public sealed partial class GasPowerReceiverComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Past this temperature we assume we're in reaction mass mode and not magic mode.
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Content.Server.Power.Generator;
|
||||
/// This is used for allowing you to insert fuel into gens.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(GeneratorSystem))]
|
||||
public sealed class SolidFuelGeneratorAdapterComponent : Component
|
||||
public sealed partial class SolidFuelGeneratorAdapterComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The material to accept as fuel.
|
||||
|
||||
Reference in New Issue
Block a user