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

@@ -7,7 +7,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
namespace Content.Shared.Cargo.Components;
[RegisterComponent]
public sealed class CargoBountyConsoleComponent : Component
public sealed partial class CargoBountyConsoleComponent : Component
{
/// <summary>
/// The id of the label entity spawned by the print label button.

View File

@@ -8,7 +8,7 @@ namespace Content.Shared.Cargo.Components;
/// Present on cargo shuttles to provide metadata such as preventing spam calling.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(SharedCargoSystem))]
public sealed class CargoShuttleComponent : Component
public sealed partial class CargoShuttleComponent : Component
{
/// <summary>
/// The paper-type prototype to spawn with the order information.

View File

@@ -11,7 +11,7 @@ namespace Content.Shared.Cargo.Components;
/// Handles teleporting in requested cargo after the specified delay.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(SharedCargoSystem))]
public sealed class CargoTelepadComponent : Component
public sealed partial class CargoTelepadComponent : Component
{
/// <summary>
/// The base amount of time it takes to teleport from the telepad