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

@@ -1,7 +1,7 @@
namespace Content.Client.Power.SMES;
[RegisterComponent]
public sealed class SmesComponent : Component
public sealed partial class SmesComponent : Component
{
/// <summary>
/// The prefix used for the RSI states of the sprite layers indicating the charge level of the SMES.
@@ -9,7 +9,7 @@ public sealed class SmesComponent : Component
[DataField("chargeOverlayPrefix")]
[ViewVariables(VVAccess.ReadWrite)]
public string ChargeOverlayPrefix = "smes-og";
/// <summary>
/// The prefix used for the RSI states of the sprite layers indicating the input state of the SMES.
/// Actually bundled together with the output indicator light.
@@ -17,7 +17,7 @@ public sealed class SmesComponent : Component
[DataField("inputOverlayPrefix")]
[ViewVariables(VVAccess.ReadWrite)]
public string InputOverlayPrefix = "smes-oc";
/// <summary>
/// The prefix used for the RSI states of the sprite layers indicating the output state of the SMES.
/// Actually bundled together with the input indicator light.