Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -2,7 +2,7 @@ namespace Content.Client.Explosion;
|
||||
|
||||
[RegisterComponent]
|
||||
[Access(typeof(ClusterGrenadeVisualizerSystem))]
|
||||
public sealed class ClusterGrenadeVisualsComponent : Component
|
||||
public sealed partial class ClusterGrenadeVisualsComponent : Component
|
||||
{
|
||||
[DataField("state")]
|
||||
public string? State;
|
||||
|
||||
@@ -3,7 +3,7 @@ using Robust.Client.Graphics;
|
||||
namespace Content.Client.Explosion;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class ExplosionVisualsTexturesComponent : Component
|
||||
public sealed partial class ExplosionVisualsTexturesComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Uid of the client-side point light entity for this explosion.
|
||||
|
||||
@@ -3,4 +3,4 @@ using Content.Shared.Explosion;
|
||||
namespace Content.Client.Explosion;
|
||||
|
||||
[RegisterComponent, Access(typeof(TriggerSystem))]
|
||||
public sealed class TriggerOnProximityComponent : SharedTriggerOnProximityComponent {}
|
||||
public sealed partial class TriggerOnProximityComponent : SharedTriggerOnProximityComponent {}
|
||||
|
||||
Reference in New Issue
Block a user