Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user