Refactor serialization copying to use source generators (#19412)

This commit is contained in:
DrSmugleaf
2023-08-22 18:14:33 -07:00
committed by GitHub
parent 08b43990ab
commit a88e747a0b
1737 changed files with 2532 additions and 2521 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.