Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user