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

@@ -6,12 +6,12 @@ using Robust.Shared.Containers;
namespace Content.Server.Ame.Components;
/// <summary>
/// The component used to make an entity the controller/fuel injector port of an AntiMatter Engine.
/// The component used to make an entity the controller/fuel injector port of an AntiMatter Engine.
/// Connects to adjacent entities with this component or <see cref="AmeShieldComponent"/> to make an AME.
/// </summary>
[Access(typeof(AmeControllerSystem), typeof(AmeNodeGroup))]
[RegisterComponent]
public sealed class AmeControllerComponent : SharedAmeControllerComponent
public sealed partial class AmeControllerComponent : SharedAmeControllerComponent
{
/// <summary>
/// The id of the container used to store the current fuel container for the AME.

View File

@@ -5,7 +5,7 @@ namespace Content.Server.Ame.Components;
/// TODO: network and put in shared
/// </summary>
[RegisterComponent]
public sealed class AmeFuelContainerComponent : Component
public sealed partial class AmeFuelContainerComponent : Component
{
/// <summary>
/// The amount of fuel in the jar.

View File

@@ -8,7 +8,7 @@ namespace Content.Server.Ame.Components;
/// Packaged AME machinery that can be deployed to construct an AME.
/// </summary>
[RegisterComponent]
public sealed class AmePartComponent : Component
public sealed partial class AmePartComponent : Component
{
/// <summary>
/// The sound played when the AME shielding is unpacked.

View File

@@ -9,7 +9,7 @@ namespace Content.Server.Ame.Components;
/// </summary>
[Access(typeof(AmeShieldingSystem), typeof(AmeNodeGroup))]
[RegisterComponent]
public sealed class AmeShieldComponent : SharedAmeShieldComponent
public sealed partial class AmeShieldComponent : SharedAmeShieldComponent
{
/// <summary>
/// Whether or not this AME shield counts as a core for the AME or not.