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,7 +6,7 @@ namespace Content.Server.Anomaly.Components;
/// This component is used for handling gas producing anomalies. Will always spawn one on the tile with the anomaly, and in a random radius around it.
/// </summary>
[RegisterComponent]
public sealed class GasProducerAnomalyComponent : Component
public sealed partial class GasProducerAnomalyComponent : Component
{
/// <summary>
/// Should this gas be released when an anomaly reaches max severity?
@@ -45,11 +45,11 @@ public sealed class GasProducerAnomalyComponent : Component
public float spawnRadius = 3;
/// <summary>
/// The number of tiles which will be modified.
/// The number of tiles which will be modified.
/// </summary>
[DataField("tileCount")]
public int tileCount = 1;
/// <summary>
/// The the amount the tempurature should be modified by (negative for decreasing temp)
/// </summary>