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

@@ -3,7 +3,7 @@
namespace Content.Shared.Anomaly.Effects.Components;
[RegisterComponent]
public sealed class ElectricityAnomalyComponent : Component
public sealed partial class ElectricityAnomalyComponent : Component
{
/// <summary>
/// The maximum radius of the passive electrocution effect

View File

@@ -6,7 +6,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
namespace Content.Shared.Anomaly.Effects.Components;
[RegisterComponent]
public sealed class EntitySpawnAnomalyComponent : Component
public sealed partial class EntitySpawnAnomalyComponent : Component
{
/// <summary>
/// A list of entities that are random picked to be spawned on each pulse

View File

@@ -3,7 +3,7 @@
namespace Content.Shared.Anomaly.Effects.Components;
[RegisterComponent, NetworkedComponent, Access(typeof(SharedGravityAnomalySystem))]
public sealed class GravityAnomalyComponent : Component
public sealed partial class GravityAnomalyComponent : Component
{
/// <summary>
/// The maximumum size the GravityWellComponent MaxRange can be.

View File

@@ -1,7 +1,7 @@
namespace Content.Shared.Anomaly.Effects.Components;
[RegisterComponent]
public sealed class PyroclasticAnomalyComponent : Component
public sealed partial class PyroclasticAnomalyComponent : Component
{
/// <summary>
/// The maximum distance from which you can be ignited by the anomaly.

View File

@@ -6,7 +6,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
namespace Content.Shared.Anomaly.Effects.Components;
[RegisterComponent]
public sealed class TileSpawnAnomalyComponent : Component
public sealed partial class TileSpawnAnomalyComponent : Component
{
/// <summary>
/// The maximum radius of tiles scales with stability