Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization;
|
||||
namespace Content.Shared.Atmos.Components;
|
||||
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class GasAnalyzerComponent : Component
|
||||
public sealed partial class GasAnalyzerComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
public EntityUid? Target;
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.Utility;
|
||||
namespace Content.Shared.Atmos.Components;
|
||||
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class GasTileOverlayComponent : Component
|
||||
public sealed partial class GasTileOverlayComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The tiles that have had their atmos data updated since last tick
|
||||
|
||||
@@ -3,7 +3,7 @@ using Robust.Shared.Utility;
|
||||
namespace Content.Shared.Atmos.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class PipeAppearanceComponent : Component
|
||||
public sealed partial class PipeAppearanceComponent : Component
|
||||
{
|
||||
[DataField("sprite")]
|
||||
public SpriteSpecifier.Rsi Sprite = new(new("Structures/Piping/Atmospherics/pipe.rsi"), "pipeConnector");
|
||||
|
||||
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization;
|
||||
namespace Content.Shared.Atmos.Components;
|
||||
|
||||
[NetworkedComponent]
|
||||
public abstract class SharedMapAtmosphereComponent : Component
|
||||
public abstract partial class SharedMapAtmosphereComponent : Component
|
||||
{
|
||||
[ViewVariables] public SharedGasTileOverlaySystem.GasOverlayData OverlayData;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user